Skip to content

Commit 6dee4a2

Browse files
westleyMSVesaJuvonen
authored andcommitted
Update url-strings-and-tokens-in-sharepoint-add-ins.md (SharePoint#4451)
The table formatting was messed up in docs.microsoft.com even though in github it looked ok in preview. added some line breaks to try to get the table formatting to show correctly. I did see the comment after the first table was getting appended to the table, and this likely was the cause of the table formatting problem in Docs.
1 parent 3931f92 commit 6dee4a2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/sp-add-ins/url-strings-and-tokens-in-sharepoint-add-ins.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ In each table:
2323
- The **Custom Action** column specifies whether the token can be used in the URL of a custom action on a host web.
2424
- The **Add-in Part** column specifies whether the token can be used in the **Src** property of the add-in part.
2525

26+
<br/>
27+
2628
## Tokens that you can use at the beginning of a URL
2729

2830
|**Token**|**Resolves to**|**StartPage**|**Custom Action**|**Add-in Part**|**Remarks**|
@@ -35,6 +37,7 @@ In each table:
3537
|~remoteAppUrl|The URL of a remote web application in a SharePoint Add-in.|Yes|Yes, in the host web, but No in the add-in web.|Yes|If you are not using Microsoft Office Developer Tools for Visual Studio to develop your SharePoint Add-in, you cannot use **~remoteAppUrl** in the **StartPage** URL. However, when you are using Visual Studio and the tools, you can use this token for any provider-hosted add-in and it is resolved when Visual Studio packages the add-in. In this usage, it is really more of a Visual Studio token than a SharePoint token. It can be used outside the add-in manifest, even when you are not using Microsoft Office Developer Tools for Visual Studio.|
3638
|~site|The URL of the current website.|No|No|Yes||
3739
|~sitecollection|The URL of the parent site collection of the current website.|No|No|Yes||
40+
3841
Except where indicated otherwise, none of the tokens in the next table can be used in the *path* portion of the **Src** property value of the add-in part. The **Add-in Part** column refers to their use in the *query string* portion of the value.
3942

4043

0 commit comments

Comments
 (0)