Don't miss out Virtual Happy Hour today (April 26).

Try our conversational search powered by Generative AI!

Shortcut/External link - how to check real PageLink?

Vote:
 
Hi, I have a page, let say X and then I make an internal shortcut to EPiServer page Y. When I fetch PageData of the X page I want to know what is the url address of shortcut Y page? How to check it? PageLink and LinkUrl fields of X contains only information about page X. Thank you! Regards, ps. EPi is 4.60
#12578
Apr 06, 2006 12:46
Vote:
 
From EPiServer SDK Developer's Guide Properties ... PageShortcutType Type of link behavior. PageShortcutLink Page links to this page, as defined by PageShortcutType. Can be used something like this... if(((PageShortcutType) pageData["PageShortcutType"]) == PageShortcutType.ShortCut) { string theLink = pageData["PageShortcutLink"].ToString() } /HAXEN
#14540
Apr 06, 2006 23:04
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.