Hello!
Is there anything special, which needs to happen in order to use custom sitemarkers in the Liquid code?
I have following liquid code:
{% assign mysite = sitemarkers['Patient'] %}
<a href="{{mysite.url}}?id={{ attr.id}}">{{ sitemarkers['Patient'].url }}{{ attr.name }}</a>
Where Patient is my custom sitemarker, and the above returns empty string. However when I change the sitemark to preexisting one (like Search/Home) it works and the URL is provided for me.
Screenshot of the Patient Site Marker and all site markers attached.
EDIT: Strangely enough I couldn't find anything in the Internet / documentation so I guess not, but then why the above doesn't work? As you can see I tried assign and accessing directly the sitemarkers object, and it still doesn't work. Tried ["Patient"] (as in some examples) and [Patient] (as in the MS docs, and this actually fails altogether).