Domanda

I am working on a SharePoint 2013 Online - Provider Hosted App, which needs to have write access on two generic lists.

Instead of requesting access on web is it possible to request app access for two individual generic lists?

È stato utile?

Soluzione

Sadly, the permission request framework does not provide for this.

Instead, I would create ListTemplates for your lists, which will give them unique template IDs. Then, you can specify the ID in the permission request:

<AppPermissionRequest Scope="http://sharepoint/content/sitecollection/web/list"
                      Right="Write">
  <Property Name="BaseTemplateId" Value="{YOUR_ID_HERE}"/>
</AppPermissionRequest>

You would then repeat that request, changing the ID as appropriate.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a sharepoint.stackexchange
scroll top