Using Request or dynamic Variables in RTE | Community
Skip to main content
New Participant
October 16, 2015
Solved

Using Request or dynamic Variables in RTE

  • October 16, 2015
  • 1 reply
  • 1034 views

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.
Best answer by Lokesh_Shivalingaiah

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
New Participant
October 16, 2015

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