Solution to expiration of the sputility. getgenericsetuppath () method of sharepoint2013

Source: Internet
Author: User

Sometimes you need to read the XML file in layouts. Therefore, you need to know the path, which was previously obtained using the sputility. getgenericsetuppath () method in sp2010. Now sp2013 prompts an expiration rejection

View two Structure Analyses

 

Use in sp2013Sputility. getversionedgenericsetuppath ().

For an example of how this can effect you code-Look below. this code is returning a URL to one of our pages that's deployed to the layouts folder. if we had not made change to include the "15" It wocould have pointed to the 14 hive-which is good for a 2010 solution running on 2013, but not good for us

Solution to expiration of the sputility. getgenericsetuppath () method of sharepoint2013

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.