What are Site Markers in Dynamics 365 CE Portal?


I was searching something on Portals and reached on Site Markers. Some how I felt that Site Markers are not used much in the Development of Portals. 

Many times we get a requirement to navigate to multiple places on click of buttons and we use Window.location and use the direct URLs or may be we some hyperlinks on Portal and we directly give the URL of the Web Page which works good until someone changes the Partial URL on the Web Page.

Site Markers are something which are designed for this. We have to create Site Markers and link the Web Page that is need and use Site Marker Name in the code to navigate. Here is the syntax for the same.

{ { sitemarkers[“SitemarkerName”].url } }

Changing the name of the Sitemarker is strictly prohibited. This way, we don’t face any issues even if the Partial URL on Web Page has changed. 

Hope this helps.

Happy 365’ing


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s