Select to view content in your preferred language

Related records and ArcGIS for Sharepoint

431
6
02-04-2025 05:59 AM
LiveHus
Emerging Contributor

Hello 🙂

I am slightly confused regarding the possibilities of ArcGIS for Sharepoint. I have a hosted feature layer in AGOL with a related table. The related table contains attachments such as PDF's and pictures. My wish is to somehow duplicate these attachments to Sharepoint from the related record. Does anybody have a suggested workflow for this, while maintaining the original relationship between the related table and feature layer?

If this is not possible I would look into moving the attachments completely over to Sharepoint and then geotag them back to the feature layer with the GlobalID parameter.

However, I also have questions regarding Experience Builder - is ArcGIS for Sharepoint isolated to the Sharepoint site or is there any way to implement the functionality in Ex.Builder?

Any ideas or answers is highly appriciated!

Thank you

6 Replies
RaajRaaj
Esri Contributor

Hello @LiveHus --

Thanks for posting your question on Esri Community. If I am understanding your question correctly, you would like to bring the feature layer table data and attachments into your SharePoint environment, right?

If you are only trying to access the attachments, you can add the feature layer to the "ArcGIS" (map) web part in SharePoint and the map popup should display the attachments.

In case if you'd like other users to be able to access the documents associate to the features, geotag/geosearch would be your best bet. 

Please let me know if I answered your first question?

Regarding your second question on Experience Builder, I will need to do some further research. Are you looking to implement certain ArcGIS for SharePoint app capabilities or are you just trying to access SharePoint data? If you are trying to access SharePoint data within Experience Builder, you can build a custom widget in Experience Builder which calls the SharePoint graph/REST API. But if you are looking to implement specific ArcGIS for SharePoint capabilities, I have to talk to the Experience Builder team to see if that's possible.

Please don't hesitate to reach out to us if you have any further questions.

 

Thanks & Regards,

Raaj

0 Kudos
LiveHus
Emerging Contributor

Thank you for your response @RaajRaaj You definitely answered my question. To clarify, yes I would like to bring the feature layer table data and attachments into SharePoint, but more specifically the attachments. The goal is to host the attachments in SharePoint while the users can access the feature layer in Experience Builder. Ideally they would click on a feature and get a link directly to the document in SharePoint through a list or popup. But to my understanding I would need to create a custom Ex.builder application for this that calls the SharePoint graph/rest API. 

In my case there is over 2000 features and 2000 related attachments so I would like to test out geotag and geosearch based on the globalid/parentglobalid key, where the attachements somehow would be moved from the related table to a Sharepoint site with the globalid attached. Do you have any suggested workflow for this? I know this would only be able with the map web part, but I would like to show it as a demo for the users if they choose to use this instead of Experience Builder.

Thank you!

0 Kudos
RaajRaaj
Esri Contributor

@LiveHus 

Thanks for the clarification. 

We are in the process of rolling out a new feature in ArcGIS for SharePoint which would allow you to share the geotagged document links in SharePoint with your ArcGIS Online or Enterprise org.  

Also, I am currently working on a solution for your workflow. I will share it with you in the next few days.

Let me know if you have any questions or anything else I should I be aware of while building the solution.

 

Thanks & Regards,

Raaj

RaajRaaj
Esri Contributor

@LiveHus - I am still doing some research on your workflow. In the meantime, have you tried enabling attachments in your feature layer so that it can be accessed via the popup in the SharePoint app?

 

Here's a ArcGIS Online doc link explaining how to enable attachments,

 

https://doc.arcgis.com/en/arcgis-online/manage-data/manage-hosted-feature-layers.htm#:~:text=data%20...

 

Please let me know if this helps? I will keep you posted on my findings.

 

Thanks & Regards,

Raaj

0 Kudos
LiveHus
Emerging Contributor

Thank you for working on a workflow @RaajRaaj 

I have enabled attachments on the feature layer and its related table, I am able to reach the attachments through the pop up in Map Viewer in AGOL, but I still get this error when I try to access the related attachments in the Sharepoint Web Part. I get the following error: 

LiveHus_0-1739907520879.png

Thank you very much for your help so far!

0 Kudos
RaajRaaj
Esri Contributor

@LiveHus --

Could you please check if the layer is associated with a non-spatial table? Please refer to the below blog,

https://www.esri.com/arcgis-blog/products/js-api-arcgis/developers/browsing-related-records-with-the...

If you can unlink the associated table in ArcGIS Pro, you should then be able to view the attachments and the error message should no longer appear on the popup.

Please let me know if this helps? If you cannot unlink the table from the layer since you'd like to maintain that feature layer to table relationship, I'd have to look into other options. 

 

Thanks & Regards,

Raaj

0 Kudos