mscrm 2015 Archives - Microsoft Dynamics 365 Blog https://microsoftdynamics.in/category/mscrm-2015/ Microsoft Dynamics CRM . Microsoft Power Platform Fri, 24 Apr 2020 14:32:22 +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&ssl=1 mscrm 2015 Archives - Microsoft Dynamics 365 Blog https://microsoftdynamics.in/category/mscrm-2015/ 32 32 176351444 Unable to Connect Plugin Registration tool with MS CRM v9 / D365 SDK https://microsoftdynamics.in/2018/01/13/unable-to-connect-plugin-registration-tool-with-ms-crm-v9-d365-sdk/ https://microsoftdynamics.in/2018/01/13/unable-to-connect-plugin-registration-tool-with-ms-crm-v9-d365-sdk/#comments Sat, 13 Jan 2018 07:25:00 +0000 ISSUES: Not able to login Plugin registration tool (Keep popping up for Credentials) Resolution: 1. Update latest SDK from the Download tools from NuGet or Quick start Plugin Registration Tool V9.0.0.7 For downloading the latest PRT from VS Nuget packages – this link might be useful 2. Modify using TSL to 1.2 through Fiddler . Step 1 Open Fiddler and navigate...

The post Unable to Connect Plugin Registration tool with MS CRM v9 / D365 SDK appeared first on Microsoft Dynamics 365 Blog.

]]>
ISSUES:
Not able to login Plugin registration tool (Keep popping up for Credentials)
Resolution:
1. Update latest SDK from the Download tools from NuGet or Quick start Plugin Registration Tool V9.0.0.7

For downloading the latest PRT from VS Nuget packages – this link might be useful

2. Modify using TSL to 1.2 through Fiddler .

Step 1 Open Fiddler and navigate to Tools – Options – HTTPS Tab

Step 2 Under HTTPS tab click on to Protocols link – a Popup will come change the TLS vesion from 1.0 / 1.1 to tls 1.2.  i.e. <client>;ssl3;tls1.2 ” and press on ok

Now you will be able to connect to your CRM v9 Organisation with PRT

Happy CRMing 😊

SOURCE : mscrm.com

The post Unable to Connect Plugin Registration tool with MS CRM v9 / D365 SDK appeared first on Microsoft Dynamics 365 Blog.

]]>
https://microsoftdynamics.in/2018/01/13/unable-to-connect-plugin-registration-tool-with-ms-crm-v9-d365-sdk/feed/ 2 2753
Validation to accept only Numeric Character in MS CRM https://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
CRM Rest Builder for Dynamics CRM D365 / MSCRM 2013, 2015, 2016 https://microsoftdynamics.in/2018/01/02/crm-rest-builder-for-dynamics-crm-d365-mscrm-2013-2015-2016/ Tue, 02 Jan 2018 07:34:00 +0000 http://microsoftdynamics.in/2018/01/02/crm-rest-builder-for-dynamics-crm-d365-mscrm-2013-2015-2016/ Navigate to the below URL and Download the latest version of the solution of CRM Rest Builder For 2015 & 2016 & D365 use the v2.5.0.0 releaseFor 2011 & 2013 use the v1.5.0.0 release 1) CRM Rest Builder GIT Hub URL2) CRM Rest Builder Drive  v2.5.0.0 , v1.5.0.0 And follow the below steps Step 1 – Navigate to...

The post CRM Rest Builder for Dynamics CRM D365 / MSCRM 2013, 2015, 2016 appeared first on Microsoft Dynamics 365 Blog.

]]>
Navigate to the below URL and Download the latest version of the solution of CRM Rest Builder

For 2015 & 2016 & D365 use the v2.5.0.0 release
For 2011 & 2013 use the v1.5.0.0 release

1) CRM Rest Builder GIT Hub URL
2) CRM Rest Builder Drive  v2.5.0.0 , v1.5.0.0

And follow the below steps

Step 1 – Navigate to your Organisation Settings -> Solutions and click on Import Button

Step 2 – Click on to Browse Button

Step 3 – Navigate to the solution file previously downloaded and click on open and then click on Next



Step 4 – Click on to Import Button

Step 5 – After some time you will see the below success message

Step 6 – Now you will be able to see the CRM Rest Builder Button on the ribbon bar on solutions Click on it

And You are good to go with CRM Rest Builder

Happy CRMing 😊


SOURCE : mscrm.com

