You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

请求提供SharePoint Add-In评分评论功能的链接地址构造示例

构造SharePoint Add-In评分评论链接的示例

Got it, let's break down how to construct that "Leave a Rating" link for your SharePoint Add-In clearly:

基础链接模板

The core URL structure points to the Office Store's rating page, with placeholders you'll replace with your add-in's unique details:

https://store.office.com/rating.aspx?assetid=<YOUR-ADD-IN-UNIQUE-ID>&source=SharePoint

关键参数说明

  • <YOUR-ADD-IN-UNIQUE-ID>: This is the GUID assigned to your add-in. You can find this in:
    • Your SharePoint App Catalog (view the add-in's properties)
    • The Office Store Developer Center (under your add-in's details)
  • source=SharePoint: This optional parameter tags the rating request as coming from SharePoint, which helps you track rating sources in your developer analytics.

完整示例

Suppose your add-in's unique ID is a1b2c3d4-5678-90ef-ghij-klmnopqrstuv, the final working link would be:

https://store.office.com/rating.aspx?assetid=a1b2c3d4-5678-90ef-ghij-klmnopqrstuv&source=SharePoint

集成到"Leave a Rating"按钮示例

If you're adding this to your add-in's UI, here's a simple HTML snippet you can adapt (using SharePoint's Fluent UI styling for consistency):

<a href="https://store.office.com/rating.aspx?assetid=a1b2c3d4-5678-90ef-ghij-klmnopqrstuv&source=SharePoint" target="_blank" class="ms-Button">
  <span class="ms-Button-label">Leave a Rating</span>
</a>

额外注意事项

  • For internal-only add-ins (not published to the public Office Store), the same URL structure works—just use the add-in's GUID from your organization's App Catalog.
  • Always use target="_blank" to open the rating page in a new tab/window, so users don't lose their place in your add-in.

内容的提问来源于stack exchange,提问作者Alan Bell

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.25 06:39:01