| Template expressions | Any kind of string Template Expression | [[Title]] [[Firstname]] |
| Assignment Expressions | Start with "[[=" and any kind of string Expression | [[= [[Title]] + ", " + [[Firstname]] ]] |
| Function Code Expressions | Start with "[[{" in the Tag property. Write your complex expression as content in the placeholder | [[{ var arr = [[@Web.GetValuesForQuery('OtherList', '<View></View>', 'Total')]]; var sum = 0; arr.forEach(n=>sum +=n); return sum; }]] |
| Lookup Values | Use the *doesn't work in Scheduled & Triggered actions | Examples:[[Department.Code]]*[[Department.Author]]*[[Department.Key]] -> to get the item ID of the department |
| If Conditions | Start with [[if …]] and any kind of boolean Expression (Condition).Ends with [[end if]] Everything between the starting and the ending tag will be visible if the condition is true. This can be text, an image etc. | [[if [[Budget]] > [[Outgoings]] ]][[Title]][[end if]][[if {return ([[Budget]] > [[Outgoings]]);} ]][[Title]][[end if]][[if [[Status]]!="Completed" ]][[Title]][[end if]] |
| Loops | Start with 1.SublistTitle. For example, Use | [[loop]][[Title]][[end loop]][[loop SubListTitle filterlookupfield('field_internal_name') rowlimit(number)]][[Title]][[Firstname]][[end loop]] |
| Filtered Loops | Where SomeView is a view .aspx page title, such as AllItems. The order and filter of the view are applied. If CAML query is added (optional), it is united with the view query using an ‘and’ operator. | [[loop SublistTitle view('SomeView') query('<Where><BeginsWith><FieldRef Name="Title" /><Value Type="Text">[[{return [[Title]];}]]</Value></BeginsWith></Where>')]][[Title]][[end loop]] |
| Loops over documents in sublibraries | Use the Scope="Recursive" property on the query to get documents in a folder, when used as sublibrary of a form. Combine recursive scope and filter in CAML query to filter the listed document’s metadata. | [[loop SublibraryName query('<View Scope="Recursive"></View>')]][[FileLeafRef]][[Title]][[OtherField]][[end loop]][[loop SublibraryName query('<View Scope="Recursive"><Query><Where><Eq><FieldRef Name="IsActive" /><Value Type="Boolean">1</Value></Eq></Where><OrderBy></OrderBy></Query></View>')]][[FileLeafRef]][[Title]][[OtherField]][[end loop]] |
| Nested Loops | Looping over a sublist inside of the loop over multiple items of the parent list is supported. In case |
|
| Loops over table rows | It is possible to loop over table rows by adding the loop inside the table. In the case of nested loops, if the loop on the parent list is placed into the external table, this will render a separate table for each parent item | [[loopSubListTitle]][[Title]] [[Firstname]] [[Lastname]][[end loop]] [[loop]] [[Title]][[Title]] [[Firstname]] [[Lastname]][[end loop]] [[end loop]] |
| Image | Show an image inside the document. Note: [[image...]] placeholder works only with images on current Site for Scheduled & Triggered actions | [[image ([[Picture]], width, height, maxwidth, maxheight, minwidth, minheight)]] Without width and height: [[image ([[Picture]])]] Static width and height: [[image ([[Picture]], 50, 50)]] Static width: [[image ([[Picture]], 20)]] Static height: [[image ([[Picture]],,150)]] [[image ([[Picture]], '', '', 100, 300)]][[image ([[Picture]], maxwidth=100, maxheight=300)]][[image (url=[[Picture]], maxwidth=100, maxheight=300)]] |
| Link | Create a link in the document |
|
| HTML | Allow to insert HTML content inside the document. Supported Supported tags: <b>, <i>, <u>, <ul>, <ol>, <li>, <span>, <div>, <p>, <h1-h6>, <br>, <a>, <table>, <img>. Allow to insert inline into html placeholder. |
|