The post CRM Rest Builder for Dynamics CRM D365 / MSCRM 2013, 2015, 2016 appeared first on Microsoft Dynamics 365 Blog.

]]>
2762
Get / Retrieve all Entity Metadata from an organization in MSCRM 2011, 2013 ,2015 usin C# https://microsoftdynamics.in/2015/09/01/get-retrieve-all-entity-metadata-from-an-organization-in-mscrm-2011-2013-2015-usin-c/ Tue, 01 Sep 2015 11:45:00 +0000 http://microsoftdynamics.in/2015/09/01/get-retrieve-all-entity-metadata-from-an-organization-in-mscrm-2011-2013-2015-usin-c/ Below Code Retrieve all entities , who’s Responce can be used to bind entities to drop down or grid etc .  RetrieveAllEntitiesRequest req = new RetrieveAllEntitiesRequest();            req.EntityFilters = EntityFilters.Entity;             RetrieveAllEntitiesResponse resp = (RetrieveAllEntitiesResponse)service.Execute(req);             foreach (var entity in resp.EntityMetadata) ...

The post Get / Retrieve all Entity Metadata from an organization in MSCRM 2011, 2013 ,2015 usin C# appeared first on Microsoft Dynamics 365 Blog.

]]>
Below Code Retrieve all entities , who’s Responce can be used to bind entities to drop down or grid etc .

 RetrieveAllEntitiesRequest req = new RetrieveAllEntitiesRequest();
            req.EntityFilters = EntityFilters.Entity;

            RetrieveAllEntitiesResponse resp = (RetrieveAllEntitiesResponse)service.Execute(req);

            foreach (var entity in resp.EntityMetadata)
            {
                //bind it with dropdown ETC
                entities.Items.Add(entity.LogicalName);

            }

Hope This Helped You Thanks For the Support , If Any query or suggestion , please comment below


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

The post Get / Retrieve all Entity Metadata from an organization in MSCRM 2011, 2013 ,2015 usin C# appeared first on Microsoft Dynamics 365 Blog.

]]>
2795
Get Server URL or IP using JavaScript in MSCRM 2011 , MSCRM 2013 , MSCRM 2015 https://microsoftdynamics.in/2015/06/10/get-server-url-or-ip-using-javascript-in-mscrm-2011-mscrm-2013-mscrm-2015/ Wed, 10 Jun 2015 12:55:00 +0000 http://microsoftdynamics.in/2015/06/10/get-server-url-or-ip-using-javascript-in-mscrm-2011-mscrm-2013-mscrm-2015/ Some time we need to get server IP  instead of Server URL Like when we need to write Odata Query in dev and frequently sift Solution from dev to production , it imp to get Ip dynamically so , you Odata don’t give error . // Simple Server Url using JavaScript var serverUrl = Xrm.Page.context.getServerUrl();...

The post Get Server URL or IP using JavaScript in MSCRM 2011 , MSCRM 2013 , MSCRM 2015 appeared first on Microsoft Dynamics 365 Blog.

]]>
Some time we need to get server IP  instead of Server URL Like when we need to write Odata Query in dev and frequently sift Solution from dev to production , it imp to get Ip dynamically so , you Odata don’t give error .
// Simple Server Url using JavaScript
var serverUrl = Xrm.Page.context.getServerUrl();
//Work fine for both IP And server

var serverUrl = document.location.protocol + “//” + document.location.host + “/” + Xrm.Page.context.getOrgUniqueName();

This Above code will work fine for both Server IP or Url as when we access mscrm record with only server name ( but our odata code contain ip it will throw an exception ) or if we access with IP ans our code contain server url so to prevent this we can use above code to get dynamic URL address.

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

The post Get Server URL or IP using JavaScript in MSCRM 2011 , MSCRM 2013 , MSCRM 2015 appeared first on Microsoft Dynamics 365 Blog.

]]>
2797
Activate / Deactivate a record using c# in MS CRM 2011 , MS CRM 2013 , MS CRM 2015 ( using SetStateRequest ) https://microsoftdynamics.in/2015/02/25/activate-deactivate-a-record-using-c-in-ms-crm-2011-ms-crm-2013-ms-crm-2015-using-setstaterequest/ Wed, 25 Feb 2015 12:29:00 +0000 http://microsoftdynamics.in/2015/02/25/activate-deactivate-a-record-using-c-in-ms-crm-2011-ms-crm-2013-ms-crm-2015-using-setstaterequest/ hey , as we offensively get requirement to activate and reactivate a record then we start using update event , but there is a very simple method to do so , by using SetStateRequest : it require an assembly ” microsoft.crm.sdk.proxy.dll ” and using ” using Microsoft.Crm.Sdk.Messages;” . Code will be : SetStateRequest req = new SetStateRequest(); //the...

