MSCRM 2013 Archives - Microsoft Dynamics 365 Blog http://microsoftdynamics.in/category/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 MSCRM 2013 Archives - Microsoft Dynamics 365 Blog http://microsoftdynamics.in/category/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
StringMap table in MS CRM http://microsoftdynamics.in/2017/12/18/stringmap-table-in-ms-crm/ Mon, 18 Dec 2017 10:49:00 +0000 http://microsoftdynamics.in/2017/12/18/stringmap-table-in-ms-crm/  String Map table in dynamics crm that what is the benefit of table in reporting and how can we use this? So what is string map table actually means in CRM? String map table used in MSCRM for storing the details of Option Set Fields exists in an organization .It contains all the data (Attribute...

The post StringMap table in MS CRM appeared first on Microsoft Dynamics 365 Blog.

]]>
 String Map table in dynamics crm that what is the benefit of table in reporting and how can we use this?
So what is string map table actually means in CRM?
String map table used in MSCRM for storing the details of Option Set Fields exists in an organization .It contains all the data (Attribute Name, OptionSet name, option value , option name) of option set
Below is the structure of StringMap table:
Field Data Type Description
ObjectTypeCode INT Object Type Code of the entity for which the attribute belongs.
AttributeName NVARCHAR(100) Schema name of the OptionSet attribute.
AttributeValue INT Integer value of the OptionSet option. This is the value that gets stored in the base tables.
LangId INT Language Code for the CRM deployment. Usually 1033 for English (United States)
OrganizationId UNIQUEIDENTIFIER GUID of the owning Organization.
Value NVARCHAR(255) The actual value that is displayed in the OptionSet on a form.
DisplayOrder INT Specifies the order in which the value is in the OptionSet
VersionNumber TIMESTAMP Timestamp for determining the version of the record (when it was last updated). This is used by the synchronization process.
StringMapId UNIQUEIDENTIFIER Primary Key (GUID) for the record.
Let’s take one requirement to clear the use of StringMap table, requirement is like:
 “Show the incident by status even all the status is not present in incident data or status by records contains zero value”
So in this scenario if we will have no string map table then either you need records which contain all the distinct type of record by status or you need hard code value use in report query.
By StringMap table you can join the table and can collect all the status present in incident and can collect records number by grouping of them.
So this type of many scenarios can be fulfill by this table

SOURCE : mscrm.com

The post StringMap table in MS CRM appeared first on Microsoft Dynamics 365 Blog.

]]>
2767
Upgrade MSCRM http://microsoftdynamics.in/2017/12/18/upgrade-mscrm/ Mon, 18 Dec 2017 07:37:00 +0000 http://microsoftdynamics.in/2017/12/18/upgrade-mscrm/ Upgrade MSCRM:- Click here to download:-    MSCRM Upgrade 2011 to 2013 First of all go to the Programs and Features using Control panel and Uninstall  Microsoft Dynamic CRM 2011 Reporting Extensions. Go to MSCRM Setup and double click on setupserver.exe and get all the latest updates. Give MSCRM  2013 product key. Select “<None>” and click on next. Notice that any organization not upgraded ,...

The post Upgrade MSCRM appeared first on Microsoft Dynamics 365 Blog.

]]>
  • Upgrade MSCRM:-
Click here to download:-    MSCRM Upgrade 2011 to 2013

  1. First of all go to the Programs and Features using Control panel and Uninstall  Microsoft Dynamic CRM 2011 Reporting Extensions.
  2. Go to MSCRM Setup and double click on setupserver.exe and get all the latest updates.
  3. Give MSCRM  2013 product key.
  4. Select “<None>” and click on next. Notice that any organization not upgraded , will become disabled after the upgrade is complete. To upgrade organizations, use Deployment Manager. Click Next to upgrade Microsoft Dynamics CRM.
  5. On the Specify Service Accounts page, Setup will add the service accounts used for the Microsoft Dynamics CRM Server 2011 services. You can use the existing service accounts or specify new ones. Additionally, there are two new service accounts for theVSS Writer Service and the Monitoring Service that you must specify.
  6. On the Specify E-mail Router Settings page, type the name of the computer where the Email Router will be installed. This computer will route MSCRM email messages. If you will not use the Email Router you can leave this box blank.
  7. Now Click Next to complete your installation process.
  8. If  there is no error your upgrade for 2011 will complete successfully.
  • Installation of Reporting Extension:- 
  1. Go to the MSCRM set up folder and open SrsDataConnector and double click onSetupSrsDataConnector.exe to install the Reporting Extension.
  • Upgrade Organization:-

  1. Open Deploy Manager for MSCRM. Click on Organization on left navigation.
  2. Right click on organization which you want to upgrade and click on Upgrade Organization.
  3. After click on this, System Checks start and Organization is successfully upgraded in 2013.
  4. Don’t forget to Restart your System.

SOURCE : mscrm.com

