Linq Query Failing - "'Contact' entity doesn't contain attribute with Name = ."
StartI ran across a linq error today where by a seemling straightforward linq query failed.The query in question was on customised entities, however I have recreated the same error using the OTB...
View ArticleHow to prevent FetchXML injection attacks
How can one execute a FetchXML query with parameters and prevent an injection attack from occurring when executing the query using the CRM SDK? For example, MSDN documentation...
View ArticleMultiple main entity forms shipped with different soltuions ...
Hi,We have a default 'user' form customized and in our solution A. When we install the solution A to an instance where Solution B already has created a'new' user form and set as top in order, users are...
View ArticleCRM 2011 Plugin: Set Option Set Value
hi,I have a requirement to set the optionset value of a child entity based on the optionset value of a parent entity (Both optionsets has different values). Since I'm very new to writing plugins, can...
View ArticleHow to Sort time input dropdown
Hi,How to sort time input dropdown in the CRM datetime field? CANNOT use document.getElementById since it doesnt work in tablets and outlook. Thanks,nasayoo
View ArticleIncorrect Attribute Value
"2147220989 - Incorrect attribute value type System.Int32"Getting the error message above when running this section of code in a Post-Operation Plugin on the Update function. The Update function is...
View ArticleCRM 2011 - Plugin for Opportunity Close
Hi All,I need your help on below mentioned scenario for Plugin development. We are on CRM 2011 on-premise UR 18.Scenario: When end user close the opportunity as 'Lost', dialog box comes up asking for...
View ArticleEmbed certificate in plugin
I'm trying to include an x509 certificate which I need for talking to an external API. I'm not sure if this is the correct/best way or whether it's even possible.I'm getting the error "Object reference...
View ArticleCRM 2015: How do I get OrganizationService in a plugin registered in sandbox
I'm new to CRM Online 2015. I wrote a plugin registered in isolationmode = sandbox, update of account. It should save a typed-in telephonenumber into a custom field in a normalized form. Before this...
View ArticleCRM 2011 on premise custom ASPX page integration
Good Morning,We are running CRM 2011 on premise, within a single domain environment.I've taken a very basic C# app from this blog -->...
View ArticleCRM 2013 Plugin: Setting up new relationship on newly created Accounts
I'm creating a plugin for CRM 2013 (on-premise). My requirement is like this:When a custom entity "Contract" creates, fire the plugin.Contract has "1:1" relationship with the Quote entity.Quote has a...
View ArticleCRM 2011 Send email with late bound
Hi Forum,I have a requirement where I have to send email using SDK when new project(custom entity) is created in CRM.Email 'From' and 'To' are both our company emails but are not CRM...
View ArticleCRM 2015 - Portal
Hi All,I write an MVC application that connets the CRM . I am caching the service into memory cache in WCF service.. When concurrent users are trying to log into system crm service gives can not access...
View Articlehow to conver guid id to this format
i created guid id but i given reference to the entity reference it should be e359608e-8657-e511-80d8-3863bb2e4468 how to convert this format
View ArticleDisable a custom ribbon button based on a form value
I have put custom button named "Generate PO" in menu bar in sales order entity... Now,I want to check if order status is "Active" then only this menu is visible..otherwise menu isnot visible How can I...
View Articlehow to solve following error
string abc = Session["ab"].ToString(); Entity contact1 = new Entity("contact"); contact1["fullname"] = "durga"; // Set the required attributes. For...
View ArticleHow to retrieve Global Option Set metadata from DB
Hi, I have use the GlobalOptionSet metadata for a ssrs reporting need. Can someone please help how to get the GlobalOptionSet metadata information from the database using SQL query? I need to extract...
View ArticleCan't execute code from a freed script
Hello Devs,With my solution installed over a Dynamics CRM 2015 Online instance on Internet Explorer browser (10 & 11)...I am facing following script error while navigating from an Account to...
View ArticleHow to access mail merge record programmatically.
Hi allI am wondering if there is a way to get at the fields which have been selected in a mail merge template.I believe the Word template is stored in the body field. But I can't seem to find the...
View Article