Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. In the Comments dashboard header, click Static Text and enter Comment for.
  2. Click the Dynamic Text to open its properties tab and set Name to BusinessName. This will connect to a context parameter - to be set laterthat will be created in Step 5.4.

Step 5.  Link the Comments area to the Comments Editor dashboard.

  1. Ensure the Business Data Manager dashboard is visible and unlocked.
  2. In the repository → Dashboards, drag CommentEditor onto the + button, which is in the top right of the comments box.
    This automatically creates an Action called CommentEditor in the repository. 
  3. To test this works, lock the dashboard and click the + button. PhixFlow opens the Comment editor. Close the Comment Editor again and unlock the layout.
  4. To create context parameters that connect the Comment area to the selected record:
    1. drag the UID header from the Business Data grid onto the Comments + button.  PhixFlow automatically opens a context parameter properties tab. Change the name to BusinessUID and save the properties.
    2. drag the Name header from the Business Data grid onto the Comments + button. PhixFlow automatically opens a context parameter properties tab. Change the name  to BusinessUID and save the properties.

      Tip

      The context parameters must have the same name as the Dynamic Text field on the dashboard in order to link them


  5. To test your changes, lock the dashboard and click the + button. PhixFlow opens the Comment editor. The dynamic text part of the header should now include the business name for the selected record.
  6. To see what context parameters are being used, right-click the Comments Editor dashboard and select Show Context Parameters. YOu can see that you are passing the Business Name and Business UID to the Comment Editor dashboard. Close the context parameter list and the Comment Editor dasboard.

Set up something for Link the Comment area to the UID

  1. In the Repository Actions, right-click CommentEditor and click Edit to open the action properties. (This action was created automatically automatically in step 5.2.)
  2. Change the Name to NewComment.
  3. Expand the Context Parameters section and click 
    Insert excerpt
    _add
    _add
    nopaneltrue
    .
  4. In the context parameter properties, set
  5. Name: UID
  6. Expression: _NULL
  7. Save the context parameter properties.
  8. Save the action properties.
  9. In the dashboard Comments area, click + to open the Comment Editor. You can now type into the comment field. Notice the footer automatically changes the buttons in response to having a comment. This is controlled by the conditional formatting for the footer and buttons on it.
  10. As the Comments Editor is designed to edit existing comments. The controls to add new and delete will be in the Comments area. This means you do not need the New and Delete button on the Comment Editor dashboard. 
  11. unlock the dashboard
  12. Right-click the New button and select Delete.
  13. Right-click the Delete button and select Delete.
  14. Lock the layout and close the comments editor.


From the repository, drag Dashboard → CommentEditor onto the comments edit button







  1. Set the Tile Container to row.
  2. Set widths:

...