This sample shows how to retrieve detailed information about the connected Portal
Language: C#
Subject: Content
Contributor: ArcGIS Pro SDK Team <arcgisprosdk@esri.com>
Organization: Esri, https://www.esri.com
Date: 04/04/2024
ArcGIS Pro: 3.3
Visual Studio: 2022
.NET Target Framework: net8.0-windows
- Sample data for ArcGIS Pro SDK Community Samples can be downloaded from the Releases page.
- This solution is using the Newtonsoft.Json NuGet. If needed, you can install the NuGet from the "NuGet Package Manager Console" by using this script: "Install-Package Newtonsoft.Json".
- In Visual Studio click the Build menu. Then select Build Solution.
- Click Start button to open ArcGIS Pro.
- ArcGIS Pro will open, select any project.
- Click on the Add-In tab.
- On the Add-in tab click the 'Show Portal Info' button.
- After the 'PortalInfo Dockpane' opens click on the 'Show Portal Info' button.
- Portal Information is now displayed in the text box below the 'Show Portal Info' button.
Home | API Reference | Requirements | Download | Samples