Skip to main content
Question

What syntax for site map parameter url for modern ui

  • July 22, 2026
  • 5 replies
  • 29 views

For classic ui we can define parameters in the site map that automatically gets filled in for example:
~/Pages/MQ/MQPS4010.aspx?SourceID=ProdOrderDet

this automatically select ProdOrdDet for the SourceID when a user clicks that specific site map, and we can have multiple site maps for the same screen with different SourceIDs specified. I tried the same logic for modern ui using this:
~/Scripts/Screens/MQPS4010.html?SourceID=ProdOrderDet
however, the screen opens with no SourceID selected. What would be the syntax for modernUI screens?

5 replies

jinin
Pro I
Forum|alt.badge.img+12
  • Pro I
  • July 23, 2026

Hi ​@mohammadabujaffar21 ,

This behavior is supported in Classic UI, where query string parameters in the sitemap URL (for example, ?SourceID=ProdOrderDet) are automatically mapped to the screen when it opens.

In Modern UI, this functionality is not currently supported. The HTML-based screens do not automatically bind arbitrary query string parameters from the sitemap URL to filter or DAC fields, so a URL such as:

~/Scripts/Screens/MQPS4010.html?SourceID=ProdOrderDet

will simply open the screen without populating the SourceID field.

At this time, there isn't an equivalent Modern UI URL syntax that provides the same behavior as Classic UI. If you need to prepopulate values in Modern UI, it would require a customization or another navigation approach rather than relying on sitemap URL parameters.


Hi ​@mohammadabujaffar21 ,

This behavior is supported in Classic UI, where query string parameters in the sitemap URL (for example, ?SourceID=ProdOrderDet) are automatically mapped to the screen when it opens.

In Modern UI, this functionality is not currently supported. The HTML-based screens do not automatically bind arbitrary query string parameters from the sitemap URL to filter or DAC fields, so a URL such as:

~/Scripts/Screens/MQPS4010.html?SourceID=ProdOrderDet

will simply open the screen without populating the SourceID field.

At this time, there isn't an equivalent Modern UI URL syntax that provides the same behavior as Classic UI. If you need to prepopulate values in Modern UI, it would require a customization or another navigation approach rather than relying on sitemap URL parameters.

Thanks for the clarification, would you know of another navigation approach that allows us to automatically set different values for the same screen?


jinin
Pro I
Forum|alt.badge.img+12
  • Pro I
  • July 23, 2026

As far as I know, there isn't a built-in navigation approach in Modern UI that allows passing different parameter values to the same screen via the sitemap like Classic UI does.

If you need different default values, it would require a customization (for example, handling the navigation in code and setting the values programmatically). I haven't come across a built-in alternative that provides the same behavior.


As far as I know, there isn't a built-in navigation approach in Modern UI that allows passing different parameter values to the same screen via the sitemap like Classic UI does.

If you need different default values, it would require a customization (for example, handling the navigation in code and setting the values programmatically). I haven't come across a built-in alternative that provides the same behavior.

How is it able to work for standard modern ui screens like the customers screen:
~/Scripts/Screens/AR303000.html?AcctCD=AACUSTOMER

where changing the url link seems to also change the dac fields value. I set it in site map and it works.


jinin
Pro I
Forum|alt.badge.img+12
  • Pro I
  • July 23, 2026

That's because AcctCD is the key field for the Customers screen. Modern UI supports opening a screen with a specific record by passing its key value in the URL (for example, ?AcctCD=AACUSTOMER).

However, this behavior doesn't extend to arbitrary filter or DAC fields such as SourceID. As far as I know, there isn't a built-in way to pass those values through the sitemap URL in Modern UI.  🙂