如何验证使用文档库模板(.stp)创建的现有文档库 [英] How to verify existing document library which was created using document library template(.stp)

查看:51
本文介绍了如何验证使用文档库模板(.stp)创建的现有文档库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

您能帮我解决这个问题吗?

Can you please help me for this issue.

如何为SharePoint 2013中已创建的文档库标识文档库模板(.stp)名称.

How to identify document library template(.stp) name for already created document library in SharePoint 2013. 

我选择此选项的原因:我们有SharePoint 2013网站,并且用户已使用template(.stp)或未使用模板创建了多个文档库,因此我们只查找那些使用文档库创建的库 模板(.stp). 

The reason why I am looking this option: We have SharePoint 2013 sites and users has created multiple document library using template(.stp) or without using template, so we are looking only for those libraries which has been created using document library template(.stp). 

我的分析:在创建新文档库时,文档库与文档库模板(.stp)没有任何关系.它将仅提供结构/模板,因此我们无法识别与模板的关系.

My Analysis: Document library do not maintain any relation with document library template(.stp) while creating new document library. It will provide only structure/ template, so we can not identify the relation with template. 

如果有人早些时候遇到过此类问题,请帮助我.

Please help me if any body faced this kind of issue earlier. 

谢谢

桑耶夫

推荐答案

Sanjiv,

Hi Sanjiv,

1每个stp文件都有一个关联的功能ID.您可以在列表模板库中找到它.

1 every stp file has an associated feature id with it. you can find this in list template gallery.

2您创建的每个文档库都有一个TemplateFeatureId,这与列表模板库中stp文件的功能ID相同.

2 each document library that you create has a TemplateFeatureId, and this is the same feature id of stp file in list template gallery.

现在将以上两点联系起来,您可以编写一个小型电源外壳或控制台,将它们比较这两个属性,并根据此属性可以执行任何操作.

Now connecting the above two points you can write a small power shell or console that will compare the 2 properties and based on this you can perform any operation.

让我知道您是否需要其他信息.

Let me know if you need any other info.


这篇关于如何验证使用文档库模板(.stp)创建的现有文档库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