Remote content: Use asset metadata field to set Remote URL

Hi,

Is it possible to nest a Remote Content asset into a paint layout and have the Remote URL field populated by another page’s metadata field?

I can get the Remote Content asset to work fine by manually entering in a URL into the Remote URL field. But if I try to put in a keyword - say %asset_metadata_page.url% or %globals_asset_metadata_page.url% - it returns with Content cannot be accessed.

I’m on v5.4.0.1.

Thanks
Robin.

Haven’t tried that myself, but maybe try using a REST JS asset instead? They are far more flexible than the Remote Content page and definitely work with dynamic global keywords.

Thanks Bart, that’s worked perfectly - just had to write a bit of code to get the start/end tag functionality of the remote content asset to work with the REST asset.

1 Like

We’ve just encountered this too, and while the JS REST Resource asset does the trick for the initial load, it doesn’t give us the tunneling functions of the Remote Content asset that we need.

Is there any way to dynamically populate the Remote URL field using metadata (that question wasn’t quite answered…)?

Doesn’t look like it I’m afraid. But you could potentially point the Remote content asset at the REST asset and proxy it that way?

I’ve added that as a feature request to our roadmap tool: https://squizmap.squiz.net/matrix/12032