Contents
SharePoint supports the tokens listed in the following tables for use in either SharePoint Add-ins or farm solutions. In addition, some tokens are usable only in apps. For more information about them, see URL strings and tokens in SharePoint Add-ins.
When to replace your root site with another site?
Replacing the root site with another site replaces the entire site collection with the new site collection. If your current root site has subsites, they’ll be archived. The site you select as the new root site must be within the same domain as the current root site. We recommend replacing the root site at a time when site usage is low.
Admins are no longer able to delete the root site from the SharePoint Modern Admin Center or the Manage Site Collections page in the SharePoint Admin Center.
How to make your Root Site a modern site?
If you want to continue using the classic team site, enable the modern site pages library experience and set a modern page as the home page of the root site. This gives users a modern team site experience with the left navigation.
Where to use tokens in an add in?
Three of the most important places where only a restricted list of tokens can be used are the start page of an add-in, a custom action on the host web, and the Src property of an add-in part. These are called out in separate columns, but this is not an exhaustive list of places where tokens can be used.
What are syntax tokens in the.NET compiler?
Syntax tokens are the terminals of the language grammar, representing the smallest syntactic fragments of the code. They are never parents of other nodes or tokens. Syntax tokens consist of keywords, identifiers, literals, and punctuation. For efficiency purposes, the SyntaxToken type is a CLR value type.
Where are only restricted list of tokens can be used?
In some contexts, some of these tokens cannot be used. Three of the most important places where only a restricted list of tokens can be used are the start page of an add-in, a custom action on the host web, and the Src property of an add-in part.