Select to view content in your preferred language

Add Feature URL in Experience Builder

251
3
Jump to solution
a month ago
MappingMoose
Occasional Contributor

Hi All,

We like to use the add feature URL set up in Field Maps so that we can push information from an existing feature into a new feature a user is creating without having to run a lot of Arcade for each individual question in the form. There are not formal relationships in this scenario.

I'm needing to create a similar workflow now in the Experience Builder desktop application and I was wondering if adding a new feature through the edit widget using a custom URL is possible at all.

Would anyone be able to let me know where I could find information on this? Right now I'm trying to figure out what the Field Maps URL should be replaced with to perform the add through the edit widget in EB instead.

0 Kudos
2 Solutions

Accepted Solutions
AlixVezina
Esri Regular Contributor

Hi @MappingMoose , Survey123 supports URL parameters for filling out attributes. You could embed a survey in Experience Builder (Embed widget) using the survey URL and its parameters, and pass dynamic values for each parameter, so when you select data in your app it populates values in the new survey entry automatically based on the selected feature.

I do not believe this is currently supported for the Edit widget and the configured editing Form in that context I would recommend logging an enhancement request for this via Esri Support!

View solution in original post

MappingMoose
Occasional Contributor

Hi Alix, thanks for your reply!

I did end up having to go with Survey123 instead of using a Smart Form. Getting the new point the user was creating to default to the centre of the polygon they clicked proved to be a bit of a challenge due to the available Arcade profiles in desktop apps. I could have used a custom URL within the feature's pop-up, but I couldn't figure out how I could get that URL to launch within the Survey123 or Embed widget on the same page, instead of in a new tab/window. 

I decided I had to add fields for the centre X and Y of the polygon to be able to pass those as parameters into an embedded survey, as I couldn't find another way to do this in Experience Builder or Dashboards. The dedicated Survey123 widget within Experience builder came pretty close to what I needed, but I couldn't overcome the geometry issue. If it was point to point, I think that might have worked.

In summary, it was added coordinate fields + custom URL + embed widget that worked out (for anyone who encounters this post in the future).

Do I need to open a support case in order to log an enhancement request?

View solution in original post

3 Replies
AlixVezina
Esri Regular Contributor

Hi @MappingMoose , Survey123 supports URL parameters for filling out attributes. You could embed a survey in Experience Builder (Embed widget) using the survey URL and its parameters, and pass dynamic values for each parameter, so when you select data in your app it populates values in the new survey entry automatically based on the selected feature.

I do not believe this is currently supported for the Edit widget and the configured editing Form in that context I would recommend logging an enhancement request for this via Esri Support!

MappingMoose
Occasional Contributor

Hi Alix, thanks for your reply!

I did end up having to go with Survey123 instead of using a Smart Form. Getting the new point the user was creating to default to the centre of the polygon they clicked proved to be a bit of a challenge due to the available Arcade profiles in desktop apps. I could have used a custom URL within the feature's pop-up, but I couldn't figure out how I could get that URL to launch within the Survey123 or Embed widget on the same page, instead of in a new tab/window. 

I decided I had to add fields for the centre X and Y of the polygon to be able to pass those as parameters into an embedded survey, as I couldn't find another way to do this in Experience Builder or Dashboards. The dedicated Survey123 widget within Experience builder came pretty close to what I needed, but I couldn't overcome the geometry issue. If it was point to point, I think that might have worked.

In summary, it was added coordinate fields + custom URL + embed widget that worked out (for anyone who encounters this post in the future).

Do I need to open a support case in order to log an enhancement request?

AlixVezina
Esri Regular Contributor

@MappingMoose  Awesome work figuring out that workaround!!

Yes, opening a support case for logging a new enhancement request would be the best way.

Another option would be to log a new ArcGIS Idea within the Esri community. Since this request may have multiple product teams involved, I'm not sure which community forum would be the best target, so I think I would recommend logging it into the more general ArcGIS Online Ideas - Esri Community.