您在哪里坚持Sharepoint加载项的配置设置?

问题描述:

我希望能够加载,编辑(从UI)并在Sharepoint服务器中的某处保存此配置设置。我该怎么做?

谢谢

Raja

Raja

您好Raja,

Hi Raja,

您想要保留AppManifest.xml文件吗?

Do you want to persist AppManifest.xml file?

如果要操作AppManifest.xml文件,我们可以使用PowerShell来实现它。以下是供您参考的主题:

If you want to operate the AppManifest.xml file, we can use PowerShell to achieve it. Here is a thread for your reference:

https://*.com/questions/32382051/how-to-update-url-stored-in-sharepoint-add-in-app-file

如果要存储加载项的一些自定义设置,我们可以创建一个自定义列表来存储信息,然后使用REST API从自定义列表中获取信息。

If you want to store some custom settings of the add-in, we can create a custom list to store the information, then using REST API to get the information from the custom list.

更多信息:

探索应用清单结构和SharePoint加载项的包

https://dev.office.com/sharepoint/docs/sp-add-ins/explore-the-app-manifest-structure-and-the-package-of-a-sharepoint-add-in

如果我误解了您的要求,我建议您提供有关您进一步研究的更多信息。

If I misunderstand your requirement, I suggest you provide more information about your requirement for further research.

最诚挚的问候,

丹尼斯