Xrm.Page.getControl not working
I'm doing an upgrade from CRm 4.0 to CRM 2011. I'm trying to update the following line of code:document.getElementById("nav_intrastudent").style.display='none';...
View ArticleServiceContext.CreateQuery Not Returning All Key / Value Pairs
CMR 2013 On PremiseHello,I am querying the customeraddress entity and updating several values...or trying to.When a lead is created the user may not have a city in the address field. When the lead is...
View ArticleAccess User Entity Attributes through JavaScript
How can I access the user's primary email field via JavaScript? The following code sample works fine to get the user's full name, but I cannot figure out how to access other fields on the user...
View ArticleJavascript syntax error in CRM 2011 RU15
The following javascript worked fine prior to RU15. Any idea on why I would be getting a syntax error now. This is simply setting some check boxes as true if the corresponding currancy field is filled...
View ArticlePriceList (GUID) Used in a Solution Not Found on Target System
Hello,I made some changes to the default values on a form as part of a solution. The target system had an exact replica of the default value items...but of course they had different guids under the...
View ArticleBackground colour using Javascript on CRM 2011
Hello,I'm trying to change the background colour of the backfround that surrounds a field. I'm using the below coding but it only changes the colour inside the field itself, not outside.//Change...
View ArticleCannot link a Contact to Campaign Response in CRM 2011
Hi,Anyone know in CRM 2011 how to link a Contact to Campaign Response customer field programmatically? I have tried below method but no luck ActivityParty activityParty = new ActivityParty()...
View Articlecheck if id already exists based in other form - Javascript CRM 4.0
Hi guys, I'm a new javascript dev. and I don't know how to check (at OnSave) if a field equipment id on contract detail form already exists for a contractid. I've trying something like this:var equipm...
View ArticleCRM 2011 - Get Last PhoneCall and E-mail Activity of the Opportunity and Account
Hi All,I want to show last activity of type phone call and e-mail against account and opportunity in the SSRS report.This report table will have columns from all these 3 entities. Somehow I am not able...
View ArticleHow to retrive the field data type in mscrm 2011 through plugin
Dear ALL;i want to know the Entity for example(Account) meta data information like what fields it has and its type it relationship information ETC most important is the type of the field can anyone help??
View Articleadd atrributes as an array in mscrm 2011 when creating new record
Dear all;as we know that when we create new record throguh plugin we add field names and value for example Entity account= new Entity();account["name"]="abc"service.create(account);can we do in a way...
View ArticleCRM 2013 Error : Could not complete operation due to error 80020101
Hi there,I'm using CRM 2013 on-pre sometimes its throwing Could not complete operation due to error 80020101 on the page and its crashing down.Error on Jscript...
View ArticleOpen Form with Navigation Link clicked
HiI have used xrm.utility.openEntityForm to open the form of record. I want that when form open then left navigation link opportunties is opened as showin in attached screenshot. Is it possible?Thanks
View ArticleCRM 2013 ADFS 2.1 SDK Calls, Error: System.NotSupportedException: The...
Hi Community,I have successfully configures CRM 2013 with IFD. I get the error message from above when i try to connect to the CRM via SDK calls.I have tried to apply the following KB-Article. Which...
View ArticleStuck on an IF statement
If this IF statement is in the code, it never fires off. And I'm not really sure why, it's starting to drive me crazy. So I Thought I'd ask.Here is how I am getting the data:EntityReference roleid =...
View ArticleIssue using CSS in an HTML webresource CRM 2011
I posted this question yesterday but it is not there today. So I am posting it again.I am looking to understand how to use a CSS in an HTML webresource. I am running into limitations with the dialogs...
View ArticleDeactivate Button on Custom Entity does not execute.
Hi,I want to enable a 'Deactivate' button for a custom entity at the form level. This is my first ribbon button , so I might be missing something.I can see the Button ok, but it doesn't seem to...
View ArticleHow to list all records owned by a particular user - CRM 4
When someone leaves the company and we "disable" that user in CRM we need to re-asign anything owned by them.Is there a way in CRM 4 to get a list of all records owned by a particular user?
View ArticleOrder in Query Expression CrmService Classes excluding 0 (zero)
I have a requirement for a query ordered by an int field, called priority. This field could be null, equal or bigger than 0.I would like to order first, by priority ascending excluding 0 (From 1 to X),...
View Articlehow to create a Record in CRM 2011 using Web Service??
i want to create a record in contact entity of CRM 2011 using the web service (i have added a service Reference - Organization.svc) i can create a simple record with specifying first name & last...
View Article