EL expression for file:content being empty

How would I phrase the EL expression to be “the file content of the document is empty”, so there are no files in the actual content of the document. So far I have:

{document.getProperty(“file:content”)=='empty'}

so this gets the file content, but the “'empty'” part is wrong.

Thank you!

0 votes

2 answers

2927 views

ANSWER



This works for me in a an Action Activation custom EL field:

1 votes



Hy, perhaps like this : file:filename IS NOT NULL

0 votes



I would try #{empty document.getProperty(“file:content”)}. But is it in EL or MVEL?
11/13/2015