How to use <%$ SPTokens: xxxx %> RRS feed

  • Question

  • Hi, I saw SPUrl and in one of the master pages and i would like to know also how to really utilize SPTokens 

    Did a google search and apparently not many people really know how to use it??


    Friday, March 31, 2017 3:43 PM

All replies

  • For OnPremise you need to create custom expression builder like:

    But this in not preferred because it affect performance for allowing compilation and not supported online

    Tarek Yehia

    Friday, March 31, 2017 4:51 PM
  • AH.. i See. I was wanting to have a dynamic meta tag for my master page. And apparently, SharePoint is not so SEO friendly in this domain.

    i See there is Edit SEO property but it doesnt allow adding meta tag for og:image :(


    Friday, March 31, 2017 4:59 PM
  • You can create custom controlto add facebook seo like

    or use the following solution:

    Tarek Yehia

    Friday, March 31, 2017 5:15 PM