문제

Does anyone know if we can retrieve the published URL of an SDL Tridion Page based on the URI? Ideally I would like to do this using the Core Service.

도움이 되었습니까?

해결책

If you are talking about retrieving a Page's published URL, it can be done via:

PageData page = client.Read("tcm:12-345-64", null) as PageData;
PublishLocationInfo info = (PublishLocationInfo)page.LocationInfo;
string url = info.PublishLocationUrl;
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top