I have a custom page type and template using transformations to display user input. Macros are bein

Kim Tompkins asked on March 19, 2021 22:32

on my page type I have several fields all of them are long text with a rich text editor. I am then using transformations to display the fields on the page template. When a new page is created using the page type and template the user is presented with the page type fields to populate. if a macro expression is typed in the field ( while using the rich text editor or the source button) that macro is not evaluated it is printed to the screen. Is there a way to have the macro evaluated and not treated as text.

Recent Answers


Juraj Ondrus answered on March 22, 2021 05:59

What type of transformation are you using? I guess it is text type and you are using macros in the transformation too. For security reasons recursive macro resolution is disabled and you need to add recursive macro parameter to the parent macro. Or, use macro like {%ResolveMacros(FieldName)%}

0 votesVote for this answer Mark as a Correct answer

Kim Tompkins answered on March 22, 2021 15:52

Thank you! This is exactly what I needed.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.