0

Inject Free Text into a Present Action

Purpose 

Use this pattern when a dashboard user needs to type free text, such as a note or instruction, and pass it into an action. The flow uses a global free-text parameter, a custom model column, a drop-down filter, and the Captions function in the action. 

Procedure 

  1. Create a global parameter:
    1. Type: Free text 
    2. Validation: None 
    3. Default value: text here (you can use whatever works for you) 
       
  2. In Formulate, create a custom column:
    1. Add it to the smallest relevant table. 

    2. Name it “Text For Action Column” (you can choose something else). 

    3. Set the column value to the global parameter. 

  3. In the presentation, add an item from which the action is done (in this case – a blue rectangle) and add an action (I will use a URL action for this example). 

  4. In the presentation, add the free-text parameter (you can drag it from the content tab – red arrow bellow) 

  5. Add a drop-down filter based on Text For Action Column (blue arrow): 

  6. Create an interaction from the parameter to the column filter. 

  7. Create an interaction from the column filter to the action component: 

  8. In the action, use the Captions function to inject the selected filter caption: 

  9. Hide the column filter so you only see the free text parameter in the present. 

Result 

When the user enters text in the parameter, the value is passed through the filter and can be used inside the action: 

 

Reply

null

Content aside

  • 10 hrs agoLast active
  • 15Views
  • 1 Following