AnsweredAssumed Answered

How to get Folder ID from portal In ArcGis Pro SKD?

Question asked by htudosieesri-ca-esridist Employee on Oct 17, 2017
Latest reply on Oct 17, 2017 by cmacleod-esristaff

Using the ArcGIS Pro 2.0(1) how can I check if  a specific folder in my content exists, create it if not, and obtain its ID.

 

During publishing a Web Layer, I need as an optional parameter the FolderID - not the name!

 

new EsriHttpClient().Upload(portal.PortalUri.ToString(), layerItem, "my Layer Name", new[] {"myTag"}, "folderID");

Outcomes