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 Alias List

Posted on October 29, 2013October 26, 2015 By David Kittell
SET NOCOUNT ON

DECLARE @Domain VARCHAR(50)

SET @Domain = '<domain>'

SELECT AliasName
    ,(@Domain + alias_pagename) AS AliasURL
    ,(@Domain + alias_logical) AS ActualURL
    ,content_id
    ,content_language
FROM url_alias_tbl
LEFT OUTER JOIN UrlAliasManual_Tbl ON UrlAliasManual_Tbl.aliasid = url_alias_tbl.alias_id
ORDER BY AliasName
SET NOCOUNT ON

DECLARE @Domain VARCHAR(50)

SET @Domain = '<domain>'

SELECT (@Domain + [urlaliasnm]) AS AliasURL
	,(@Domain + [urltargetnm]) AS ActualURL
	,[TargetID] AS ContentID
	--,[NodeID]
	,uact.UrlAliasConfigTypeName AS [Type]
	,CASE
		WHEN IsDefault = 0
			THEN 'False'
		WHEN IsDefault = 1
			THEN 'True'
		END AS 'Default'
	,CASE
		WHEN [IsEnabled] = 0
			THEN 'False'
		WHEN [IsEnabled] = 1
			THEN 'True'
		END AS 'Enabled'
FROM UrlAliasMapping uam
INNER JOIN UrlAliasConfigType uact ON uact.UrlAliasConfigTypeId = uam.AliasTypeID
ORDER BY [IsDefault]
	,IsEnabled
Originally Posted on October 29, 2013
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 MSSQL - Ektron 8.0.2 SQL

Post navigation

Previous post
Next post

Related Posts

Uptime Formated

Posted on May 9, 2017

If you simply want uptime formatted this small script will help. uptime | awk -F'( |,|:)+’ ‘{print $6,$7",",$8,"hours,",$9,"minutes."}’ Uptime by itself will display similar to: 20:25:48 up 3 days, 8:14, 1 user, load average: 2.07, 2.17, 2.35 Formatted using the code above will display similar to: 3 days, 8 hours,…

Read More

JavaScript – Time Conversion – Millisecond (Execution/Run Time) To Human Readable

Posted on December 26, 2018December 26, 2018

Sometimes when you are looking at execution time you want to make it easier to report the amount of time. The script below will help. And a full example is below All information on this site is shared with the intention to help. Before any source code or program is…

Read More

PowerShell – Script for adding/removing/viewing entries to the hosts file.

Posted on March 7, 2019

As a web developer you often have to use a host file, this script helps assist a safe and fast change with little effort. # # Powershell script for adding/removing/showing entries to the hosts file. # # Known limitations: # – does not handle entries with comments afterwards ("<ip> <host>…

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