The post Activate / Deactivate a record using c# in MS CRM 2011 , MS CRM 2013 , MS CRM 2015 ( using SetStateRequest ) appeared first on Microsoft Dynamics 365 Blog.

]]>

hey , as we offensively get requirement to activate and reactivate a record then we start using update event , but there is a very simple method to do so , by using SetStateRequest : it require an assembly ” microsoft.crm.sdk.proxy.dll ” and using ” using Microsoft.Crm.Sdk.Messages;” .
Code will be :
   SetStateRequest req = new SetStateRequest();
//the entity you want to change the state of
req.EntityMoniker = new EntityReference("new_abc", recordId);
//what should the new state be
req.State = new OptionSetValue(1);
//Pick an option from the status reason picklist to specify reason for state change
req.Status = new OptionSetValue(2);
SetStateResponse resp = (SetStateResponse)service.Execute(req);

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

The post Activate / Deactivate a record using c# in MS CRM 2011 , MS CRM 2013 , MS CRM 2015 ( using SetStateRequest ) appeared first on Microsoft Dynamics 365 Blog.

]]>
2799
Fields that are not valid were specified for the entity – Importing Solution Error mscrm 2011 , mscrm 2013 , mscrm 2015 https://microsoftdynamics.in/2015/02/25/fields-that-are-not-valid-were-specified-for-the-entity-importing-solution-error-mscrm-2011-mscrm-2013-mscrm-2015/ Wed, 25 Feb 2015 12:12:00 +0000 http://microsoftdynamics.in/2015/02/25/fields-that-are-not-valid-were-specified-for-the-entity-importing-solution-error-mscrm-2011-mscrm-2013-mscrm-2015/ Hey , I was importing a solution today from an other Organization and got a Error new to me :  Fields that are not valid were specified for the entity , as there was no description i was little confused , but after few R&D came up with perfect resolution of the error . Reason ...

The post Fields that are not valid were specified for the entity – Importing Solution Error mscrm 2011 , mscrm 2013 , mscrm 2015 appeared first on Microsoft Dynamics 365 Blog.

]]>
Hey , I was importing a solution today from an other Organization and got a Error new to me :  Fields that are not valid were specified for the entity , as there was no description i was little confused , but after few R&D came up with perfect resolution of the error .

Reason 

  • Organization “A” conatined attribute ‘new_mscrm’ that was of type “single line” ,Later  We changed that the field  to be an currency Type.
  • But in Organization “B” was containg same field ‘new_mscrm’ of type “Single line”.
  • When we tried to import back the new solution to test environment we got this Import failure message as the solution we were importing was having a field ‘new_mscrm’ of type Currency

Solution

  • Just delete the field in the Organization in which you are importing the solution and reimport the same solution to it
Hope this helped you Thanks

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

The post Fields that are not valid were specified for the entity – Importing Solution Error mscrm 2011 , mscrm 2013 , mscrm 2015 appeared first on Microsoft Dynamics 365 Blog.

]]>
2800
Get Entity Name Using JavaScript in ms crm 2011 , ms crm 2013 , ms crm 2015 ( get dynamically Entity Name using Javascript) https://microsoftdynamics.in/2015/02/19/get-entity-name-using-javascript-in-ms-crm-2011-ms-crm-2013-ms-crm-2015-get-dynamically-entity-name-using-javascript/ Thu, 19 Feb 2015 12:51:00 +0000 http://microsoftdynamics.in/2015/02/19/get-entity-name-using-javascript-in-ms-crm-2011-ms-crm-2013-ms-crm-2015-get-dynamically-entity-name-using-javascript/ Below is the Code for Fetching Name of an Entity Using JavaScript In mscrm , Which can be used for many purposes  Like if you want to popup an new entity form ( you can create a generic function ) var entityName = Xrm.Page.data.entity.getEntityName(); // Pop Up example var id = Xrm.Page.data.entity.getId(); var entityName =...

The post Get Entity Name Using JavaScript in ms crm 2011 , ms crm 2013 , ms crm 2015 ( get dynamically Entity Name using Javascript) appeared first on Microsoft Dynamics 365 Blog.

]]>

