
Hi All -
We are trying to load SSRS Report on click of Ribbon button in D365 V9.0. We have taken below code approach & its working fine as expected in classic UI, but unfortunately its not working for Unified Client Interface.
Report is not loading in Unified client interface.
var rdlName = "Committee Agenda Report.rdl";
var reportGuid = "{0F04C8AE-95D3-E811-A96B-000D3A1BECE3}";
var entityType = formContext.context.getQueryStringParameters().etc;
var entityGuid =formContext.data.entity.getId().replace('{','').replace('}','');
var entityGuidWithParanthesis = "{"+entityGuid+"}";
var url = Xrm.Page.context.getClientUrl() + "/crmreports/viewer/viewer.aspx?action=run&context=records&helpID=" + rdlName + "&id=" + reportGuid + "&records=" + entityGuid + "&recordstype=" + entityType+"&p:CommitteeMeetingId="+ entityGuidWithParanthesis;
window.open(url, null, 800, 600, true, false, null);
If anybody faced same issue & found any fix around it then please help us to solve this.
Hi,
This is the unsupported code which used to work on the Classic interface. Unified Interface doesn't allow reports as yet. Also, window.open is again unsupported and will not work in unified interface.
docs.microsoft.com/.../about-unified-interface
Hope this helps.