Some FAQs I had about the Citizen Problem Reporter Solution

8267
63
07-26-2017 08:49 AM
KateKeeley
New Contributor III

I have spent some time this month trying to understand how the Citizen Problem Reporter solution works There are a lot of basic questions I had that I couldn't find answers to on the Get Started page or elsewhere on the world wide web. 

I thought I'd share some of the answers I've figured out with the automated deployment of the Citizen Problem Reporter Solution and see if anyone else has other questions/solutions!

Question

Answer

Why do I only see "Configured group is invalid or no items have been shared with this group yet." on my Reporter application?

This has to do with the fact that the configured group does not contain at least one map with at least one editable layer that is accessible to the current user. If the group does contain an editable map with an editable layer, then check the sharing. It may be that you haven't updated the sharing of the group or if you have, perhaps you are not Signing In with the proper account -- Sign in with ArcGIS if it isn't shared publicly. I kept trying to sign-in as Guest longer than I care to admit.

Why can't I see the image tab on a selected report in the Citizen Problem Manager?

This tab is only visible when the selected report contains at least one image attachment, or images and charts defined as part of the popup configuration.‎

Why can't the user attach photos to reports?

Attachments aren't enabled. When you do this process automatically, the layers are automatically uploaded to AGO. The attachment section of the form where photos and other supporting files can be added to the report is only available when attachments are enabled on the layer.‎ This can be easily done by going to the feature layer in AGO and clicking "Enable Attachments".

Enabling attachments on feature layer on AGO

