<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Portal credentials for Add-in application in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/portal-credentials-for-add-in-application/m-p/1237437#M9142</link>
    <description>&lt;P&gt;dear Readers,&lt;/P&gt;&lt;P&gt;Good afternoon.&amp;nbsp; Thank you for taking the time to read my question.&lt;/P&gt;&lt;P&gt;We have an Arc Engine/Arc Objects application that we are planning to re-write in ArcGIS Pro.&amp;nbsp; We want to take advantage of the portal features and ArcGIS Pro features while re-doing the application.&lt;/P&gt;&lt;P&gt;One of the things that we wanted to use was portal security to limit the functions/items on the ribbon or tabs the users see.&lt;/P&gt;&lt;P&gt;One thought was to create a MyAppGroup and store all the app-specific layers in that Group.&amp;nbsp; If a person is not authorized to this group, then ribbon items can be hidden.&amp;nbsp; We are also thinking about returning a NULL from a pro configuration to hide the whole option and open regular ArcGIS Pro.&lt;/P&gt;&lt;P&gt;I am sure I am not the first one trying to make this happen.&amp;nbsp; Any white paper, blog would be greatly appreciated.&lt;/P&gt;&lt;P&gt;I have downloaded the samples project from GIT hub, and I am also studying the same.&lt;/P&gt;&lt;P&gt;Very similar to my needs - but do not address my questions:&lt;BR /&gt;&lt;A href="https://community.esri.com/t5/arcgis-pro-sdk-questions/searching-for-one-item-exactly-from-portal/m-p/858081" target="_blank"&gt;https://community.esri.com/t5/arcgis-pro-sdk-questions/searching-for-one-item-exactly-from-portal/m-p/858081&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-get-folder-id-from-portal-in-arcgis-pro-skd/m-p/845191" target="_blank"&gt;https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-get-folder-id-from-portal-in-arcgis-pro-skd/m-p/845191&lt;/A&gt;&lt;/P&gt;&lt;P&gt;thank you and have a good weekend.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Ravi Kaushika&lt;/P&gt;</description>
    <pubDate>Fri, 02 Dec 2022 22:05:09 GMT</pubDate>
    <dc:creator>Ravichandran_M_Kaushika</dc:creator>
    <dc:date>2022-12-02T22:05:09Z</dc:date>
    <item>
      <title>Portal credentials for Add-in application</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/portal-credentials-for-add-in-application/m-p/1237437#M9142</link>
      <description>&lt;P&gt;dear Readers,&lt;/P&gt;&lt;P&gt;Good afternoon.&amp;nbsp; Thank you for taking the time to read my question.&lt;/P&gt;&lt;P&gt;We have an Arc Engine/Arc Objects application that we are planning to re-write in ArcGIS Pro.&amp;nbsp; We want to take advantage of the portal features and ArcGIS Pro features while re-doing the application.&lt;/P&gt;&lt;P&gt;One of the things that we wanted to use was portal security to limit the functions/items on the ribbon or tabs the users see.&lt;/P&gt;&lt;P&gt;One thought was to create a MyAppGroup and store all the app-specific layers in that Group.&amp;nbsp; If a person is not authorized to this group, then ribbon items can be hidden.&amp;nbsp; We are also thinking about returning a NULL from a pro configuration to hide the whole option and open regular ArcGIS Pro.&lt;/P&gt;&lt;P&gt;I am sure I am not the first one trying to make this happen.&amp;nbsp; Any white paper, blog would be greatly appreciated.&lt;/P&gt;&lt;P&gt;I have downloaded the samples project from GIT hub, and I am also studying the same.&lt;/P&gt;&lt;P&gt;Very similar to my needs - but do not address my questions:&lt;BR /&gt;&lt;A href="https://community.esri.com/t5/arcgis-pro-sdk-questions/searching-for-one-item-exactly-from-portal/m-p/858081" target="_blank"&gt;https://community.esri.com/t5/arcgis-pro-sdk-questions/searching-for-one-item-exactly-from-portal/m-p/858081&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-get-folder-id-from-portal-in-arcgis-pro-skd/m-p/845191" target="_blank"&gt;https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-get-folder-id-from-portal-in-arcgis-pro-skd/m-p/845191&lt;/A&gt;&lt;/P&gt;&lt;P&gt;thank you and have a good weekend.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Ravi Kaushika&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2022 22:05:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/portal-credentials-for-add-in-application/m-p/1237437#M9142</guid>
      <dc:creator>Ravichandran_M_Kaushika</dc:creator>
      <dc:date>2022-12-02T22:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: Portal credentials for Add-in application</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/portal-credentials-for-add-in-application/m-p/1238715#M9151</link>
      <description>&lt;P&gt;In order to control your ArcGIS Pro custom tabs and controls you can use 'States and Conditions' as outlined here:&amp;nbsp;&amp;nbsp;&lt;A href="https://github.com/esri/arcgis-pro-sdk/wiki/ProConcepts-Framework#conditions-and-state" target="_blank" rel="noopener"&gt;ProConcepts Framework · Esri/arcgis-pro-sdk Wiki (github.com)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;There's a guide on how to do this here:&amp;nbsp;&amp;nbsp;&lt;A href="https://github.com/esri/arcgis-pro-sdk/wiki/ProGuide-Code-Your-Own-States-and-Conditions" target="_blank" rel="noopener"&gt;ProGuide Code Your Own States and Conditions · Esri/arcgis-pro-sdk Wiki (github.com)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and some sample code here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Esri/arcgis-pro-sdk-community-samples/tree/master/Framework/WorkingWithDAML" target="_blank" rel="noopener"&gt;arcgis-pro-sdk-community-samples/Framework at master · Esri/arcgis-pro-sdk-community-samples (github.com)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You would then in your code-behind find the portal user's group:&amp;nbsp;&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic18164.html" target="_blank" rel="noopener"&gt;PortalGroup Class—ArcGIS Pro&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and depending on the groups returned you can then either activate or deactivate the appropriate state.&lt;/P&gt;&lt;P&gt;Finally, since Module Add-ins are loaded JIT (Just In Time) and by default are not loaded until the add-in module is required by the User Interface, you can change that behavior to load your module at startup as described here:&amp;nbsp;&amp;nbsp;&lt;A href="https://github.com/Esri/arcgis-pro-sdk/wiki/ProConcepts-Framework#jit-loading" target="_blank"&gt;ProConcepts Framework · Esri/arcgis-pro-sdk Wiki (github.com)&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2022 14:20:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/portal-credentials-for-add-in-application/m-p/1238715#M9151</guid>
      <dc:creator>Wolf</dc:creator>
      <dc:date>2022-12-07T14:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: Portal credentials for Add-in application</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/portal-credentials-for-add-in-application/m-p/1238727#M9152</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/12882"&gt;@Wolf&lt;/a&gt;&amp;nbsp;, good morning.&lt;/P&gt;&lt;P&gt;Thank you for the pointed advice.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Ravi Kaushika.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2022 14:30:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/portal-credentials-for-add-in-application/m-p/1238727#M9152</guid>
      <dc:creator>Ravichandran_M_Kaushika</dc:creator>
      <dc:date>2022-12-07T14:30:11Z</dc:date>
    </item>
  </channel>
</rss>

