I am trying to configure the My Government Services app to access data from a service that has periods in the field name. All of the other services that do not have periods in their field names are working as expected. Recreating the layer and changing the field names would be a last resort.
Has anyone else found a workaround to this problem? I found this discussion - accessing fields with periods in field names but can't figure out how to apply this to the My Government Services app.
Hi Cody,
If you open the config.js file, you should be able to edit the field names there. You will need to update each FieldName option. Ex:
Hi Jake,
I've edited my config.js file with the the fields I want shown. This is working correctly in the app for all of my services except the one that has periods in its field names.
I believe the code that needs to be changed is in the carousel.js file here:
attribute_switch = dojo.string.substitute(service.FieldNames.Field, feature.attributes);