Dear all,
I try to make a user macro where hide different content based on a status text which is stored inside Status Handy.
<ac:structured-macro ac:macro-id="xxxxx" ac:name="status-handy" ac:schema-version="1">
<ac:parameter ac:name="Status">n/a</ac:parameter>
<ac:parameter ac:name="id">19969</ac:parameter>
</ac:structured-macro> <time datetime="2019-01-01"/>
so when Status is n/a i do not want to show a date.
With $body in the user macro, i only get the interpreted string, but not the HTML parsable string.
Any comments how to do so ?
## This is an example macro
## @param Search:title=Search term|type=string|required=true|desc=Enter your searchterm
#if($body.contains($paramSearch))
Found! "$body"
#else
Not found !
#end
thx
Robin