How to insert entities records in bulk - CRM 2011
Hi,I would like to know how to create huge number of records for a given entity quickly. Say i have created a dummy entity 'DummyEntity' with couple of fields say 'Name' and ' Date'. Now i have...
View ArticleAdding a filter to a simple linq query fails
I'd have given a more helpful subject line that that but I'm not getting any useful error messages.I want to run a query which will find which queue a particular item is in. So if I have the code ......
View Articleweb service call from javascript in ms crm 2011
I want to retrievemultiple records using a condition .I used the following js code.But this gives an error "should be datetime or string" function ValidateBooking() { debugger; var startdate =...
View ArticleCRM dynamics 2011 missing request
Hello everyone, i'm new in this social place so i apologize in advance if the format of my question/title were wrong.I am facing a little problem with the following code:<s:Body><Create...
View ArticleCRM 2011: FetchXML in JS
Hi,I've a JS file which replace existing lookup with custom lookup... Below is the code which is generated through Stunnware and returns results in "Result View" tab on stunnware... function...
View ArticleHow can i get last activity date of any record while generating report
Hello,How can i get the last activity date of any record while generating report. For example, i'm creating report for account entity. requirement is to show the last activity date of that particular...
View ArticleReport - Display all users - count of all records createdby and modified by...
Greetings!I have a requirement where I need to develop a CRM 4 report which displays a list of all CRM users and for each user all the entities of the CRM system and for each entity display a count as...
View ArticleOnchange Error
Hi all, When new_technologyfield is ONCHANGE the Value will reflect in new_test the below code showing error please guidefunction new_technologyid_onchange() { var value =...
View ArticleConvert XML code from Account to Lead
Hello, i have the following XML Code that adds a contact in the crm dynamics 2011:<s:Body><Create xmlns="http://schemas.microsoft.com/xrm/2011/Contracts/Services"><entity...
View ArticleUnable to register custom workflow using plugin registration tool,The type...
I have created a model property in my custom workflow code, generated assembly of the code. I have then tired registering of the assembly file usingplug-in registration tool but at the end of...
View ArticleProblem with .getOrgUniqueName() in Office365
Hi,I'm having a problem with the client side getOrgUniqueName() method. The organization is created from the Office 365 portal and uses ADFS integration.The problem is that the method does not return...
View ArticleDecompression error installing the Xrm.Page Script Development Form Snapshot
Hello.I'm trying to get started in CRM development by following the "Readme" in "sdk\templates\xrm.pagescriptprojecttemplate\".I'm using an on-line CRM in [company name].crm4.dynamics.com.When...
View ArticleHow do I add an email activity to a case programatically
I have a plugin which sends an email automatically as a case changes state etc. No problem with that. How can I add those emails to the list of activities that appear against that case.I was playing...
View ArticleGet the RelatedEntities/RelatedEntityCollection from an Entity in CRM 2011-SDK.
Hello Guys:My question: I have an entity (salesorder) which has many entities related, but when I call the property: RelatedEntities, it doesn´t turn anything:Please your help, to see if it´s ok, the...
View Articleextract substring crm 2011
Hi all,I would need to extract a substring from a string in CRM 2011.In fact I am using the automatic numbering for quotes, incoices etc........but I wish to extract the number wich is in the middle...
View ArticleCRM 2011 Get Lookup Text Value
Dear All,I wrote a plugin. I am trying to create account category record after creating account where I need one lookup Guid and the Text Value. I am getting Guid value. But lookup text value also i...
View ArticleHow to set Team as entity owner programmatically
I want to add some outlook contacts to our CRM programmatically, but would like to set a Team as the owner. Unfortunately, the fields OwningTeam and OwningUser are read-only. The OwningUser is...
View ArticleRetrieve all picklist values for an attribute in CRM 4.0
How can we retrieve all pick-list value of any entity. for example Country pick-list of contact has drop-down value UK, USA, UAE, Sri Lanka, India, etc. How to get all these value in custom workflow...
View ArticleEnable user programmatically CRM 2011
Hi Everyone,I am trying to disable a user programmatically in a plug-in. I am using the following code snippet:SetStateRequest setStateReq = new SetStateRequest(); setStateReq.EntityMoniker = new...
View ArticlesetSelectedOption for Picklist
Does anyone know how to set the selected item in picklist programmatically?It already has getSelectedOption(), but I'm looking for if there any method like setSelectedOption(), so that I can set the...
View Article