Quantcast
Viewing all 10280 articles
Browse latest View live

Case of Entity Names in JavaScript and REST

Hi

I have some JavaScript which has code such as:

	LookupFieldObject = Xrm.Page.data.entity.attributes.get('ser_accountid');
	if (LookupFieldObject.getValue() !== null)
	{
		EntityId = LookupFieldObject.getValue()[0].id;
		EntityName = LookupFieldObject.getValue()[0].entityType;
		result = RetrieveEntityById(EntityName,EntityId, 'ser_ResellerId'); //note case sensitive

Then within RetrieveEntityById we use the REST endpoint and XrmsvcToolkit:

	//correct for brackets around guid

	if (prmEntityIdValue.charAt(0) == "{")
	{
		prmEntityIdValue = prmEntityIdValue.substring(1, 37);
	}prmEntityName=prmEntityName.charAt(0).toUpperCase()+prmEntityName.substring(1);
	var res = null;
	XrmSvcToolkit.retrieve(
	{
		entityName : prmEntityName,
		id : prmEntityIdValue,
		async : false,
		select : prmEntityColumns,
		successCallback : function (result)

We use this in cases where the Id sometimes has brackets and sometimes not - this seems to matter. However the main point is that we need typically to change the name of the entity retrieved in EntityName to capitalise the first letter. So that EntityName has say 'account' and we need to change to Account so that the Rets query is against AccountSet - it is case sensitive. This is typically the case, but I have found for a custom entity (ser_salesorder) this is not the case - so the above code fails.

I could of course put the name of the account set as a parameter but this is a pity. Also in some code we might have several possibilities. Why this inconsistency and come to that why is REST case sensitive? BTW this is Rollup 12 Premise on a test deployment to prepare for upgrading our system to Rollup 12.

Of course I could use SOAP but for this sort of thing REST so much easier and perhaps faster.

Am I missing something obvious here? BTW I should say I really like XrmsvcToolkit - compact and nice to use.

Thanks

Paul


cant update entity plugin crm 2011

hi i write a plugin that should perform the fields of custom entity but i cant update the enity.there is no error when i build the plugin.i can add the assemply succesfully and create update event on pre-operation mode in crm 2011 plugin reg tool.


here is my code.any helps plz?


using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xrm.Sdk;
using System.ServiceModel;
using System.Diagnostics;

namespace Plug_ins
{
    public class Operationscorecardupdate : IPlugin
    {
        public void Execute(IServiceProvider serviceProvider)
        {

            Microsoft.Xrm.Sdk.IPluginExecutionContext context = (Microsoft.Xrm.Sdk.IPluginExecutionContext)
                serviceProvider.GetService(typeof(Microsoft.Xrm.Sdk.IPluginExecutionContext));


            if (context.OutputParameters.Contains("Target") &&
                context.OutputParameters["Target"] is Entity)
            {
                if (context.MessageName == "Update")
                {
                    //Code to be executed during Create event of an entity
                

               
                    Guid OppID = new Guid(context.InputParameters["id"].ToString());

                    IOrganizationServiceFactory serviceFactory = (IOrganizationServiceFactory)serviceProvider.GetService(typeof(IOrganizationServiceFactory));
                    IOrganizationService service = serviceFactory.CreateOrganizationService(context.UserId);
                    Xrm.XrmServiceContext svcContext = new Xrm.XrmServiceContext(service);
                   //it is my function which update the records.

entityupdate(svcContext, service, OppID);

                }

            }

        }


Crm Software Specialist

Get errorcode of InvalidPluginExecutionException

How can i get the errorcode of my InvalidPluginExecutionException in a catch statement? The errorcode of the FaultException is not equal to the errorcode of the InvalidPluginExecutionException.

public InvalidPluginExecutionException ( OperationStatus status, int errorCode, string message)

try
{...}
catch (FaultException<Microsoft.Xrm.Sdk.OrganizationServiceFault> ex)
{
 var errorcode = ex.Detail.ErrorCode;
}

Field Level Security - Allow updating of fields left blank when record is created.

Hey,

I am trying to implement some field level security on a clients CRM 2011. I set up some field security profiles, but they are not doing exactly what they want.

On the account entity, they have a field that basically links a user to that account, kind of like an owner of the account. They want a few people to have full access to this field, which I have set up in the field security profiles.

The problem is, they also want regular users to be able to write to this field, but only if there is not already data in it. So I set a field security profile for regular users to be able to read, and update only. What happened, is that crm treats the field as being 'created' when the record is created, regardless if there is any data in it. So unless the regular user is creating the record, they cannot write to the field at all.

I am wondering if there is some javascript, or some workaround I can use that can accomplish what I'm looking to do.

Thanks for any help!


CRM 2011: Manager Field behavior

Hi all,

Could anybody please explain what does the manager field in the user form behave this way ?

The field is read only and cannot be enable using field properties form ! Also in order to update it we must use the change manager button in the ribbon, it cannot be auto populated using javascript based on other form values.

What can I do in order to populate the manager of a user based on another field value in the form, I mean the field is populated successfully but after saving the form the value disappears, I tried to set the submit mode to always with no luck.

Please advise..


Customizing CRM SDK sample - Filtered Picklist

I am going back to fix a broken picklist filter from pre-Polaris and wanted to make sure it would be less likely to break in the future.  To do that, I utilized the SDK sampleprovided here.  I imported the sample solution, then customized the XML to fit my picklists (xml code posted below) and added the Form properties as necessary as well as the Field Properties but it's not working and i've been messing with it all day trying to get it up and running.  My eyes are now crossed and I can't find what i'm missing...I have gone back to the link above and confirmed that it does say I shouldn't need to manipulate the jscript.

"The filtering of dependent options is set in an XML web resource. This allows for changing the option mappings without changing the code."

Here are two screenshots of my Form & Field properties which should help anyone to see where I am missing.

Form Properties:

Image may be NSFW.
Clik here to view.

Field Properties: 

Image may be NSFW.
Clik here to view.

Lastly, here is my XML:

<DependentOptionSetConfig entity="incident" ><ParentField id="new_casetype"
              label="Case Type"><DependentField id="new_casetypesub"
                  label="Sub-Category" /><Option value="100"
          label="New Order"><ShowOption value="10001"
               label="Order Placed" /><ShowOption value="10002"
               label="Order Placed (Hold)" /></Option><Option value="200"
          label="Hardware"><ShowOption value="200001"
               label="POD" /><ShowOption value="200004"
               label="Modify Order" /><ShowOption value="200002"
               label="Order Cancellation" /><ShowOption value="200003"
               label="Missing Item(s)" /></Option><Option value="300"
          label="Item Research / Stock Check"><ShowOption value="300001"
               label="Item Research" /><ShowOption value="300002"
               label="Item Price Check" /><ShowOption value="300003"
               label="Item Stock Check" /><ShowOption value="300004"
               label="Other" /></Option><Option value="400"
          label="Blanket PO"><ShowOption value="400001"
               label="Blanket PO Submitted" /><ShowOption value="400002"
               label="Blanket PO Inquiry" /></Option><Option value="500"
          label="Return / Credit"><ShowOption value="500001"
               label="Return Request/Processed" /><ShowOption value="500002"
               label="Return Status" /><ShowOption value="500003"
               label="Credit Request/Processed" /><ShowOption value="500004"
               label="Return Process Training" /><ShowOption value="500005"
               label="Audit" /><ShowOption value="500006"
               label="Manual Markout" /><ShowOption value="500007"
               label="UPS Refusal" /><ShowOption value="500008"
               label="Duplicate Order" /></Option><Option value="600"
          label="Operational Issue"><ShowOption value="600001"
               label="Manifest Issue" /><ShowOption value="600002"
               label="Order/Facility Error(s)" /><ShowOption value="600003"
               label="Leave Behinds" /><ShowOption value="600004"
               label="Other Operational Issue" /><ShowOption value="600005"
               label="Packing Slip" /></Option><Option value="700"
          label="Account Maintenance"><ShowOption value="700001"
               label="Add User" /><ShowOption value="700002"
               label="Add Ship To" /><ShowOption value="700005"
               label="Modify User/Ship To" /><ShowOption value="700006"
               label="Acct Setup Status" /><ShowOption value="700003"
               label="Modify Route Code(s)" /><ShowOption value="700007"
               label="Add/Modify Billing Code" /><ShowOption value="700004"
               label="Other Acct Maintenance" /></Option><Option value="800"
          label="Website Issue"><ShowOption value="800001"
               label="Username/Password Reset" /><ShowOption value="800002"
               label="Website Training" /><ShowOption value="800003"
               label="Website Feedback" /><ShowOption value="800004"
               label="Misc Website Issue" /></Option><Option value="900"
          label="Billing"><ShowOption value="900001"
               label="Invoice Request" /><ShowOption value="900002"
               label="Invoice/Statement Help" /><ShowOption value="900003"
               label="Credit Card / P-Card Issue" /><ShowOption value="900004"
               label="Credit (Order) Status" /><ShowOption value="900005"
               label="Credit Memo" /><ShowOption value="900006"
               label="Payment" /></Option><Option value="910"
          label="Backorder Item"><ShowOption value="91004"
               label="B/O Status" /><ShowOption value="91001"
               label="B/O Notification" /><ShowOption value="91002"
               label="B/O Cancellation" /><ShowOption value="91003"
               label="Replacement Item Requested" /></Option><Option value="920"
          label="Future Order Processing"><ShowOption value="92001"
               label="Future Order Entry" /><ShowOption value="92002"
               label="Future Order Modification" /><ShowOption value="92003"
               label="Future Order Cancellation" /></Option><Option value="930"
          label="Catalog Order"><ShowOption value="93001"
               label="Direct Customer to Website (-10)" /><ShowOption value="93002"
               label="Contacted Dealer (10+)" /><ShowOption value="93003"
               label="Dealer Handling (Dlr has Stock)" /><ShowOption value="93004"
               label="Placed Order (Dlr has no Stock)" /></Option><Option value="940"
          label="eCom Administration Only"><ShowOption value="94001"
               label="Support" /><ShowOption value="94002"
               label="Setup" /><ShowOption value="94003"
               label="Maintenance" /><ShowOption value="94004"
               label="Project" /><ShowOption value="94005"
               label="Non-Billable" /></Option></ParentField></DependentOptionSetConfig>


Ms. Dynamics CRM2011 email router fatal error during installation

we had installed our ms dynamics crm2011 on our windows server r2 2008 enterprise edition,and deployed all data to online from this,we don't got any issue in this.

now i want to have email router for my online crm2011,for sending notification email when any new lead or opportunity created in our online crm2011 given by microsoft , this all things installed on my machine having windows server 2008 r2 enterprise edition machine, i have computer system which is of 64 bit, with 64 bit operating system ( windows server 2008 r2 enterprise), sql server 64bit,crm2011 onpremise and on premise crm2011 installed.

now when i try to install my email router 64 bit edition on this server and want to configure it for my online crm account , during installation after acceptance of agreement step when i click next it gives me following error..

Error is:

          action microsoft.crm.setup.common.analyzer+collectaction failed Fatal error during installation

so what is wrong ? and what is exactly require for installing these email router for crm 2011 on my machine having windows server2008 r2 enterprise operating system?

Kindly help ,if you know any solution for this.

Thanks & Regards

Mubin(9824067097)

CRM 4.0 JavaScript OnChange/OnLoad & OnSave Functions

//Good Day All

//This code will allow you to add multiple fields together to get your end result 
//Then inserts the result data into another field or fields of your choice
//(Make sure they are the same field types) (money, decimal, etc.)
//This will take fields 1 thru 12 and give you an end result.
//This can be executed OnLoad / OnSave / or OnChange
//Best used in all OnSave/Load/Change Functions
//This is helpful for double checking yourself.
//this will always overwrite whatever is in that field unless you put an "if" statement in it to check.

//Below is the formula to create your variables and if they are null it will give it a Zero value to correctly create you Variable result.

{
crmForm.all.<FieldNameA>.Disabled=false;
var value1 = (crmForm.all.<FieldName1>.DataValue== null) ? 0 : crmForm.all.<FieldName1>.DataValue;
var value2 = (crmForm.all.<FieldName2>.DataValue== null) ? 0 : crmForm.all.<FieldName2>.DataValue;
var value3 = (crmForm.all.<FieldName3>.DataValue== null) ? 0 : crmForm.all.<FieldName3>.DataValue;
var value4 = (crmForm.all.<FieldName4>.DataValue== null) ? 0 : crmForm.all.<FieldName4>.DataValue;
var value5 = (crmForm.all.<FieldName5>.DataValue== null) ? 0 : crmForm.all.<FieldName5>.DataValue;
var value6 = (crmForm.all.<FieldName6>.DataValue== null) ? 0 : crmForm.all.<FieldName6>.DataValue;
var value7 = (crmForm.all.<FieldName7>.DataValue== null) ? 0 : crmForm.all.<FieldName7>.DataValue;
var value8 = (crmForm.all.<FieldName8>.DataValue== null) ? 0 : crmForm.all.<FieldName8>.DataValue;
var value9 = (crmForm.all.<FieldName9>.DataValue== null) ? 0 : crmForm.all.<FieldName9>.DataValue;
var value10 = (crmForm.all.<FieldName10>.DataValue== null) ? 0 : crmForm.all.<FieldName10>.DataValue;
var value11 = (crmForm.all.<FieldName11>.DataValue== null) ? 0 : crmForm.all.<FieldName11>.DataValue;
var value12 = (crmForm.all.<FieldName12>.DataValue== null) ? 0 : crmForm.all.<FieldName12>.DataValue;

//Below is the formula to create the following using basic math
var Result = value1+ value2 + value3 + value4 + value5 + value6 + value7 + value8 + value9 + value10 + value11 + value12;

//Below will give you your result
crmForm.all.<FieldNameA>.DataValue = Result;

//Below will disable your result field keeping your result field from edit by all users.
crmForm.all.<FieldNameA>.Disabled=true;

//Below will save your result(s) field updated in case you need to use the advanced find and or use in a report.
//By Default if the field is read only you will need the function to make sure CRM will save the data,
//Otherwise it will only display it and not give you the answer.
crmForm.all.<FieldNameA>.ForceSubmit = true; 
}

//IF(crmForm.all.<FieldNameA>.DataValue != null;   

//The above will check to see if your result field has a value.
//If not then it will execute the following be sure to remove the // in front of the “IF” and place it above the { Bracket to make it work correctly.



Microsoft Dynamics 4.0 Function to get an Order Number

//get Order Number function getOrderName(){ //Create the XML that will fetch the required info. //You can inspect this web service call using a tool called FIDDLER. var XMLRequest = "" +"<?xml version=\"1.0\" encoding=\"utf-8\"?>" +"<soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\">" + GenerateAuthenticationHeader() +" <soap:Body>" +" <RetrieveMultiple xmlns=\"http://schemas.microsoft.com/crm/2007/WebServices\">" +" <query xmlns:q1=\"http://schemas.microsoft.com/crm/2006/Query\" xsi:type=\"q1:QueryExpression\">" +" <q1:EntityName>salesorder</q1:EntityName>" +" <q1:ColumnSet xsi:type=\"q1:ColumnSet\">" +" <q1:Attributes>" +" <q1:Attribute>accountidname</q1:Attribute>" +" <q1:Attribute>name</q1:Attribute>" +" </q1:Attributes>" +" </q1:ColumnSet>" +" <q1:Distinct>false</q1:Distinct>" +" <q1:Criteria>" +" <q1:FilterOperator>And</q1:FilterOperator>" +" <q1:Conditions>" +" <q1:Condition>" +" <q1:AttributeName>name</q1:AttributeName>" +" <q1:Operator>Equal</q1:Operator>" +" <q1:Values>" +" <q1:Value xsi:type='xsd:string'>ORD0011390</q1:Value>" +"</q1:Values>" +" </q1:Condition>" +" </q1:Conditions>" +" </q1:Criteria>" +" </query>" +" </RetrieveMultiple>" +" </soap:Body>" +"</soap:Envelope>" +""; try{ //Create Http request object var xmlHttpRequest = new ActiveXObject("Msxml2.XMLHTTP"); xmlHttpRequest.Open("POST", "/mscrmservices/2007/CrmService.asmx", false); xmlHttpRequest.setRequestHeader("SOAPAction","http://schemas.microsoft.com/crm/2007/WebServices/RetrieveMultiple"); xmlHttpRequest.setRequestHeader("Content-Type", "text/xml; charset=utf-8"); xmlHttpRequest.setRequestHeader("Content-Length", XMLRequest.length); xmlHttpRequest.send(XMLRequest); //alert("aaa"+xmlHttpRequest.responseText); //Store the response which would be XML var Result = xmlHttpRequest.responseXML; /* The return is of type "BusinessEntity" if you were using similar code one server side. Hence we need to select node of type "BusinessEntity" In our case It should be not more one than one node */ var BusinessEntityNodes = Result.selectNodes("//RetrieveMultipleResult/BusinessEntities/BusinessEntity"); // Check If data was retrived if (BusinessEntityNodes.length != 0){ var BusinessEntityNode = BusinessEntityNodes[0]; var accountname = BusinessEntityNode.selectSingleNode("q1:accountidname"); var ordno = BusinessEntityNode.selectSingleNode("q1:name"); var accountname = (accountname == null) ? null : accountname.text; var ordno = (ordno == null) ? null :ordno .text; alert("Order"+ ordno ); } return ordno; } catch (e){ alert(e.message); } } getOrderName();

http://bproud2banindian.blogspot.co.uk/2010/09/get-full-name-of-user-by-using.html

Previously, I used the code from the above link to obtain the full name of the current user.  I tried to modify it to obtain the order number which is in the Name field of the SalesOrder view.  We use the Microsoft Dynamics Adapter to import GP data into CRM and order number is mapped to the name field. 
I pasted the above code into the OnLoad event of the case form which I am in the process of modifying.  Right now I am just trying to display a message box to confirm this is working and then I will modify it to retrieve the data I really want so I can auto populate some fields.The above code does not produce a message box, nothing happens.  I knoe that ORD0011390 is a valid order and should return one result.  Can anyone tell me what is wrong with my code?


GM

Dynamic crm 2011

Hi every one,

Is there any changes in custom workflow debugging process in dynamic crm 2011 roll up 12.

Because by custom workflow debugging is not working .

How to create and send Appointment request through custom workflow

Hi All,

I am working on Appointment entity.

My requirement is, as soon as user Save the Appointment record in CRM, one OOB workflow will run and it will call custom workfloe internally.

In Custom workflow, I am using the below code:

// Sets up and creates an outlook calender entry
Outlook.Application outlookApp = new Outlook.Application(); // creates new outlook app
Outlook.AppointmentItem oAppointment = (Outlook.AppointmentItem)outlookApp.CreateItem(Outlook.OlItemType.olAppointmentItem);// creates a new appointment

However, I got the below error at 1st line above itself.
Error:
"Exception: Retrieving the COM class factory for component with CLSID {0006F03A-0000-0000-C000-000000000046} failed due to the following error: 80070005 Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))"
 
Also I got the error in Eventviewer --> Windows Log --> System (172.27.35.76)
 
"The machine-default permission settings do not grant Local Activation permission for the COM Server application with CLSID {0006F03A-0000-0000-C000-000000000046}  and APPID  {00020D09-0000-0000-C000-000000000046}
to the user NT AUTHORITY\NETWORK SERVICE SID (S-1-5-20) from address LocalHost (Using LRPC). This security permission can be modified using the Component Services administrative tool."
 

Also I tried to use EWS services:

In Custom workflow, I am getting the below error:

The request failed. The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.

Here i am simply using

ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2010_SP1);

Can one please suggest or guide me that where i am doing wrong? As this is very critical and urgent requirement, I need to fix this issue ASAP.

Please suggest.

Regards,

Ashwini Kumar

Internal Web Services calls broken in latest CRM Online UR12

First off, I'm not a JavaScript expert and am trying to patch this code written by a former dev, so please forgive me if this is an "obvious" fix. I've spent the last 2 hours searching the web for a solution. We're using CRM Online and this error popped up about 2 weeks ago, so we're assuming it is UR12 related.

The following code is in the OnSave event of a CRM custom entity we created. It has worked for the past 6 months (we moved to CRM Online back in August). All it does is calls a web service we have in-house and gets a single XML doc back containing a new ID value which we then insert into the CRM record during the save process. The code below now throws an "Access is Denied" error on the xmlHTTP.open line (inbold). However, if I access the same web service via IE, not from within CRM, the web service returns the requested XML (the exact output is "<?xml version="1.0" encoding="utf-8"?> <string xmlns="http://tempuri.org">1141</string>") 

I've put the server hosting the web service into IE's "Local Intranet" security group and set "Allow data sources across domains" to enabled. Dynamics CRM's url is also in our Trusted Sites with the allow data sources across domains" enabled.

   // Call audit web service to create an audit id
    var  xmlHttp=new XMLHttpRequest();

    xmlHttp.open("GET", "http://XXXXX:8080/YYYY/AuditWS.asmx/CreateAudit?name=" + Xrm.Page.getAttribute("new_auditname").getValue()+ "&start_date=1%2F1%2F1900&end_date=1%2F1%2F1900&description=" + Xrm.Page.getAttribute("new_auditname").getValue() + "&ins_user=" + Xrm.Page.getAttribute("ownerid").getValue(), false);

    xmlHttp.send();

CRM 4.0 Hide picklist item in drop down but display

Hi

I have seen this done but I can't remember how to do it?

In JavaScript I need to display the text of the selected value while hiding it in the dropdown list so that it can't be re-selected.

Any help would be much appreciated.

Andy

how to retrieve radio button values from a lookup field and set the same value into another radio button field

hi

i need help with jscript to retrieve radio button(field with yes/no checkbox) values from a lookup field and set the same value into another similar (field with yes/no checkbox) radio button field 

plugin from CRM 4.0 to CRM 2011 does not execute


Need help witha strange error for CRM 2011 Deployment service

Hey guys, we are suing CRM 2011 SDK for creating organisation and lot of other stuff. Everything is working fine from last 4 months. Now currentlywe have 2 CRM on premise servers.  Strangely on one CRM Server we keep on getting the below error when we are using the deployment service.

Retrieving the COM class factory for component with CLSID {080D0D78-F421-11D0-A36E-00C04FB950DC} failed due to the following error: 800703fa Illegal operation attempted on a registry key that has been marked for deletion. (Exception from HRESULT: 0x800703FA).

our deployment service is running under the domain account (not network service), and whenever this error occurs, simple iisreset  is actually resolving it. But i dont know why do even need to do it?? the other CRM server is not at all causing this trouble. And while this error occurs, when i check the CRM Deployment manager it looks fine and even im able to create and delete organisations manually using deployment manager.

Does anyone know what it is?? and how to resolve it??

windows service debugging

Hi Every One,

How to debug windows svervice in vs 2010. I have installed it and start the service from control panel->All Control Panel Items->Administrative Tools->services.But when we start the debugging it will not comes on break point in code.

Plz tell me step by step process for installed it  as well as debugging step.

Have a Single Lookup Field be able to Lookup to Multiple Entities

Hi,

I have a situation where we have different entities that we want to record a fee against. The structure of the fee entity is the same across all other entities. Initially I thought this could be achieved through creating a single lookup field on the fee entity and select from multiple entities instead of having multiple lookups for each type of entity I want to lookup to.

Multiple lookups didn't seem like a very neat solution but from the research I have done so far the only way to achieve a single lookup that can select from a range of entities was using JavaScript. After having a lot of issues with JavaScript and having had legacy code break after going to Rollup 12 I am very reluctant to implement a JavaScript based solution.

Does anyone have any recommendations or advice on how to handle a situation such as this?

Thanks,

Daniel

How to read the Corresponding column Value from Sample Data XML file while Data Import?

HI expert, i am trying to read the AccountSampleData.XML of CRM. i am getting all the columns display name and also the rows cell values. but the cell values are not as per the column. for example, if the third column  name is Parent contactId in XML file, the third cell value is MainPhone in XML file. But the MainPhone  Column is 4th Column. How should i read the corresponding correct Column values from the XML File. Here i am doing like below. Please suggest where i am wrong.

 XmlDocument entityDoc = new XmlDocument();            
                String filePath = @"C:\Saroj\Entity\AccountSampleData.xml";                            
                    entityDoc.Load(filePath);
                    colHeadings = new List<string>();
                    attributeSchemaList = new List<string>();                    
         XmlNodeList entityRowlist = entityDoc.GetElementsByTagName("Row");                    
         XmlNodeList entityName = entityDoc.GetElementsByTagName("Worksheet");                    
         string entityName = accountEntName[0].Attributes[0].Value;

                   
for (int row = 0; row < entityRowlist[0].ChildNodes.Count; row++)
{
               colHeadings.Add(entityRowlist[0].ChildNodes[row].FirstChild.InnerText);  // Get the Column Headings
                       
}
 for (int k = 1; k < entityRowlist.Count; k++)
 {
     for (int m = 0; m < entityRowlist[k].ChildNodes.Count; m++)
         {
            Console.WriteLine("The Account Records are : " + entityRowlist[k].ChildNodes[m].InnerText);
          }
  }

Please suggest

Thank you


saroj


How to Upgrade MS CRM Update Roll up to 6 MS CRM Update Roll up 12

Hi,

At present I am using MS CRM 2011 with update roll ups 6 and i need to upgrade it to latest update roll up 12.

Please tell me what are steps I need to follow and is it cause any changes to my present crm customization's?

Thanks in Advance.


Krishn Prasad Shetty

Viewing all 10280 articles
Browse latest View live


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