Select to view content in your preferred language

Story Map Crowdsource stable release

669
1
Jump to solution
11-22-2016 05:49 AM
LauraBertran
Occasional Contributor

Hello everyone,

I created an app using the crowdsource builder, and I have modified some components outside the builder by adding some extra fields. I used the ago-assistant to modifiy the json to do so.

The app works fine, but my concern is whether it will keep working fine after a final release (not beta) is launched. I would like to know if the feature layer content will be intact, and if I will be able to add the extra fields later to keep them.

I would also like to know if there is an estimated date for the final release.

Thank you in advance!

0 Kudos
1 Solution

Accepted Solutions
StephenSylvia
Esri Regular Contributor

At this time, we can only support apps that have been fully created using the builder. There is a chance that modification made outside the builder will break with a future update. To be sure that updates do not break your published story, you can download the source code and host it on your own server. Then you can manually update the code when new version are released to see if they break your story before pushing the update to your server. The source code for the app is available here: https://github.com/Esri/storymap-crowdsource.

Also, just adding new fields with the AGO assistant is probably not enough. In order to add additional fields, you’ll need to do the following:

  1. Add the additional fields to the feature service definition that the builder creates: https://github.com/Esri/storymap-crowdsource/blob/master/src/app/store/reducers/items/featureService...
  2. Then in the feature service application configuration, you’ll need to add a new settings object for each you field: https://github.com/Esri/storymap-crowdsource/blob/master/src/app/builderOptions.babel.js#L6. The key must be the field name from the feature service. These settings help determine how the form looks and how it should be displayed.
  3. Currently, the form understands text, textarea, location, and photo. If you need a different input type (such as a select input), you will need to add additional type checking and code to this file: https://github.com/Esri/storymap-crowdsource/blob/master/src/app/components/contribute/form/Crowdsou...
  4. If you have a special way you need to save data back to the feature service, you can modify the save method here: https://github.com/Esri/storymap-crowdsource/blob/master/src/app/controllers/contribute/ContrbuteCon....
  5. Finally, to customize the template used when displaying a selected point, you can modify this file: https://github.com/Esri/storymap-crowdsource/blob/master/src/app/components/selectedShares/SelectedD....

At this time we do not have a release date planned for the final version of the Crowdsource App.

View solution in original post

0 Kudos
1 Reply
StephenSylvia
Esri Regular Contributor

At this time, we can only support apps that have been fully created using the builder. There is a chance that modification made outside the builder will break with a future update. To be sure that updates do not break your published story, you can download the source code and host it on your own server. Then you can manually update the code when new version are released to see if they break your story before pushing the update to your server. The source code for the app is available here: https://github.com/Esri/storymap-crowdsource.

Also, just adding new fields with the AGO assistant is probably not enough. In order to add additional fields, you’ll need to do the following:

  1. Add the additional fields to the feature service definition that the builder creates: https://github.com/Esri/storymap-crowdsource/blob/master/src/app/store/reducers/items/featureService...
  2. Then in the feature service application configuration, you’ll need to add a new settings object for each you field: https://github.com/Esri/storymap-crowdsource/blob/master/src/app/builderOptions.babel.js#L6. The key must be the field name from the feature service. These settings help determine how the form looks and how it should be displayed.
  3. Currently, the form understands text, textarea, location, and photo. If you need a different input type (such as a select input), you will need to add additional type checking and code to this file: https://github.com/Esri/storymap-crowdsource/blob/master/src/app/components/contribute/form/Crowdsou...
  4. If you have a special way you need to save data back to the feature service, you can modify the save method here: https://github.com/Esri/storymap-crowdsource/blob/master/src/app/controllers/contribute/ContrbuteCon....
  5. Finally, to customize the template used when displaying a selected point, you can modify this file: https://github.com/Esri/storymap-crowdsource/blob/master/src/app/components/selectedShares/SelectedD....

At this time we do not have a release date planned for the final version of the Crowdsource App.

0 Kudos