Helpful Scripts, Queries to troubleshoot missing features in SharePoint Content.
select fullurl, description
from WSS_Content_Sites1.dbo.Features f
join WSS_Content_clientsites.dbo.Webs w on f.WebId=w.Id
where FeatureId = '75a0fea7-c54f-46b9-86b1-2e103a8fedba'
fullurl description
sites/Intranet/policy
sites/Intranet/IT
(2 row(s) affected)
Find WebPart usage for WebPartTypeID
SELECT | ||
Webs.FullUrl As SiteUrl, | ||
Webs.Title 'Document/List Library Title', | ||
DirName + '/' + LeafName AS 'Document Name' | ||
from AllDocs with (nolock) | ||
INNER JOIN Webs On AllDocs.WebId = Webs.Id | ||
INNER JOIN Sites ON Webs.SiteId = SItes.Id | ||
inner join WebParts | ||
on AllDocs.Id = WebParts.tp_PageUrlID | ||
where | ||
WebParts.tp_WebPartTypeID =
'8be2f2c4-7478-16ab-c942-bd8a1b0d7cef' Find Feature details based on Setup Path SELECT * FROM [WSS_Content_DB].[dbo].[AllDocs] a with (nolock) WHERE a.[SetupPath] LIKE '%TSATypes%' |
No comments:
Post a Comment