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&¢e... 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.
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.
Thanks for replying @Allen_Zhang but I have the same issue as this user writes about here. Namely:
Again, this is easily possible with S123 and Field Maps URL parameters. This type of integration between business systems is not uncommon and the inability of ExB edit widget to allow it to consume URL parameters is baffling...
I would have to agree with @ahargreaves_FW. I have numerous cases where I have non-spatial hosted feature tables and in some instances related tables off those hosted tables and have no easy way to add/edit those records.
As an example, I have a project table (hosted feature table) with two related tables for inspectors and pay items. They all feed data into a survey that an inspector fills out daily, and by choosing the project name in a dynamic dropdown list based on the projects table, several bits of data pre-populates using pulldata() commands.
However, I need an easy way for someone to manage the projects table and associated related tables... User can add a new project and in the related tables define the inspector(s) and pay items for that project. I feel like ExB should have that capability but it simply does not, or I can't figure out a way. I don't want to generate and maintain another survey123 form to accomplish this.
Sounds reasonable.
If the data and the edit widget are in a same app, transferring data to the edit widget is more like a "message action" rather than passing url parameters.