Anyone successful with LocalTimeFromUtcTimeRequest
I'm attempting to use the LocalTimeFromUtcTimeRequest,but have found it to be largely unhelpful. The result LocalTime property seems to depend on my server's timezone. I found this specifically to be...
View ArticleRestrict Access to Form from a time 3 days before the Date on Form
I have a form that contains a date called Date1.I want to restrict access to that form from 16:30pm 3 days before the Date1.Anyone know how to do this ?
View ArticleMost efficient way to retrieve an entity collection by a range of IDs
I have a List<Guid> object with a bunch of IDs in it.I would like to retrieve the records for the IDs in the list.I have thought that maybe I could use a Multiple Request or maybe I could use a...
View ArticleAggregate and advanced queries for a CRM custom view
I have the following 3 questions:Is it possible to create a view in CRM 2011 that has GROUP BY and HAVING COUNT(*)=X logic, as we can do in SQL? if so, how do I do this?When adding columns from other...
View Articleretrieving multiple related data using oData_EndPoint
Hi, I am trying retrieve multiple lookup fields of an entity into another entity(Main form). So I used oData query to retrieve them. I was able to pull the data but stuck at avoiding null values. I am...
View ArticleSet Lookup field to null programmatically in CRM 2011
Hi ,I am trying to clear the lookup value to null programatically through plug-in but no luck.I am writing th ebelow line of code. Dim recordUpdated AsBoolean = False Dim objEntity...
View ArticleHow to fill in the Primary Field with the value from an Option Set
Hi, I want to copy the value of a option set into the primary field within the same entity. I found this blog that indicates that this is possible using a workflow but I am unable to make this work....
View ArticleCustom SSRS Report for CRM 2013 for single record.
I need to create a SSRS report with SQL Queries in context of a single record like i need to run the report in the context of a single contact record.I also need to use CRMAF for this as my query will...
View ArticleCRM Plugin - doesn't appear to do anything
I have written my first plug-in, but it doesn't appear to do anything.I have a field on the quote form that I want updating with the parentproduct names from the products that are on the quote when the...
View Articledesigning new features in crm forms 2013
Hi,I am new to crm and I have a question.How to design a new feature like for example a 'Search' feature in CRM forms 2013 version from scratch?If we want to create a custom Search page and a results...
View ArticleFetch XML V LINQ
I wrote a plugin that appeared to work as it should, the only issue is when there are nulls in the returned data the code errors:using (GeneratedCode orgcontext = new GeneratedCode(service)) { var...
View ArticleFetching PartyList Members via SOAP
Hi FolksWhat is the recommended way to fetch members of a PartyList attribute? Say I want to retrieve the 'to' contacts for a specific phonecall, how would I go about doing this? I've searched and...
View ArticleCreate entity record through Javascript , CRM 2013 , SDK.Rest.CreateRecord
CRM 2013I am using SDK.REST.js to create a new record of a custom entity using the createRecord function, all according to msdn (http://msdn.microsoft.com/en-us/library/gg334427.aspx)This worked...
View ArticleAdd ability to enter text into option set
Is there a way to do one of these two things:Allow the user to enter text into an option set if there isn't an appropriate optionIf "Other" is selected in an option set, a text field for entry...
View ArticleAdd webresource or iframe MS CRM 2013
Hi All,Is it possible to add webresource or iframe between ribbon button tab and information. Check the below screenshot.Supported or Unsupported by any way provide solution.Thanks
View ArticleUpdating The Primary Field via a C# Console App
Hi,CRM 2011 On-PremiseVisual Studio Express 2013 for Windows DesktopI'm very new to both C# and the CRM 2011 SDK.I'm writing a simple console application which updates existing values on an Entity.The...
View ArticleCRM 2011 Data Import using SDK
Is it possible to use SDK to import .CSV file using existing Mappings stored in CRM.I tried it using sample code given in SDK but it keeps on throwing following errorNone of the columns are mapped, can...
View ArticleHow to reload only content of a CRM 2011 Form using JScript
Hi,Again stuck... I want to refresh the account entity form using JavaScript once it is finished updating a filed.If I use windows.location.reload(true) , that will refresh the whole page. Doing so it...
View ArticleError message 'On Change': Cannot assign to a function result
Hi.In our CRM 2011 (RU16) implementation we have customized the CASE object.There is one script designed to calculate the number of days between case is raised and case is replied. The calculation...
View ArticleRetrieve Work hours of a resource, MS CRM 2013
Hi,I have set works hours of a resource asFrom 10.00AM to 1.00PM, Break 1.00PM to 2.00PM, andFrom 2.00PM to 5.00PM.I have used QueryScheduleRequest to retrieve resource work hours. And the code returns...
View Article