Finding Keywords in Portal HTML Content
A CJ version of this query can be easily imported from a Suitcase:ย 4e5a7b48-104c-481d-8857-b5ce1148e9e0:rwf-test
Edit the LIKE
filter to change what keyword you're searching for.
SELECT ptl__JID_.[name] AS [Portal Name]
ย ย ,ptl__JID_.[key] AS [Portal Key]
ย ย ,pv.[name] AS [View Name]
ย ย ,pp.[name] AS [Part Name]
ย ย ,ptl__JID_.[folder1] AS [Portal Folder]
ย ย ,ptl__JID_.[active] AS [Portal Active Status]
FROM [portal] ptl__JID_
INNER JOIN [portal.view] pv
ย ย ON pv.[portal] = ptl__JID_.[id]
INNER JOIN [portal.part] pp
ย ย ON pp.[view] = pv.[id]
WHERE (
ย ย ย ย /* Portal Part Filter */
ย ย ย ย cast(pp.[html] AS NVARCHAR(max)) LIKE '%race%'
ย ย ย ย )
No Comments