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.