I think I have found a bug with Sitemap relative URLs and Unified Interface mode. Does anyone know if there is a way to get them working?
When converting a legacy app to a new model app, one of the issues encountered was that the Sitemap direct links to reports stopped showing in Unified Interface mode.
In the Sitemap Designer, found that the URLs for each report link was a relative URL. Changing the link to absolute would show the links, but this would make the sitemap less portable and would require manually editing the SiteMap in each environment.
To clarify...
This relative URL works in legacy mode, but not in Unified Interface mode:
/crmreports/viewer/viewer.aspx?action=run&id=[Report guid here]&helpID=Account%20Overview.rdl
This absolute URL works in both modes, but is not portable across environments:
https://[organization url here]/crmreports/viewer/viewer.aspx?action=run&id=[Report guid here]&helpID=Account%20Overview.rdl
Confirming Legacy App Sitemap report relative urls work
Set Use Unified Interface only to Off
- Navigate to the Power Platform admin center (https://admin.powerplatform.microsoft.com), and navigate to the environment’s settings
- Set Behaviour > Behaviour option Use Unified Interface only to Off
Configure the Legacy App Site Map
In the Customer Service legacy app, configure the relative report URL in the Sitemap designer.
For example: add a Sub Area with
- Title: Account Overview
- URL: /crmreports/viewer/viewer.aspx?action=run&id=[Report guid here]&helpID=Account%20Overview.rdl
NOTE: The relative url, doesn’t require the organization url - Publish the Site Map and Model App
Test it
Open the legacy app and clicking on the new navigation link it will open the report as expected
Confirming Unified Interface Sitemap report relative urls don’t work
Set Use Unified Interface only to On
- Navigate to the Power Platform admin center (https://admin.powerplatform.microsoft.com), and navigate to the environment’s settings
- Set Behaviour > Basic Behaviour option Use Unified Interface only to On
Test it
Open the legacy app again. Will now display in Unified Interface mode with the navigation panel not showing the relative navigation link at all.
There is a workaround, change the URL to an absolute by adding the organization url part.
For example: URL: [organization url]/crmreports/viewer/viewer.aspx?action=run&id=[Report guid here]&helpID=Account%20Overview.rdl
However, this makes the sitemap less portable and requires manually editing the SiteMap in each environment.
Have confirmed that this behavior also applies to Modern Apps, such as Customer Service Hub.