[英]MS Office Add-in location (URL) reset
MS Office Add-in (web) doesn't save URL destination inside. MS Office加载项(Web)不会在其中保存URL目标。 For example 1. you add content Add-Id in your document 2. change URL inside (click the link inside it) 3. save it
例如1.在文档中添加内容Add-Id 2.更改内部URL(单击其中的链接)3.保存
After you will open your saved document website inside your add-in will be default, not that you have reached before saving 在您打开保存的文档网站之后,加载项将是默认的,而不是您在保存之前已经访问过
How to fix this error? 如何解决这个错误?
i am not sure I get what you are trying to achieve, would be great if you can describe your scenario with more details. 我不确定我能得到您想要达到的目标,如果您可以用更多细节描述您的情况,那将是很好的。
But I can tell you this: Nothing on the add-in state gets saved with the document unless you explicitly save it with it. 但是我可以告诉您:除非您明确将其保存,否则外接程序状态不会随文档一起保存。 In order to do that you need to use the settings object.
为此,您需要使用设置对象。 its quite simple to use here are good documentation on how to create and get a setting http://dev.office.com/reference/add-ins/shared/settings
使用起来非常简单,这里是有关如何创建和获取设置的好文档http://dev.office.com/reference/add-ins/shared/settings
Hope this helps. 希望这可以帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.