Crm 2011 C# custom workflow
I’ve created a blank workflow in C# just for testing but I’m getting an error that I don’t understand and can’t find anything wrong with it. Any ideas?Error Unhandled Exception:...
View ArticlesetFocus() doesn't work
I try to set the focus on the description field of a support task or an email and it doesn't work any more after UR13var control = Xrm.Page.ui.controls.get("description"); control.setFocus();I don't...
View ArticleCRM 2011: How can I show a hidden web resource using JScript?
Quick one: How can I show a hidden web resource using JScript?I triedXrm.Page.ui.controls.get("WebResource_name").setVisible(true);but it didn't work...Thanks for the help!P.
View Articlecrm 2011 ajax REST set state and status code
I'm trying to set a queue item as inactive by changing the state and status but nothing is happening. Any ideas?As the code is written now it will return an error that says that the ‘2’ is not a valid...
View ArticleChange the back round color of a date field in crm 2011
I have the following line of code that I would like to use to change the backround color of a date field. It works on a value field but on a date field it only changes the backround color around the...
View ArticleSet the value of the option field that the user is on
I have an option set field that is that record status. When the user changes the record status, I want to do a few checks and if there are issues with the record I want to warn the user and reset the...
View ArticleCRM 2011 Account Initialize Default Values
The account entity has 3 custom fields that are Business Required.When user creates an account, JavaScript in the form OnLoad, initializes these 3 fields with default values. When instead the account...
View ArticleMaking a field required from a picklist value jscript
HiDoes anyone have a jscript i can use, which will allow me to make a field required based on a picklist value?ThanksJB
View ArticleCRM 2011: Custom Workflow Step Displays as In Progress
I have a custom workflow step (inheriting from NativeActivity and notCodeActivity) which is kicking off an operation, then calling thePostone activity via...
View Articleopportunity close pre event plugin.
Hi All,I want to be able to stop an opportunity from being closed as 'won' if the user does not have a specific role (e.g. only certain users can actually close an opportunity as 'won'). I have tried...
View ArticleShow Lookup field's additional attributes
Hi All,I have a lookup field on my custom entity's form that point to the Contact entity. On the custom entity's form, I want to display the additional fields that are on the contact form; one of the...
View ArticleDisplay User Roles on CRM textfield
I have to get the Security roles of the logged-in user, now after getting the security role/s, i have to display the role/s in a single textfield? how can i accomplish this thru javascript?Note: i got...
View ArticleCRM 4.0 IFD Authentication from a custom aspx page
Hi,At the moment we use the standard windows authentication with our custom application (which uses the sdk assemblies), I am trying to authenticate in an IFD scenario from a custom aspx page. I used...
View ArticleStream SSRS report to PDF from plugin
Hello,I'm having problems finding CRM 2011 examples of streaming an SSRS report to PDF format from a plugin. I want to be able to stream an SSRS report to PDF and store the PDF in a server...
View ArticleCurrent Date and Time
I need to put an alert on the screen if the time is between 8 and 5 local user time; Monday through Friday and hopfuly not on a holiday. Can someone please help me to create this if statement?Thanks,...
View ArticleHow to write a Javascript for hiding lookup value id is null in MSCRM 2011
Hi,Can anyone help me how to write a JavaScript for hiding a lookup value if its value is null.As per my requirement I have 2 lookup values in one form if it's values are null while opening the record...
View Article"An error occurred while processing your request." error when accessing...
Hi,My local WCF service is unable to connect to my employer's Dynamics CRM 2011 server as the "http://schemas.microsoft.com/xrm/2011/Contracts" file is currently unavailable. This file is referenced in...
View ArticleConverting JS Soap Method from CRM 4 to CRM 2011
How can i get the following to work in CRM 2011 using the WCF endpoints? Thanks in advance. function GetOfficeName(OfficeId) { var xml = "" + "<?xml version=\"1.0\"...
View ArticleHow to Fetch Data from Dynamic CRM 2011 using web service and c#: On-premise?
I am trying to fetch data from MS dynamic CRM 2011 on following environment Dynamic CRM 2011 On-premise using Windows authentication.Microsoft.crm.sdk.dll and microsoft.crm.sdktypeproxy.dll...
View ArticleWebservice as SYSTEM
Hello, I developed a asp.net page using crm data but i have an authentification problem. When i'm running my page in local(using Visual Studio), i'm connected as me. But when i'm running the same page...
View Article