Listing notice links on a design customisation


(Dave Lang) #1

I’m looking to create a user friendly list of the pages with a specific customisation applied.

In the linking page for a design customisation you can see all the assets with it applied (easily identified by the link value), you can also retrieve these using the SOAP API/JS API.

Our Squiz configuration is a bit odd & I can’t directly call the SOAP API from Squiz as it doesn’t get the correct host from the WSDL, if Squiz let me use a custom endpoint for the SOAP Data Source it would solve this.

I’ve taken a look at the JS API but it seems like a bit of a hassle to call this via the REST Datasource and there’s no examples that I could find.

When trying to use an Asset Listing (link types set to NOTICE & relevant asset types set) it returns nothing. Is there a way to do this? I would have expected to get back anything listed as NOTICE links on the customisation


(Bart Banda) #2

Designs are only applied via linking on assets where you specifically apply them to (as a child NOTICE link). It won’t be viewable on all assets that inherit the design based on their URL.

If you use the %asset_linking_info% keyword on the Design Customisation you want to do a report on it should bring back all NOTICE links as well (in a JSON object) and you can display the data from there.

You can also use the %asset_design_id% keyword on assets to see which design is applied to a specific asset.


(Dave Lang) #3

Thanks Bart, I can’t seem to get the asset listing to return anything (set to all link types, asset type is page & design customisation), I would have expected to see the assets with it applied directly.

I’d forgotten %asset_linking_info%, it does return what I’m after.