in mscrm 2013 Archives - Microsoft Dynamics 365 Blog http://microsoftdynamics.in/category/in-mscrm-2013/ Microsoft Dynamics CRM . Microsoft Power Platform Fri, 24 Apr 2020 14:32:13 +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 in mscrm 2013 Archives - Microsoft Dynamics 365 Blog http://microsoftdynamics.in/category/in-mscrm-2013/ 32 32 176351444 Validation to accept only Numeric Character in MS CRM http://microsoftdynamics.in/2018/01/07/validation-to-accept-only-numeric-character-in-ms-crm/ Sun, 07 Jan 2018 14:46:00 +0000 Below script is a generic validation which will show for error if field is having anything except numeric value function ValidateOnlyNumeric(context) {     var fieldname = context.getEventSource().getName();     var phone = Xrm.Page.getAttribute(fieldname).getValue();     if (checkFormat(phone)) {         Xrm.Page.getControl(fieldname).clearNotification();     } else {         Xrm.Page.getControl(fieldname).setNotification(“Please enter only numeric characters”);     } } function checkFormat(phone) {     var regex = /^d+$/;     if (regex.test(phone)) {         return true;     } else {         return false;     }...

The post Validation to accept only Numeric Character in MS CRM appeared first on Microsoft Dynamics 365 Blog.

]]>

Below script is a generic validation which will show for error if field is having anything except numeric value


function ValidateOnlyNumeric(context) {
    var fieldname = context.getEventSource().getName();
    var phone = Xrm.Page.getAttribute(fieldname).getValue();
    if (checkFormat(phone)) {
        Xrm.Page.getControl(fieldname).clearNotification();
    } else {
        Xrm.Page.getControl(fieldname).setNotification(“Please enter only numeric characters”);
    }
}
function checkFormat(phone) {
    var regex = /^d+$/;
    if (regex.test(phone)) {
        return true;
    } else {
        return false;
    }
}

To enable it for any field just register it on change of the required field with function name “ValidateOnlyNumeric” and check “Pass execution context as first parameter ” and save an publish it will start working

Hope it helps

Happy Coding 😊

The post Validation to accept only Numeric Character in MS CRM appeared first on Microsoft Dynamics 365 Blog.

]]>
2757
Insert Hyperlink in Email using workflow in ms crm 2013 , mscrm , Microsoft Dynamics CRM http://microsoftdynamics.in/2015/11/16/insert-hyperlink-in-email-using-workflow-in-ms-crm-2013-mscrm-microsoft-dynamics-crm/ Mon, 16 Nov 2015 16:00:00 +0000 http://microsoftdynamics.in/2015/11/16/insert-hyperlink-in-email-using-workflow-in-ms-crm-2013-mscrm-microsoft-dynamics-crm/ Below are the steps to add hyperlink in Email using workflow in ms crm . 1. open workflow add Send Email Step 2.  Now click on ICON to add details url etc.  Now hyperlink URL will be available in Email. SOURCE : JUST2CODE.IN Subscribe to our YouTube channel : https://www.youtube.com/user/TheRussell2012

The post Insert Hyperlink in Email using workflow in ms crm 2013 , mscrm , Microsoft Dynamics CRM appeared first on Microsoft Dynamics 365 Blog.

]]>
Below are the steps to add hyperlink in Email using workflow in ms crm .

1. open workflow add Send Email Step

2.  Now click on ICON to add details url etc. 

Now hyperlink URL will be available in Email.


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

The post Insert Hyperlink in Email using workflow in ms crm 2013 , mscrm , Microsoft Dynamics CRM appeared first on Microsoft Dynamics 365 Blog.

]]>
2786