Page tree

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


Could we make this dynamic? yes, we can!

ConfiForms evaluates the IFTTT macro body as a Velocity template. See Configuring ConfiForms IFTTT actions and rules and has a number of objects in the context

Code Block
context.put("entry", entry); <- ConfiForms Entry (raw)
context.put("user", user); <- Confluence user object
context.put("page", contentObject); <- AbstractPage object (Page or BlogPost rich object, any getter can be accessed)

which you can reference as any other variable in Velocity using velocity syntax

Which means we can use reference to current page using 

Code Block

We can access parent page of the current page if necessary and so on...

Code Block

quite easy... when you know... 

But to put this into the page we need something else, as Confluence editor does not allow us to do thatput something like this into the parameters....

So, we need to have a way to alter storage format a bit, and this is where Confluence editor plugin helps us, It is a free plugin from Atlassin, which helps to do the "fine tuning".