Hi Ahmed,
I copy the e-mail which I have sent yo you:
You may use a default value for that macro like:
{%joinurl|<the_default_value>%} (
Macro expressions)
to avoid an empty URL. If you need the conditions, you can develop a custom macro (
Macro expressions) with a custom code or maybe use nested macros in some way (
Macro parameters).
Best regards,
Helena Grulichova