weixin_39581571
weixin_39581571
2020-12-25 17:32

Can't set a test license token in an Outlook addin

I'm trying to set a test license token in an Outlook add-in. According to the documentation, I have to set it in the SourceLocation in the manifest file:

<Form xsi:type="ItemRead">
  <DesktopSettings>
    <SourceLocation DefaultValue="https://localhost:3000?et=%3Cr%3E%0A%20%20%3..."/>
    <RequestedHeight>250</RequestedHeight>
  </DesktopSettings>
</Form>

The problem is, when I try to get the URL query params, it won't work. window.location looks like this:

https://localhost:3000/?et=

Any idea why it's happening?

该提问来源于开源项目:OfficeDev/office-js

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

4条回答

  • weixin_39799307 weixin_39799307 4月前

    sorry to hear that you've run into this problem. can you please look into this?

    点赞 评论 复制链接分享
  • weixin_39581571 weixin_39581571 4月前

    Great thanks!

    点赞 评论 复制链接分享
  • weixin_39836876 weixin_39836876 4月前

    see comment on https://stackoverflow.com/questions/54026756/cant-set-a-test-license-token-in-an-outlook-addin

    点赞 评论 复制链接分享
  • weixin_39799307 weixin_39799307 4月前

    thanks for the pointer to the related question on Stack Overflow.

    and I'm going to close this issue in the OfficeDev/office-js repo; please continue to engage as necessary on the related Stack Overflow post: https://stackoverflow.com/questions/54026756/cant-set-a-test-license-token-in-an-outlook-addin. (Stack Overflow question/answer is more likely to be discovered by / useful to other developers than this issue here in OfficeDev/office-js.)

    点赞 评论 复制链接分享

相关推荐