hello dev i want check if field is empty in xml/text transformation but ist not work
{% IfEmpty(JobLink, "" ,"<a href="+ JobLink() +" class="news">view this job </a><i class="fa fa-angle-right"></i>") %}
You are using transformation function inside macro. You should use macrostring.IsNullOrEmpty(joblink,"","your link") instead.
string.IsNullOrEmpty(joblink,"","your link")
Please, sign in to be able to submit a new answer.