Select to view content in your preferred language

Configuring the Like option in Reporter Instant app

1715
15
Jump to solution
09-12-2024 07:07 AM
MattCobb
Emerging Contributor

Has anyone had success configuring the "Like" option in the Reporter instant app?  I have a simple point layer for users to add a location of the POI, a text-entry field for supporting details, and an integer field 'NumLikes' to capture the Likes in the app.  I also have my related table to store the Comments submitted in the Reporter app for previously submitted records.

The issue is, when users go to submit a new point in the app, the 'NumLikes' field appears in the edit window.  I have it removed from the Pop Up in the map, I have disabled editing the field in the layer's Data window, so I'm not sure why it persists.  

Curious to see what the Community has found to work for this App, as I think it could be a great option for a simple public input app.

0 Kudos
1 Solution

Accepted Solutions
SubaKrishnan
Esri Contributor

@MattCobb You'll need to configure the form for controlling the field that appear in submit report form. Please try that and let me know if you have any issues. 

View solution in original post

15 Replies
SubaKrishnan
Esri Contributor

Hi @MattCobb Your description sounds good to me and when you remove a field from the popup it will not (should not) appear on the form.  I'd suggest turning back on editing for that field, and open the config again and re-publish the app. 

 

0 Kudos
MattCobb
Emerging Contributor

Thanks for the reply, I enabled editing for the 'NumLikes' field, reopened the Instant App config, made sure the Like option was enabled and pointing to the correct field, and re-published.  But unfortunately, the NumLikes field still is showing when adding a new point, except now it is editable.  See the attached image.

0 Kudos
SubaKrishnan
Esri Contributor

@MattCobb You'll need to configure the form for controlling the field that appear in submit report form. Please try that and let me know if you have any issues. 

jewa
by
Emerging Contributor

I'm having the same issue, did you find a solution? Thanks!

0 Kudos
MattCobb
Emerging Contributor

Hi @jewa , the solution ended up being what was suggested by @SubaKrishnan above, to configure the Form in the Map Viewer, rather than just the Pop Up, similarly to how a form would be configured in Field Maps.

0 Kudos
ErikBreedon
Regular Contributor

I'm also having trouble configuring likes/dislikes to appear from the related table. Where can I find details about how to configure form in the map viewer? I tried the videos from Esri Canada and they didn't solve the issue. I've been struggling with this all day trying to get it working.

0 Kudos
SubaKrishnan
Esri Contributor

Hi @ErikBreedon, does your layer have a numeric field?  Did you turn on like and dislike field from config and choose the field to store the values? The field has to be in the layer and not table.

You can read through this blog for more info 

https://www.esri.com/arcgis-blog/products/instant-apps/constituent-engagement/arcgis-instant-apps-in...

0 Kudos
AneteZvaigzneLV
Regular Contributor

Sorry, I could not find any straightforward steps on how to enable ‘Like’ and ‘Dislike’ capability to collect feedback on the existing reports. Would appreciate a blog with the necessary config. Thanks so much in advance!

0 Kudos
SubaKrishnan
Esri Contributor

Hi @AneteZvaigzneLV  Here are the steps and it's very easy to configure:

  1. Open the app's configuration
  2. Click 'Reports' tab on the left, click Panel options
  3. Expand the layer where you'd like to enable Like and Dislike.
  4. Toggle on the feature and choose a numeric field to store the values.

The feature layer must have a numeric field to store it otherwise the feature can't be enabled. 

SubaKrishnan_1-1747061071135.png

Things to try:

  1. Try updating the numeric field in the attribute table in map viewer to see if it's working.
  2. Check for console errors, if you see any errors as you click on the like button in the app. Pls share if you get any errors. 

If you still have issues, please send me a DM with an app link or you can open a support ticket through Esri Support website. Hope this helps. Thank you!

0 Kudos