Getting the published URL of a Urid-based Tridion page

Does anyone know if we can get the published URL of a URI-based SDL Tridion page? Ideally, I would like to do this using Core Service.

+5
source share
1 answer

If you are talking about getting the page URL, this can be done with:

PageData page = client.Read("tcm:12-345-64", null) as PageData;
PublishLocationInfo info = (PublishLocationInfo)page.LocationInfo;
string url = info.PublishLocationUrl;
+7
source

All Articles