extracting pdf attachments
I wrote a program to pull all the attachment from a CRM 2013 instance. I think the code is typical: /// <summary> /// Takes an attachment and writes out the document to an existing directory...
View ArticleRetrieve only StateCode via LINQ
I've written the following LINQ query that is attempting to return the StateCode values for all Contact records that match a particular last namevar cs = (from c in myCTX.ContactSet where c.LastName ==...
View Articlethrow an exception while trying to delete a record
Hi,I want to throw an exception error while trying to delete a record in ms crm 2013 using plugin by registering a delete message step in sdk and giving pre-operation...I ahve tried using a basic...
View ArticleCRM 4: Pre-Create Plugin with Advanced Developer Extensions
I've previously used dynamic entities in pre-create plugins to amend data before it gets passed to the platform. In this scenario, there is no need to make any update requests etc as I was just...
View Articleorgcontext.AddLink
I have a queue which contains cases.I select a Case and I run a Workflow Entity on the selected Case and the workflow creates a Contact for the selected Case in the Citizen Entity.I want to add a link...
View ArticleformContext.getEventArgs().preventDefault() does not work on "Save and close"...
Hi,I have a result field in my appointment and phone call entity which users are supposed to enter the data only when they want to complete the activity. if they enter something in it and try to...
View ArticleSSRS query for customerid 'contains' text value
I want to filter account names that contain X (so I can include all locations of a customer that start with X). So I want to return records that are XNY, Xboston, XAtlanta and so on).Any ideas greatly...
View ArticleJavaScript Error on slection of a record from Lookup in CRM 2011 Online with...
Dear,I am getting below error When I am trying to select a record using lookup on Case entity.Microsoft Dynamics CRM Error Report...
View Articleplugin to set the values of dropdown in case form based on account lookup value
HiI have a requirement to write a plugin where..a)i have taken 2 dropdowns in case and same dropdowns in account form also.b)look up on case form with "account" as targetc)if v select account 1 in...
View Article$filter with lookup ids; SDK.REST call failing
I've got a few situations where my select string for a retrieveMultipleRecords call contains filters that include lookups (entity references). An example is below which contains 3 lookups in one...
View ArticleOpportunity Close - only pull the latest date
I am writing an SSRS report using Opportunity Close entity, displaying Actual End date. When an Opportunity has been closed, reopened and closed a second time, the report shows both rows. Is there a...
View ArticleCRM 2011 JavaScript assistance needed.
I have been working on the following javascript for awhile now and keep getting error that function is undefined. I can not see where my code is incorrect. Any assistance would be greatly appreciated....
View ArticleCreating SSRS Report similiar to Account Summary report
This is probably a long shot question. But, I'm trying to create a report similar to the Account Summary report. However I want the main report to be on appointments, and the sub report will be the...
View ArticleCRM 2011 : Retreive Selected rows from Associated View
Hi All, Currently i have requirement to retrieve selected records Id from the associated view. I have placed a custom button on the associated view ribbon button and it is calling a javascript...
View ArticleCRM 2011: Load a Lookup field from another Lookup field's attribute value.
I just want a contact lookup on a form, but then I want to also put a disabled lookup field next to it that contains the contacts parent account and load it via JavaScript. I cannot get the JavaScript...
View ArticleHow to Update records of a Sub-grid in CRM 2013 using OData JSON JQuery
Hello,Below is my Product sub grid on Quote Entity.Now On addition of new product , I am calculating Service tax and tax based on Price per unit, quantity and discount.Now i need to set calculated...
View ArticleQuestion about database trigger (CRM 4.0)
Hello,First of all I know what I'm about to ask is highly unsupported and shouldn't be done on a normal basis but it will save me so much development I'm willing to give it a try:I'm creating a "for...
View ArticleCRM 2013 JScript Update Contact Record
Respected Community Members, I have a requirement to Update Contact Field from JScript in CRM2013 where I am calling below function, but it doesn't work. The error says:- " SDK.JQuery.updateRecord...
View ArticleConfusion over referencing javascript files
CRM 2013 On-PremiseI have a HTML web resource and rather than put the javascript inline I thought I'd put it in a separate library and reference it....only I'm doing something wrong because the console...
View Articleset the table rows dynamically depending on a field value
I have a custom field on account form - "number"I need to create a html webresource and place it on a section in the accounts form..This html page should have a table so that.... If i type number "5"...
View Article