importing an option value through a dtsx
I have a dts which fires every time a record is added to a legacy SQL system. I am trying to import the data to crm through a dtsx, but have come a cropper.one of the values im trying to import is a...
View ArticleHow to Copy Optin Set from One entity to another
Dear All,I have a Option set in LEad Entity with almost 70 options to select.Now am designing a new Entity and i need the Same option to be in the New Entity.It will be really a tedious job to create a...
View ArticleGetting entity parameters by id
HelloHow to get entity parameters having its id? I mean, for example, accounts name, address, etc. I have object's id:Guid regardingobjectid = new Guid(context.OutputParameters["id"].ToString());How to...
View ArticleGetting the value of an entity attribute from PostImage
I'm trying to get a value from a PostImage of a lookup that's been changed (in a plugin).I've tried loads of different things, but keep getting the entity name, as in,...
View ArticleI need help with variable scope for XRM C# code
On the Catch section of a Try-Catch block I need to save a value which is declared in a foreach loop (var crmAccount). I have to declare crmAccount outside the Try to be able to use it in the...
View ArticleRetrieve line breaks from ntext field
In my asp.net application I need to retrieve ntext fields with line breaks. How can I do this? I know I can insert with .Replace(Environment.NewLine, "<br />") and then receive line breaks back,...
View ArticleLock field on initial save
Hi All,My client would like a couple of fields on the opportunity form that lock once they have been filled in and the opportunity saved for the first time, after this they should stay locked.Is there...
View ArticleAdd week and year to opportunity
Hi All,My client would like two fields adding to the opportunities form, one for the week the opportunity was created and the other for the year the opportunity was created. They should be locked and...
View ArticleRollup 12 - problem with web resources and jquery
Hi all,Before Rollup 12, the main form iframe of an entity added js script references in the <head> section. After RU12 the scripts are added in the body and scripts aren't always executed in...
View ArticleHow to set an integer field to null through soap API
I am trying to set an integer field to null through soap API. However, I always get errors.With <b:value i:type="c:int" xmlns:c="http://www.w3.org/2001/XMLSchema"></b:value>, I got the...
View ArticleHow to set Default value for Time in Date and Time Field
Hi ,Could someone pls tell me how can i set default value for time in Date and Time Field.
View ArticleXrmServiceToolkit.Soap.RetrieveAllEntitiesMetadata
I am trying to use this method from XrmServiceToolkit.XrmServiceToolkit.Soap.RetrieveAllEntitiesMetadata(Array entityFilters,BooleanretriveIfPublished,callback) Can any one tell me what parameters...
View ArticleUnable to click "Add New" for related records. "The Tag is Invalid"
I'm having a weird error in CRM where nothing happens when I click on the Add New ... button for any entity. Note that this only happens after I have created a record. For example:Create a new...
View ArticleCRM 4.0 - Disable focus for a disabled lookup field
Hi all,I am having difficulty disallowing the tab action onto a lookup field that is greyed out (disabled). I can still tab onto that disabled lookup field (cursor is still highlighted on the field but...
View ArticleGetting the value of an entity attribute from PostImage
I'm trying to get a value from a PostImage of a lookup that's been changed (in a plugin).I've tried loads of different things, but keep getting the entity name, as in,...
View Articleribbon save and save new buttons are disable on phonecall activity.
hi everyone,i try to get a value from contact to phonecall but when i open the phonecall i cant add email(there is 1:N relationship between phonecall) activity.the ribbon save and save new buttons are...
View Articleimporting an option value through a dtsx
I have a dts which fires every time a record is added to a legacy SQL system. I am trying to import the data to crm through a dtsx, but have come a cropper.one of the values im trying to import is a...
View ArticleCRM 2011 Datacollection class
Hi I got this code from some blog but I coudn't get my head around the last few lines (I've marked it in bold). Could someone please explain me what the last few lines mean and what it is trying to do...
View ArticleChanging the From field value in an incoming E-mail
HiI'm having trouble changing the from field on an incoming email.The scenario is that if I receive an email from a customer that hasn't got a record in CRM, I want to create a customer and set the...
View ArticleHow to Copy Optin Set from One entity to another
Dear All,I have a Option set in LEad Entity with almost 70 options to select.Now am designing a new Entity and i need the Same option to be in the New Entity.It will be really a tedious job to create a...
View Article