Below is the Code for Fetching Name of an Entity Using JavaScript In mscrm , Which can be used for many purposes  Like if you want to popup an new entity form ( you can create a generic function )
 var entityName = Xrm.Page.data.entity.getEntityName();
// Pop Up example
 var id = Xrm.Page.data.entity.getId();
var entityName = Xrm.Page.data.entity.getEntityName();
Xrm.Utility.openEntityForm(entityName, id);


Hope This Helps You Thanks.

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

The post Get Entity Name Using JavaScript in ms crm 2011 , ms crm 2013 , ms crm 2015 ( get dynamically Entity Name using Javascript) appeared first on Microsoft Dynamics 365 Blog.

]]>
2802
Get field Name Using JavaScript in ms crm 2011 , ms crm 2013 , ms crm 2015 ( get dynamically field Label using JavaScript) https://microsoftdynamics.in/2015/02/19/get-field-name-using-javascript-in-ms-crm-2011-ms-crm-2013-ms-crm-2015-get-dynamically-field-label-using-javascript/ Thu, 19 Feb 2015 12:14:00 +0000 http://microsoftdynamics.in/2015/02/19/get-field-name-using-javascript-in-ms-crm-2011-ms-crm-2013-ms-crm-2015-get-dynamically-field-label-using-javascript/ Hi all below you will find how to get field label name using JavaScript . var fieldname = executionContext.getEventSource().getName(); NOTE: Remember to pass context as perimeter while submitting function Name. SOURCE : JUST2CODE.IN Subscribe to our YouTube channel : https://www.youtube.com/user/TheRussell2012

The post Get field Name Using JavaScript in ms crm 2011 , ms crm 2013 , ms crm 2015 ( get dynamically field Label using JavaScript) appeared first on Microsoft Dynamics 365 Blog.

]]>

Hi all below you will find how to get field label name using JavaScript .
 var fieldname = executionContext.getEventSource().getName();
NOTE: Remember to pass context as perimeter while submitting function Name.


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

The post Get field Name Using JavaScript in ms crm 2011 , ms crm 2013 , ms crm 2015 ( get dynamically field Label using JavaScript) appeared first on Microsoft Dynamics 365 Blog.

]]>
2803
microsoft dynamic crm certification Exam Name and links, Type of Certification By Microsoft For Microsoft Dynamics Crm 2011 , 2013 , 2015 ( Certificate Name and Code ) https://microsoftdynamics.in/2015/02/19/microsoft-dynamic-crm-certification-exam-name-and-links-type-of-certification-by-microsoft-for-microsoft-dynamics-crm-2011-2013-2015-certificate-name-and-code/ Thu, 19 Feb 2015 12:06:00 +0000 http://microsoftdynamics.in/2015/02/19/microsoft-dynamic-crm-certification-exam-name-and-links-type-of-certification-by-microsoft-for-microsoft-dynamics-crm-2011-2013-2015-certificate-name-and-code/ Hey all , Below are Name of Certification available for Microsoft Dynamics CRM . You Can Find more certification by microsoft Like ; Dynamics AX , Sharepoint , .Net , Nav  e.t.c MB2-700: Microsoft Dynamics CRM 2013 ApplicationsMB2-701: Extending Microsoft Dynamics CRM 2013MB2-702: Microsoft Dynamics CRM 2013 DeploymentMB2-703: Microsoft Dynamics CRM 2013 Customization and ConfigurationMB2-704:...

The post microsoft dynamic crm certification Exam Name and links, Type of Certification By Microsoft For Microsoft Dynamics Crm 2011 , 2013 , 2015 ( Certificate Name and Code ) appeared first on Microsoft Dynamics 365 Blog.

]]>

Hey all , Below are Name of Certification available for Microsoft Dynamics CRM . You Can Find more certification by microsoft Like ; Dynamics AX , Sharepoint , .Net , Nav  e.t.c

Click here for official Link to all Microsoft  Certification : Microsoft Offical Link SOURCE : JUST2CODE.IN Subscribe to our YouTube channel : https://www.youtube.com/user/TheRussell2012

The post microsoft dynamic crm certification Exam Name and links, Type of Certification By Microsoft For Microsoft Dynamics Crm 2011 , 2013 , 2015 ( Certificate Name and Code ) appeared first on Microsoft Dynamics 365 Blog.

]]>
2804