When we add ribbon operations, or the operation of a specific template, often need listtemplate values, we often need to search a variety of Web pages to find matching listtemplate values, in fact, there is a relatively simple method.
The registrationid= "101" on the XML header, defined as ribbon, means the document library.
<customaction id= "Ribbon.customgroup" registrationid= "a" registrationtype= "List" ...>
1, the following figure, open the "website content", add the application, we select the document library, click "Advanced Options";
2, look at the URL of the ListTemplate value, we are looking for the template ID, the following figure;
Summarize:
In fact, SharePoint in many places, use the URL upload id method, such as list settings, you can see the list of the GUID, list settings, the mouse in the Site column (field) above, you can see the built-in field naming, and so on, we observe these things, in the development process, There will be some more tips. In the process of looking up the template ID, also found the following blog, placed in other references, we are interested to see.
In particular, this method applies to various versions of SHAREPOINT2007-2013 ~ ~
Author: cnblogs Lin Yu
See more highlights of this column: http://www.bianceng.cnhttp://www.bianceng.cn/web/sharepoint/