Using Request or dynamic Variables in RTE

Avatar

Avatar

Krisgum

Avatar

Krisgum

Krisgum

15-10-2015

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 ?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

bsloki

MVP

Avatar

bsloki

MVP

bsloki
MVP

15-10-2015

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

Answers (0)