The post Upgrade MSCRM appeared first on Microsoft Dynamics 365 Blog.

]]>
2772
How to Change Business process Flow ( bpf ) of an entity using plugin C# in MS CRM 2011 , 2013 , 2015 http://microsoftdynamics.in/2015/09/07/how-to-change-business-process-flow-bpf-of-an-entity-using-plugin-c-in-ms-crm-2011-2013-2015/ Sun, 06 Sep 2015 18:49:00 +0000 http://microsoftdynamics.in/2015/09/07/how-to-change-business-process-flow-bpf-of-an-entity-using-plugin-c-in-ms-crm-2011-2013-2015/ Plugin can be written to dynamicaly change BPF ( bussiness process flow ) of an entity acc to diffrent condition or Configrations ,  It requires Two main Id 1. ProcessID : to get workflowID2. StageID Of that process. Below is the code to change bpf of an entity using plugin :  QueryExpression queryworkflow = new...

The post How to Change Business process Flow ( bpf ) of an entity using plugin C# in MS CRM 2011 , 2013 , 2015 appeared first on Microsoft Dynamics 365 Blog.

]]>
Plugin can be written to dynamicaly change BPF ( bussiness process flow ) of an entity acc to diffrent condition or Configrations ,  It requires Two main Id

1. ProcessID : to get workflowID
2. StageID Of that process.

Below is the code to change bpf of an entity using plugin :

 QueryExpression queryworkflow = new QueryExpression(Workflow.EntityLogicalName);
            queryworkflow.ColumnSet = new ColumnSet(true);
          ConditionExpression cond1 =  new ConditionExpression(“workflowid”, ConditionOperator.Equal, processId);
         ConditionExpression cond2 =   new ConditionExpression(“statecode”, ConditionOperator.Equal, 1);
         FilterExpression filter = new FilterExpression();
         filter.Conditions.Add(condition1);
         filter.Conditions.Add(condition2);

         queryworkflow .Criteria.AddFilter(filter);
         EntityCollection workflowcoll = service.RetrieveMultiple(queryworkflow);

// get default stage id of that process

            QueryExpression querystage = new QueryExpression(“processstage”);
            querystage.ColumnSet = new ColumnSet(true);
            ConditionExpression cond1 = new ConditionExpression(“stagecategory”, ConditionOperator.Equal, 0);
            ConditionExpression cond2 = new ConditionExpression(“processid”, ConditionOperator.Equal, workflowcoll.Entities[0].Id);
            FilterExpression filter1 = new FilterExpression();
            filter1.Conditions.Add(condition1);
            filter1.Conditions.Add(condition2);

            querystage.Criteria.AddFilter(filter1);
            EntityCollection stagecoll = service.RetrieveMultiple(querystage);

            // update the fields in entity to change the BPF 

             Entity providedentity = new Entity(entity.LogicalName);
            providedentity.Id = entity.Id;
                providedentity[“processid”] = workflowcoll.Entities[0].Id;
                providedentity[“stageid”] = stagecoll.Entities[0].Id;
                service.Update(providedentity);

Thats all Entity BPF Will be auto assigned as given in Code .

Hope this Helpled you , for any query or suggestion please coment below , thanks


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

The post How to Change Business process Flow ( bpf ) of an entity using plugin C# in MS CRM 2011 , 2013 , 2015 appeared first on Microsoft Dynamics 365 Blog.

]]>
2790
Get Difference in days between two date fields using javascript ( differences between dates ) http://microsoftdynamics.in/2015/03/12/get-difference-in-days-between-two-date-fields-using-javascript-differences-between-dates/ http://microsoftdynamics.in/2015/03/12/get-difference-in-days-between-two-date-fields-using-javascript-differences-between-dates/#comments Thu, 12 Mar 2015 08:01:00 +0000 http://microsoftdynamics.in/2015/03/12/get-difference-in-days-between-two-date-fields-using-javascript-differences-between-dates/ Hello , below you will find function calculating difference in days between two field using java script . function diffrenceindays() { var startdate = GetDateValue(startfield); var Enddate = GetDateValue(endfield); var oneday = 1000 * 60 * 60 * 24; var differenceInDays = ((Enddate - startdate) / oneday); if (differenceInDays < 0) { alert(" date cannot...

The post Get Difference in days between two date fields using javascript ( differences between dates ) appeared first on Microsoft Dynamics 365 Blog.

]]>
Hello , below you will find function calculating difference in days between two field using java script .
function diffrenceindays() {
var startdate = GetDateValue(startfield);
var Enddate = GetDateValue(endfield);

var oneday = 1000 * 60 * 60 * 24;
var differenceInDays = ((Enddate - startdate) / oneday);
if (differenceInDays < 0) {
alert(" date cannot be less then start date");

}
alert(" diffrence in days " + differenceInDays);

}

