RL
05/28/2020, 9:45 AM*@NApiVersion 2.x
*@NScriptType Portlet
*/
define([],
function() {
function render(params) {
params.portlet.title = 'PowerBI Test';
var content = '<iframe width="100%" height="640" frameborder="0" src="<https://app.powerbi.com/reportEmbed?reportId=123Test>"></iframe>';
params.portlet.html = content;
}
return {
render: render
};
});
NElliott
05/28/2020, 10:36 AMdansteg
05/28/2020, 1:33 PMdansteg
05/28/2020, 1:34 PMRL
05/28/2020, 1:45 PMparams.entity Verified it with params.portlet.html = params.entity & it shows the correct ID on the customer dashboard (same ID as in the URL entityid=5 )
Thank you! Wow ... I have been overthinking this when it was right in front of me. Was able to source the internalid using your example. So the last piece ... is it simply a matter of including +params.entity+ in the URL to pick up the value?PNJ
05/28/2020, 1:49 PM