I have a link field and XML looks like the below. Using SessionAwareCoreServiceClient c#; I would like to get the page URL for "tcm:99-99999". "tcm:99-99999" is a component "Global EN\Building Blocks\Content\xyz" it seems. I am not sure how to get page links using the core service.
<link xlink:type="simple" xlink:href="tcm:99-99999" xlink:title="TC Bakel - home" xmlns:xlink="http://www.w3.org/1999/xlink" />
I have tried like below but it is listing pages than what actual page
var filter = new UsingItemsFilterData
{
ItemTypes = new[] { ItemType.Page },
BaseColumns = ListBaseColumns.Extended
};
IEnumerable<PageData> usingPages = TridionServiceClient.Instance.GetClient().GetList(field.XlinkHref, filter).OfType<PageData>();