function GetDateValue(field) {


var year = field.getFullYear();
var month = field.getMonth();
var day = field.getDate();
dateOnly = new Date(year, month, day);
return dateOnly;


}

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

The post Get Difference in days between two date fields using javascript ( differences between dates ) appeared first on Microsoft Dynamics 365 Blog.

]]>
http://microsoftdynamics.in/2015/03/12/get-difference-in-days-between-two-date-fields-using-javascript-differences-between-dates/feed/ 2 2798
Activate / Deactivate a record using c# in MS CRM 2011 , MS CRM 2013 , MS CRM 2015 ( using SetStateRequest ) http://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 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/ 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
microsoft dynamic crm certification Exam Name and links, Type of Certification By Microsoft For Microsoft Dynamics Crm 2011 , 2013 , 2015 ( Certificate Name and Code ) 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/ 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
Microsoft Dynamics CRM 2013 ( 90 days Trial key ) Download ( MS CRM 2013 90 dyas trail key Download) http://microsoftdynamics.in/2014/12/23/microsoft-dynamics-crm-2013-90-days-trial-key-download-ms-crm-2013-90-dyas-trail-key-download/ Tue, 23 Dec 2014 05:44:00 +0000 http://microsoftdynamics.in/2014/12/23/microsoft-dynamics-crm-2013-90-days-trial-key-download-ms-crm-2013-90-dyas-trail-key-download/ Hello guys , Below is the link to official Site to download MS CRM 2013 and 90 Days Trial Key . Microsoft Dynamics CRM Workgroup Server 2013 (5 CAL limit): NX77Y-BTBCV-JP3T3-8W7JH-94QJP Microsoft Dynamics CRM Server 2013 (no CAL limit): CQWW3-TNXBF-HRQWC-CVTW9-M968H MS CRM 2013 DOWNLOAD : http://www.microsoft.com/en-in/download/details.aspx?id=40341 SOURCE : JUST2CODE.IN Subscribe to our YouTube channel : https://www.youtube.com/user/TheRussell2012

The post Microsoft Dynamics CRM 2013 ( 90 days Trial key ) Download ( MS CRM 2013 90 dyas trail key Download) appeared first on Microsoft Dynamics 365 Blog.

]]>
Hello guys , Below is the link to official Site to download MS CRM 2013 and 90 Days Trial Key .

    • Microsoft Dynamics CRM Workgroup Server 2013 (5 CAL limit): NX77Y-BTBCV-JP3T3-8W7JH-94QJP
    • Microsoft Dynamics CRM Server 2013 (no CAL limit): CQWW3-TNXBF-HRQWC-CVTW9-M968H



SOURCE : JUST2CODE.IN

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

The post Microsoft Dynamics CRM 2013 ( 90 days Trial key ) Download ( MS CRM 2013 90 dyas trail key Download) appeared first on Microsoft Dynamics 365 Blog.

]]>
2813
Microsoft dynamics CRM 2015 trail key ( 90 days trial key ) Download ( MS CRM 2015 90 days Download ) http://microsoftdynamics.in/2014/12/23/microsoft-dynamics-crm-2015-trail-key-90-days-trial-key-download-ms-crm-2015-90-days-download/ Tue, 23 Dec 2014 05:41:00 +0000 http://microsoftdynamics.in/2014/12/23/microsoft-dynamics-crm-2015-trail-key-90-days-trial-key-download-ms-crm-2015-90-days-download/ Hello guys , Below is the link to official Site to download MS CRM 2015 and 90 Days Trial Key . Microsoft Dynamics CRM Workgroup Server 2015 (5 CAL limit): XY8GN-DF2MC-FV482-YM9YP-HH6H2 Microsoft Dynamics CRM Server 2015 (no CAL limit): C6BDP-T6NK9-8TXJP-36WTB-TXW7V Download Link : http://www.microsoft.com/en-us/download/details.aspx?id=45012 FOR MS CRM 2013 DOWNLOAD : Click here SOURCE : JUST2CODE.IN Subscribe...

The post Microsoft dynamics CRM 2015 trail key ( 90 days trial key ) Download ( MS CRM 2015 90 days Download ) appeared first on Microsoft Dynamics 365 Blog.

]]>
Hello guys , Below is the link to official Site to download MS CRM 2015 and 90 Days Trial Key .

    • Microsoft Dynamics CRM Workgroup Server 2015 (5 CAL limit): XY8GN-DF2MC-FV482-YM9YP-HH6H2
    • Microsoft Dynamics CRM Server 2015 (no CAL limit): C6BDP-T6NK9-8TXJP-36WTB-TXW7V


FOR MS CRM 2013 DOWNLOAD : Click here


SOURCE : JUST2CODE.IN

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

The post Microsoft dynamics CRM 2015 trail key ( 90 days trial key ) Download ( MS CRM 2015 90 days Download ) appeared first on Microsoft Dynamics 365 Blog.

]]>
2814