Evaluating empty fields in Xporter

CoreyM April 21, 2022

I am creating a document for distribution externally and I want to exclude fields that are blank. I am using the following code but it is not evaluating. Any suggestions?

#{if  (% {!'${Admin Email}'.equals('')})}

${Admin Email}

#{end}

1 answer

0 votes
sclarke-aptos-com January 20, 2023

I had a similar issue. Try this 

 

#!{if (%{'${Admin Email}'.length > 0})}

${Admin Email}

#{end}

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events