Skip to main content
Level 4
Oct 16, 2015 2:28 AM UTC
Solved

Using Request or dynamic Variables in RTE

Hi , 

  I am trying to implement a use case where user is redirected to thank you page . As with normal content i would also like to give content author provision to add some dynamic variables like 'ID' ,'NAME' ...

 

As there is content which content editors want to play around , RTE would best suit them but I'm not sure what approach should be taken to allow them to add dynamic variables in the content . There is an existing Text component in /libs/mcm/components/newsletter/text which has been implemented using  a similar approach but the variables are picked from client context and user cq personalization library . I'm not using personalization nor any frameworks like angular where i can have the values stored in scope . I can only have request variables from the URL  . Any approaches or pointers to achieve this use case ?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Lokesh_Shivalingaiah
Lokesh_ShivalingaiahAccepted solution
Level 10
Oct 16, 2015 2:28 AM UTC

One of the easiest approach would be to add the requestscope variable to clientcontext object and access the same in text

1 reply

Lokesh_Shivalingaiah
Lokesh_ShivalingaiahAccepted solution
Level 10
Oct 16, 2015 2:28 AM UTC

One of the easiest approach would be to add the requestscope variable to clientcontext object and access the same in text

Translate