Custom renewal on the SharePoint custom list page-[the template cannot be used normally after being saved]

Source: Internet
Author: User

Background: The four basic page styles of the Sharepoint list are not very good, so they need to be customized in many cases. However, after customization, a new problem occurs, that is, saving them as templates, when a new list is created, the custom page cannot be displayed normally.
1. customized page 1

2. Save the settings as a list template and create a new list using the template. the following error is found: 2. Go to the dispform page of list B, however, the content in list A is displayed.

3. Open the page to view the displayedCodeThink about the custom form we defined at the beginning. The list name is selected, and the list information is recorded at that time. Well, let's start from here, the code is all in the page, so we can check it.
4. After inspection, it is found that there are similar
<Webpartpages: dataformparameter name = "listid" parameterkey = "listid" propertyname = "parametervalues" defaultvalue = "305f1430-d431-4268-a87c-b4b1b9daf7e1"/>
Code, and then there is the ID number in it, and then search, found that there are 7 such list number in the page, let's replace it. The result is 3.

PS: Forgive me. It is difficult to show off such simple things and the level is limited. You are welcome to contact me. It is good to talk about your feelings. In fact, such things may have the value of reuse, or you can use JS scripts to automatically change the ID or something. The display page is changed in this way. The other three pages can also be modified in this way. If you are interested or need it, try it. In other words, a lot of things are very basic, and we will continue to accumulate.

 

Author: Yu
Source: http://www.cnblogs.com/jianyus
The copyright of this article is shared by Yu and the blog Park. You are welcome to reprint it, but please indicate the source.

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.