Select to view content in your preferred language

Pass URL parameters into Edit Widget?

182
1
a month ago
Labels (1)
ahargreaves_FW
Frequent Contributor

Hello,

We currently have a ArcGIS Portal v11.3 ExB app that contains an address point layer. The popups for this include a URL like that shown below, which pass the user out to a S123 browser form. The S123 form creates a new feature in a 'maintenance report' layer and prepopulates it with attribute values from the address point:

https://survey123.arcgis.com/share/xyzxyzxyzxyzxyz?portalUrl=https://xyzxyzxyzxyzx.org/portal&&cente... ST&field:MAINT_YARD=NORTH&field:GRIDSQ=057-4&field:SUPERVISOR=john doe

I would like to move away from having to maintain the S123 form and instead pass the attributes directly into an ExB form in the same app. Is this possible? I can do something very similar all within FieldMaps using the 'referenceContext' parameter but not here. This has also been asked before here without answer.

0 Kudos
1 Reply
Allen_Zhang
Frequent Contributor

Hi @ahargreaves_FW . I think this is about the different positions of products.

S123 and FieldMaps are both designed to collect data with a single form. So, taking in URL parameters to create a new record might be a common functionality for them.

However, ExB aims to create apps with multiple widgets, and the Edit widget is designed to interact with other widgets (such as a Table or a Map).

You could try embedding the S123 into the ExB app using an Embed widget to achieve integration.

Or you can develop an ExB custom widget to get a more fluent workflow of adding features to the layer.

Please let me know if you need any further assistance with the custom widgets.

0 Kudos