Select to view content in your preferred language

Can published feature layer and hosted feature layer have a relationship class built?

644
2
Jump to solution
06-09-2022 01:14 PM
rsun_TQB
Frequent Contributor

Hi All,

Can published feature layer (from enterprise GDB) and hosted feature layer (Survey123 hosted on Portal) have a relationship class built? so...on Field Maps it will show a link to Survey123 form automatically?

Thanks,

Reno

0 Kudos
1 Solution

Accepted Solutions
ChristopherCounsell
MVP Regular Contributor

No, you cannot have a relationship class directly between a Hosted Feature layer and a enterprise geodatabase referenced feature service. There are ways you could look at approaching this.

Either service can have a related table. Either could be used to configure a pop-up with a custom URL scheme that will launch a survey. The survey could create new points, or add to a related table. Lots of options. 

See:

https://support.esri.com/en/technical-article/000021198

https://community.esri.com/t5/arcgis-survey123-blog/understanding-survey123-s-custom-url-scheme/ba-p...

https://doc.arcgis.com/en/survey123/reference/integratewithotherapps.htm

 

View solution in original post

2 Replies
ChristopherCounsell
MVP Regular Contributor

No, you cannot have a relationship class directly between a Hosted Feature layer and a enterprise geodatabase referenced feature service. There are ways you could look at approaching this.

Either service can have a related table. Either could be used to configure a pop-up with a custom URL scheme that will launch a survey. The survey could create new points, or add to a related table. Lots of options. 

See:

https://support.esri.com/en/technical-article/000021198

https://community.esri.com/t5/arcgis-survey123-blog/understanding-survey123-s-custom-url-scheme/ba-p...

https://doc.arcgis.com/en/survey123/reference/integratewithotherapps.htm

 

rsun_TQB
Frequent Contributor

Hi @ChristopherCounsell ,

Thanks for the reply. That's exactly what I have been doing without using Relationship Class when using "Survey123" hosted feature with published feature service from enterprise GDB.

I have been utilizing custom expression with Arcade to generate URL that can pass id and lat/long to Survey123 for inspection. 

I understood everything is manageable and doable, but as I have high expectation of ArcGIS Solutions... it need to be more powerful and user-friendly. Passing lat/long should be built-in feature, and passing other attribute should have GUI to make workflows smoother.

Just my thoughts.

Thanks a lot,

Reno