How do I add fields in the form of the Reporter?

  1. Open ArcGIS Pro.
  2. Go to the Share tab and click on the ArcGIS Solutions button.
  3. The Task Pane will open. Click Configure an ArcGIS Solution.
  4. The first step is Adding Fields (note: you can skip this step).
  5. For Input Table, navigate to My Content and click the published feature layer that you want to add the field to. You have the option to select the Report Layer or the Comment Table for the this. Which form are you editing? What the person reporting sees (Report Layer) or what the person commenting on the report sees (Comment Table)?
  6. Give it a Field Name, define the Field Type, and Field Alias.
  7. Check if you want it to be required.
  8. The Field Domains field is for if you already have domains created.
    If you want to create domains, that is in the next step.
  9. Click Run.
  10. Once the Run finishes, you may continue adding fields, or move on to
    the
    Next Step.
  11. Here you can Modify Domains. If you want a field to be a drop down menu, configure some Field Domains! If you don't want it to be drop down (and, instead, just a field) Skip this part.
  12. Now navigate to the map on AGO the feature layer is on (for example the Snow/Ice feature layer will be on the Snow/Ice Problems Web Map)
  13. Click on the three dots next to the layer of the form you want to edit and click on Configure Pop-up (for example, if you  want to edit the form that commenters see, do this for the Snow/Ice Complaint Comments Table
  14. Then ensure that the Display and Edit check boxes are checked for the fields you want to display and edit. Here you can also change its alias, change the order of it, and format it.

    How do I delete fields in the form of the Reporter?

    Open ArcGIS Pro. Add the Report Layer or Comment Table that the field is located in
    to the map and open its attribute table. Right click the field you want
    to remove. Click delete.

    How do I turn off fields in the form of the Reporter?

    If you don't want to display a field, but you aren't ready to delete it, go to the AGO web map that the layer is on. Go to Configure Pop-Up and then click Configure Attributes and just uncheck the Display.

    Why can't the user edit the fields in the form?

    First, when you are creating the field in the Configuration Task via ArcGIS Solutions, it's vital that you give the field a Field Length. The other issue may be that editing isn't enabled on the layer or in the pop-up. When you are in the AGO web map, Configure Pop-Up and then click Configure Attributes  and ensure that the Editing box is checked in addition to the Display check box.

    How can manipulate how every report/comment looks?

    As far as I can't tell, you can't change the look of the form itself. However, once the report/comment is posted, you can change how this looks. This again happens in the AGO Web Map layer pop-up. When you go to Configure Pop-Up you have a few options. Under Pop-up Contents --> Display dropdown, change it to A custom attribute display --> then CONFIGURE. Here, you can add your own text and pull information from the report/comment fields (by clicking the + box; see image below).  Scroll to the bottom where it says Pop-up Media. Here you can add a standard image/chart to all of the posted reports/comments.

    How do I change colors and text in the Reporter?

    IMPORTANT NOTE: it is highly recommended that when these changes are made to Reporter maps/layers/applications, they are also made to the respective maps/layers/applications in the Manager for consistency and clarity purposes.

    Change things on Reporter pages

    # In Pic Above

    Description

    Website to go to

    Thing to change

    1

    Application Logo

    Configure the Reporter Web App

    Theme tab --> Application logo --> Paste link here

    2

    Application Title

    Configure the Reporter Web App

    General tab --> Application title
    Theme tab --> Header text color

    3

    Header Color

    Configure the Reporter Web App

    Theme tab --> Header background color

    4

    Basemap

    Configure the specific AGO Web Map for the issue category (in this case you are configuring the Animal Control Problems map; it's the first map that pops on the Reporter).

    You can also add any layers you want and they'll show up.

    5

    Symbology

    Configure the AGO Web Map for the issue category

    --> You can have one symbol for all the reports in the issue category, or have a different one for each type of problem (change this in the Style window Choose an attribute to show; either show location only or choose an attribute such as Type of Problem) --> Click options to define the symbol you want to use.

     

    Note: it doesn't appear that the heatmap option works.

    6

    Issue Category Image

    Configure the Item Details of the issue category Web Map

    Edit the Thumbnail of the map

    7

    Issue Category Name

    Configure the Item Details of the issue category Web Map

    Edit the title of the map

    8

    Issue Category Description

    Configure the Item Details of the issue category Web Map

    Edit the Summary and Description of the map

    9

    Issue Category Pane Color

    Configure the Reporter Web App

    Theme tab --> Body Background Color

     

    Change things on Reporter pages

    # In Pic Above

    Description

    Website to go to

    Thing to change

    1

    Issue Category title

    Configure the specific AGO Web Map for the issue category

    Rename the feature layer in it

    2

    Report Title

    Configure the specific AGO Web Map for the issue category

    Configure the pop-up title for the layer. You can make the title be based on static text or dynamic text based on the report

     

    Change things on Reporter pages

     

    # In Pic Above

    Description

    Website to go to

    Thing to change

    1

    Response after a citizen reports a report

    Configure the Reporter Web App

    Form tab --> Submission Message --> write your message in the box

    2

    Form fields

    Configure the specific feature layers & AGO web maps

    See FAQ questions and answers:

    How do I add fields in the form of the Reporter?

    How do I delete fields in the form of the Reporter?

    How do I turn off fields in the form of the Reporter?

    3

    Report It Button

    Configure the Reporter Web App

    Theme tab --> Button text color and button background color

    Do you have other solutions or questions? I'd love to hear them!

    63 Replies
    AshlieHildebrand
    New Contributor

    Does anyone know where you set up the default values for the "Category" field in the Citizen Problem Reporter?

    I had to create my own views of "Citizen Problems" so that I could update the domains on the views. I tried to copy all the settings using the Views and Maps that were deployed with the solution but I can't seem to figure out why when I add a point using the Reporter App, it's not displaying the point because the "Category" field is blank. When I look at one of the Views that was created with deployment there is no default value set....how does it get in there?! When I add a untouched map from the deployment it works, but if i try to add one that I modified it doesn't. I have too be missing a setting somewhere but I can't seem to find it! Any thoughts anyone?

     

    Thanks, 

    Ashlie

    Reply
    0 Kudos
    ChrisFox
    Esri Regular Contributor

    Hi Ashlie,

    The Crowdsource Reporter application uses the editing feature template associated with the layer to set the default value when creating a new feature. So you will need to update the view's feature template to set the default value for the Category field. To do this:

    1. In the CitizenProblems layer update the Category domain to add your new value
    2. Create a view of the CitizenProblems layer for your new category.
    3. Add your view to a new web map with full editing control
    4. Change the symbology to location only - single symbol
    5. Click Edit and at the bottom of the Add Features panel click Manage
    6. Click the dropdown next to your Feature Template and select Properties
    7. Select the category for the view and ensure status is set to Submitted and click Done
    8. Click Save Changes to update the feature template.

    -Chris

    Reply
    0 Kudos
    AshlieHildebrand
    New Contributor

    Hi Chris -

    Thank you for the suggestion. Yes I have looked at the options under the symbology. The views that are created with the deployment have this Edit Template that I can see that looks like an "Location only template" If I look at the JSON I can see that it has the Default Values for "Category", "Public View" and "Status". However, it is also displaying them by "Status". I can't seem to figure out how the Edit template is different from the Style. Style is set to display by "Status", but under the edit tab it shows a single black dot and I can't see or modify the properties.....

    I can't seem to replicate this when I create a new view from the original Citizen Problems hosted layer. If I change the Style to view by Status the edit template changes as well. If I try to update the Defaults for the "Submitted" Style to include the Category it doesn't work. 

    Ashlie

    Reply
    0 Kudos
    ChrisFox
    Esri Regular Contributor

    Hi Ashlie,

    Yes, the web map viewer makes this a little confusing. It will override the feature templates defined on the layer in the feature service to match the symbology in the map. Citizen Problem Reporter, however, will honor the template defined on the layer in the feature service. So you can temporarily change the symbology in the web map to single symbol just so you can edit the feature template on the service, you can then change the symbology back without impacting the feature service template and Problem Reporter should behave as expected.

    If you would prefer this is actually easier to do through the REST admin api on the feature service:

    • Go to the REST end point of the service and in the url between rest/services add admin, /rest/admin/services/ and hit enter
    • At the bottom of the page, click updateDefinition
    • Copy the JSON below and paste it over all the JSON in the Update Layer Definition box. You can replace "My Category" with the category you want to use.
    • Click Update Layer Definition

    {
    "templates" : [
    {
    "name" : "Problem Report",
    "description" : "",
    "drawingTool" : "esriFeatureEditToolPoint",
    "prototype" : {
    "attributes" : {
    "category" : "My Category",
    "publicview" : "Yes",
    "status" : "Submitted"
    }
    }
    }
    ]
    }

    Reply
    0 Kudos
    GISADMIN5
    New Contributor

    I have also been wanting to publish this solution out for my community, but have been left in the dark as well when trying to find information on how to set it up properly. I think ESRI needs to start publishing more step by step instructions on how to set up these solutions, instead of having people struggle with them. These solutions can be of great help, but there needs to be more tutorials either in written form or via Youtube. Sorry had to vent a little, lol! Come on ESRI, you can do better than this!

    MarkBennett
    New Contributor III

    Hi Kate,

    This post is very helpful for someone (like me) just started to use the Reporter! 

    Is there anyway to change the background image for the start-page. currently it is a cityscape  showing downtown buildings. I am intended to use the Report for a rural area and preferred to use a picture of countryside. I flipped trough the configure pages and did not found a place to change the background image. I noticed that the image is stored as "https://www.arcgis.com/apps/CrowdsourceReporter/images/signinbg.png". However, I don't know how to change it?! Is it possible to change it and how?

    Thanks,

    Ming

    Reply
    0 Kudos
    RebeccaLehman
    Esri Contributor

    Hi Ming Zhang follow the instructions here to change the splash screen. https://doc.arcgis.com/en/web-appbuilder/create-apps/widget-splash.htm

    Reply
    0 Kudos
    MarkBennett
    New Contributor III

    Hi Rebecca, I tried it yesterday and it works. Thanks!

    Ming

    Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10

    BrianHiller
    Occasional Contributor

    How do you change the problem types on the Citizen problem reporter. When deployed using the solution deployment tool, the primary feature layer does not have a domain on the problem type field however the hosted views that are created each have what appears to be a domain or list of problem types.

    Reply
    0 Kudos
    ChrisFox
    Esri Regular Contributor

    Hi Brian, 

    It is possible to change the domains of hosted feature layer views, but it is not exposed in the ArcGIS Online UI yet. We provide a Modify Domains tool with the ArcGIS Solution Deployment add-in in ArcGIS Pro that can be used to do this. This process is described in the Modify problem types and responsible agencies below:

     

    https://www.esri.com/content/dam/esrisites/en-us/media/pdf/learn-arcgis/configuring-citizen-problem-...

    Reply
    0 Kudos