The manage comments screen template enables you to manage comments within your app. If your app allows comments and will be deployed to the public app stores we recommend adding this screen to your app. This article will explain how to set up the manage comments screen template.

Get started

  1. Add the screen template
  2. Configure the data source
  3. Configure the JavaScript
  4. Test the screen

Step 1 – Add the screen template

  1. Add the “Manage comments” screen template to your app using the ‘Add screen’ button
  2. Click on the Lists tab
  3. Select the manage comments screen and click “add 1 new screen”
  4. Enter a screen name and select “add screen”

Step 2 – Configure the data source

  1. The data source attached to the list of comments will need to be updated to the comments data source.
  2. To find this, you will need to review the app data and find the data source that includes the comments for your list
  3. Select the comments to open the settings
  4. Click the blue “change” option
  5. Select the data source that contains the comments
  6. Select configure security rules if necessary
  7. Save & Close

Step 3 – Configure the JavaScript

  1. With the manage comments screen open, open the developer options by selecting the </> icon on the right-hand side
  2. Click tabs, and view the Javascript
  3. Line 3 will need to be updated to include the ID of the data source attached to the list where the user can comment. For example, if you have a news feed that enables comments you need to include the ID of the attached data source. 
  4. To find the data source ID click the app data icon on the right-hand toolbar to view a list of your apps data sources and their ID’s
  5. Once you have added your ID click save and run

Step 4 – Test the screen

  1. To test your screen, switch to preview mode
  2. Go to your list and leave a test comment
  3. Switch back to the manage comments screen, and select your comment
  4. Choose delete
  5. Return to the list to confirm the comment has been deleted