您在哪里坚持Sharepoint加载项的配置设置? [英] Where do you persist configuration settings of a Sharepoint Add-in?

查看:69
本文介绍了您在哪里坚持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://stackoverflow.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.

最诚挚的问候,

丹尼斯


这篇关于您在哪里坚持Sharepoint加载项的配置设置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