I am using getCaption() to export Enum. But I find out when my Enum field does not have value, it throws error. I try to compare it with empty before using getCaption() but it still give me same error. Please help.
asked
Xuan Huy Nguyen
3 answers
3
Hi!
This works for me:
if($currentObject/Enum != empty)
then getCaption($currentObject/Enum)
else '’
If it isn't working:
Can you share a screenshot of what you are trying to do?
answered
Wout Bakker
0
I am using same method as yours but it isn’t working on my case.
When that Enum field is selected, no error is thrown.