Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 79901

Error when calling dialog from js

$
0
0

Hi ,

I got an error 'wrong url' when calling my dialog from js function.

function callDialog(dialogId, entityName, objectId) {

{
var url = Xrm.Page.context.getClientUrl() + "/cs/dialog/rundialog.aspx?DialogId=" +"7bA092EA24-6246-4F32-9341-4AB11A5077E9"+ "&EntityName=" +entityName + "&ObjectId=" +Xrm.Page.data.entity.getId();
window.open(url);
}

Any suggestions,


Viewing all articles
Browse latest Browse all 79901

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>