We have created a PageType which doesn't have any properties. This points to blank.aspx which doesn't have any content. The pages will be either external links or shortcut to episerver page. All the pages of this PageType are created within a container(parent) page. We are creating these pages using EPiServer PageData Object. When we assign PageShortType.External to linktype of pagedata object and external url to LinkUrl, it is showing correctly in edit mode and saved correctly also.But when we assign PageShortcutType.Shortcut and select EPiServer Page and assign its URL, it is not assigning that url and assigning Blankpage.aspx url and also setting the shortcut type as 'Link to this page' in edit mode. Please help us in creating a page which is a shortcut to another page in episerver through pagedata object.
It worked. Thanks. One more thing-I want to assign ["PageTargetFrame"] also through code. (Whether it should open in a new window or the same window). I have been searching for code and I could not find one. Please let me know how to set this.
We have created a PageType which doesn't have any properties. This points to blank.aspx which doesn't have any content. The pages will be either external links or shortcut to episerver page. All the pages of this PageType are created within a container(parent) page. We are creating these pages using EPiServer PageData Object. When we assign PageShortType.External to linktype of pagedata object and external url to LinkUrl, it is showing correctly in edit mode and saved correctly also.But when we assign PageShortcutType.Shortcut and select EPiServer Page and assign its URL, it is not assigning that url and assigning Blankpage.aspx url and also setting the shortcut type as 'Link to this page' in edit mode. Please help us in creating a page which is a shortcut to another page in episerver through pagedata object.
Regards
KPK