Confiforms ifttt create page action and velocity

Volker Wulf May 30, 2024

Hello, I want to use velocity to create the page body with my ifttt action. But unfortunately the newly created page contains the velocity source code,  and does not get rendered. But when I wrap the source code in a NoFormat macro, the velocity code gets rendered. A simple example:

This definition
Screenshot 2024-05-30 162416.png
ends up as source code on the page as

Screenshot 2024-05-30 162634.png

But with this definition
Screenshot 2024-05-30 160914.png

velocity is rendered
Screenshot 2024-05-30 162919.png

I thought the body of the ifttt create page action is always rendered as velocity, according to this https://wiki.vertuna.com/display/CONFIFORMS/IFTTT+macro+body+evaluates+as+Velocity+template

Kind regards
Volker

1 answer

1 accepted

0 votes
Answer accepted
Alex Medved _ConfiForms_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 30, 2024

Hi

Consider placing a PlainView, with an enabled parameter to process it’s contents as a Velocity template, inside the ConfiForms IFTTT macro

Alex

Volker Wulf June 3, 2024

Hi

With this trick I was able to add the velocity code. For the page reader it looks fine now, only the page editor has to handle the in my case unused plain view. I think that is doable ;-).

After some further experimenting I found that it is the quotes that cause the problem.

Thanks

Volker

 

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events