Skip to content
David Kittell
David Kittell

Application & System: Development / Integration / Orchestration

  • Services
    • Application Development
    • Online Application Integration
  • Code
  • Online Tools
  • Tech Support
David Kittell

Application & System: Development / Integration / Orchestration

Ektron List All PageBuilder Pages

Posted on January 5, 2015October 26, 2015 By David Kittell
SET NOCOUNT ON

DECLARE @Domain VARCHAR(50)

SET @Domain = '/'

SELECT c.[content_id],
	c.[content_title],
	c.[content_html],
	CASE
		WHEN c.[content_status] = 'A'
			THEN 'Approved'
		WHEN c.[content_status] = 'O'
			THEN 'Checked Out'
		WHEN c.[content_status] = 'I'
			THEN 'Checked In'
		WHEN c.[content_status] = 'S'
			THEN 'Submitted for Approval'
		WHEN c.[content_status] = 'M'
			THEN 'Marked for Deletion'
		WHEN c.[content_status] = 'P'
			THEN 'Pending Go Live Date'
		WHEN c.[content_status] = 'T'
			THEN 'Awaiting Completion of Associated Tasks'
		WHEN c.[content_status] = 'D'
			THEN 'Pending Deletion'
		END AS ContentStatus,
	c.[date_created],
	c.[approval_method],
	c.[searchable],
	cft.[folder_name],
	cft.FolderPath,
	(@Domain + uam.[urlaliasnm]) AS AliasURL,
	(@Domain + uam.[urltargetnm]) AS ActualURL
FROM [content] c
INNER JOIN [content_folder_tbl] cft ON c.folder_id = cft.folder_id
INNER JOIN [UrlAliasMapping] uam ON uam.TargetID = c.content_id
WHERE content_html LIKE '<PageData%'
	AND content_html LIKE '%dynamic%' -- name/type of widget or something else
ORDER BY cft.FolderPath,
	content_title
Originally Posted on January 5, 2015
Last Updated on October 26, 2015
All information on this site is shared with the intention to help. Before any source code or program is ran on a production (non-development) system it is suggested you test it and fully understand what it is doing not just what it appears it is doing. I accept no responsibility for any damage you may do with this code.

Related

Code Ektron MSSQL MSSQL - Ektron 8.7 SQL

Post navigation

Previous post
Next post

Related Posts

Make textfield only accept numberic values

Posted on July 3, 2013October 26, 2015

$(document).ready(function() { $(".numbersonly").keyup(function (event) { var value = jQuery(this).val(); value = value.replace(/[^0-9]+/g, ”); jQuery(this).val(value); }); }); Originally Posted on July 3, 2013Last Updated on October 26, 2015 All information on this site is shared with the intention to help. Before any source code or program is ran on a production…

Read More

Ubuntu – Remove Preloaded Applications

Posted on January 4, 2018January 10, 2020

Installing Ubuntu for a server OS? The code below will remove some of the preloaded applications that are needed on a server. Arguably you could remove Gnome in general and all Gtk but that depends on how you want to run your server. for i in aisleriot \ blinken \…

Read More

Mac OSX – Update DNS Based On WiFi

Posted on June 8, 2016June 8, 2016

I often have to bounce between WiFi at the office and the public WiFi so I finally put this script together. You will need to get the BSSID of your WiFi connection to replicate this but here is the code, of course you need to run this with sudo privileges…

Read More

Code

Top Posts & Pages

  • PowerShell - Rename Pictures to Image Taken
  • Front Page
  • C# - Start/Stop/Restart Services
  • MacPorts / HomeBrew - Rip CD tracks from terminal
  • PowerShell - Show File Extensions

Recent Posts

  • Javascript – Digital Clock with Style
  • BASH – Web Ping Log
  • BASH – Picture / Video File Name Manipulation
  • Mac OSX Terminal – Create SSH Key
  • Bash – Rename Picture

Top Posts

  • PowerShell - Rename Pictures to Image Taken
  • C# - Start/Stop/Restart Services
  • MacPorts / HomeBrew - Rip CD tracks from terminal
  • PowerShell - Show File Extensions
  • Open On Screen Keyboard (OSK)
  • SQLite - Auto-Increment / Auto Generate GUID
©2025 David Kittell | WordPress Theme by SuperbThemes