Keyword replacement In Remote URL from Nested Content


(Rahul Jhaveri) #1

Matrix Version: v 5.4.1.3

I have a Standard Page which has a Nested Content which connected to a Remote Content.
I would like to make the Remote URL dynamic by using Keyword Replacement.

In my Nested Content - I have a GET Parameter “courseId = 12345”
In my Remote URL under Remote content I want to do something like this:
http://www.google.com/%nested_get_courseId%

but it does not work.

Any help would be great.

Thanks


My access was has been blocked because in a reply to your answer I was uploading images to explain the issue.
Either way until that is lifted - I thought I mention it here that the Keyboard Replacement you suggested does not work.

Cheers


(Bart Banda) #2

What about if you use %globals_get_courseId% ?


(Rahul Jhaveri) #3

Nope that does not work.



(Bart Banda) #4

Hmm, might be a case of the Remote Content page not having access to the parameters passed in the Nested Content block Additiona GET Parameters section.

What if you add courseId in the URL when you view the asset on the front end to see if the global keywords on the Remote Content Page works at all? www.site.com/standard-page?courseId=1234

Alternatively, try using a REST asset to pull the data in instead of a Remote Content page perhaps?


(Rahul Jhaveri) #5

Thank you Bart - REST asset worked perfectly :slight_smile: