iframe in ms crm 2011 Archives - Microsoft Dynamics 365 Blog http://microsoftdynamics.in/category/iframe-in-ms-crm-2011/ Microsoft Dynamics CRM . Microsoft Power Platform Mon, 18 Dec 2017 10:33:00 +0000 en-US hourly 1 https://wordpress.org/?v=6.5.5 https://i0.wp.com/microsoftdynamics.in/wp-content/uploads/2020/04/cropped-Microsoftdynamics365-blogs.png?fit=32%2C32 iframe in ms crm 2011 Archives - Microsoft Dynamics 365 Blog http://microsoftdynamics.in/category/iframe-in-ms-crm-2011/ 32 32 176351444 How to make a MS CRM form read only by Javascript http://microsoftdynamics.in/2017/12/18/how-to-make-a-ms-crm-form-read-only-by-javascript/ Mon, 18 Dec 2017 10:33:00 +0000 http://microsoftdynamics.in/2017/12/18/how-to-make-a-ms-crm-form-read-only-by-javascript/ Use this code on the page load event of MS CRM  2011/2013 function ReadOnly (){    var controls = Xrm.Page.ui.controls.get();    for (var i in controls)    {        var control = controls[i];        if (!control.getDisabled())        {            control.setDisabled(true);        }   ...

The post How to make a MS CRM form read only by Javascript appeared first on Microsoft Dynamics 365 Blog.

]]>
Use this code on the page load event of MS CRM  2011/2013


function ReadOnly ()
{
    var controls = Xrm.Page.ui.controls.get();
    for (var i in controls)
    {

        var control = controls[i];
        if (!control.getDisabled())
        {
            control.setDisabled(true);
        }
    }
}

SOURCE : mscrm.com

The post How to make a MS CRM form read only by Javascript appeared first on Microsoft Dynamics 365 Blog.

]]>
2769
How to Create Dynamic OptionSet in MS Dynamics CRM 2011 & 2013 dynamics365 http://microsoftdynamics.in/2017/12/18/how-to-create-dynamic-optionset-in-ms-dynamics-crm-2011-2013-dynamics365/ Mon, 18 Dec 2017 10:29:00 +0000 http://microsoftdynamics.in/2017/12/18/how-to-create-dynamic-optionset-in-ms-dynamics-crm-2011-2013-dynamics365/ How to Create Dynamic OptionSet in MS Dynamics CRM 2011 & 2013 This code will help you……………… function dynamicoptionset() { //get value in no in variable     var totaldivision = Xrm.Page.getAttribute(“fieldname” ).getValue();     if (totaldivision == null || totaldivision == “” )         return;     else {         var optionsetControl = Xrm.Page.ui.controls.get( “new_division” );         var options = optionsetControl.getAttribute().getOptions();         optionsetControl.clearOptions();         for ( var i = 0; i < totaldivision; i++) {             optionsetControl.addOption(options[i]);         }    ...

The post How to Create Dynamic OptionSet in MS Dynamics CRM 2011 & 2013 dynamics365 appeared first on Microsoft Dynamics 365 Blog.

]]>
How to Create Dynamic OptionSet in MS Dynamics CRM 2011 & 2013

This code will help you………………
function dynamicoptionset() {

//get value in no in variable
    var totaldivision = Xrm.Page.getAttribute(“fieldname” ).getValue();
    if (totaldivision == null || totaldivision == “” )
        return;
    else {
        var optionsetControl = Xrm.Page.ui.controls.get( “new_division” );
        var options = optionsetControl.getAttribute().getOptions();

        optionsetControl.clearOptions();
        for ( var i = 0; i < totaldivision; i++) {

            optionsetControl.addOption(options[i]);
        }
    }
}


SOURCE : mscrm.com

The post How to Create Dynamic OptionSet in MS Dynamics CRM 2011 & 2013 dynamics365 appeared first on Microsoft Dynamics 365 Blog.

]]>
2771
Passing URL to Iframe , Get and Set url to iframe using javascript in mscrm 2011 http://microsoftdynamics.in/2014/02/20/passing-url-to-iframe-get-and-set-url-to-iframe-using-javascript-in-mscrm-2011/ Thu, 20 Feb 2014 07:47:00 +0000 http://microsoftdynamics.in/2014/02/20/passing-url-to-iframe-get-and-set-url-to-iframe-using-javascript-in-mscrm-2011/ //Passing URL to Iframe function iffffff() {     var IFrame = Xrm.Page.ui.controls.get( “IFRAME_iframes” );     //url value will  be saved in Url variable     var Url = IFrame.getSrc();     alert(Url);     //add new url or add subs to the existing     var trget = Url + “/movie” ;     alert(trget);     //set new value to iframe     IFrame.setSrc(trget);     //test what is new url     var IFramee = Xrm.Page.ui.controls.get( “IFRAME_iframes” );     var Urls = IFrame.getSrc();...

The post Passing URL to Iframe , Get and Set url to iframe using javascript in mscrm 2011 appeared first on Microsoft Dynamics 365 Blog.

]]>
//Passing URL to Iframe
function iffffff() {

    var IFrame = Xrm.Page.ui.controls.get( “IFRAME_iframes” );
    //url value will  be saved in Url variable
    var Url = IFrame.getSrc();
    alert(Url);
    //add new url or add subs to the existing
    var trget = Url + “/movie” ;
    alert(trget);
    //set new value to iframe
    IFrame.setSrc(trget);
    //test what is new url
    var IFramee = Xrm.Page.ui.controls.get( “IFRAME_iframes” );

    var Urls = IFrame.getSrc();
    alert(Urls);
}




SOURCE : JUST2CODE.IN
Subscribe to our YouTube channel : https://www.youtube.com/user/TheRussell2012

The post Passing URL to Iframe , Get and Set url to iframe using javascript in mscrm 2011 appeared first on Microsoft Dynamics 365 Blog.

]]>
2836