Quantcast
Channel: Forum CRM Development
Browsing all 1000 articles
Browse latest View live

CRM 2011: How to hide Ribbons toolbar of a custom entity inside an iframe?

I have Entity B loaded in an iframe of Entity A. I'd like to hide the ribbons on the Entity B (as well as the left navigation panel).I found this code and it does work...

View Article


Create Record through a Web Form

I have created a web form in Visual Studio that when I run locally works great. It takes the input fields and creates a contact in the CRM. I can use the html to put the web form up on a website but...

View Article


Image may be NSFW.
Clik here to view.

Plugin not updating Date Time Field using service.Update...

Hi everyone.I have 3 custom fields. Paused Date, Resume Date and SLA date.These values are populated using JS via a button.I want to recalculate the SLA date based on the date/time difference of the...

View Article

display custom entity

how to filter custom entity  bellow code display list of all entity .  i need to filter entity which are custom .                 RetrieveAllEntitiesRequest req = new RetrieveAllEntitiesRequest();...

View Article

Not able to create a view for Merged Accounts in CRM 2011

I want to create a view where Merged = Yes or MasterId contains data in Account entity, I am not getting Merge fields(Merged,MasterId) in View Filter Criteria. Is there any way I can create a view with...

View Article


Error creating attachment for email in plugin

I'm trying to copy a document in a note and attach it to an email which is also created in the plugin. I'm using CRM Online.The attribute I'm having trouble with is ObjectTypeCode.Entity attachment =...

View Article

lookup in crm plugin

Crm 2013 on premisesI have a custom entity that has a lookup field (new_licence ) to accounts. I am trying to write a plugin to export data when a record is created for a legacy systemhow can i get the...

View Article

Still struggling trying to build plugin

CRM2013I am trying to write a plugin in that is fired on 'create' on a custom entity. The only problem I am having is with the lookup. The custom entity has a lookup 'new_licence' to accounts, and I...

View Article


Plugin is not getting trigger on Associate message (for N:N relationship)

Hi All,I've a requirement to create a plugin on N:N relationship, for that I've created a plugin and registered it on Associate and Disassociate message, but my plugin is not getting trigger when I am...

View Article


Export CRM Data to Excell using C#

Hi,I need to export Crm Entity (lead,contact) recors to excell sheet  using C#.I got the bellow link but it doesn't  work....

View Article

CRM 2013: Calling actions from javascript

Hi all,I was trying to call action from javascript using the below code:function Approve() { debugger; var reason = "aaaaaaaaaaaaaaaaaa"; var entityId = Xrm.Page.data.entity.getId(); var entityName =...

View Article

CRM 2011: Javascript: Object doesn't support property or method 'setSrc'

Hi there,I've a simple Javascript which sets an image in an iFrame on change of a field. Here is the code used:Xrm.Page.ui.controls.get("IFrame_Name").setSrc('/WebResources/SampleImage.png'); Object...

View Article

Create phone call using web services problem

Hello,I'm trying to create a phonecall and assign the from and to attributes:Entity phone = new Entity("phone"); phone.attribute["subject"] = "hello"; phone.attribute["to"] = new...

View Article


Hiding a lookup field on a CRM 4.0 form

I'm trying to hide a look up field on a CRM 4.0 form. I've tried the 2 following lines, but neither works, I can still see the field on the form! It's definitely not being unhidden anywhere...

View Article

Execute only when entityreference is not null - how to do this for a plugin?

I am trying to do the code below but it is not working - anyone know why?EntityReference cdd = (EntityReference)entity.Attributes["new_case"];if (cdd != null) {   //Do code }

View Article


CRM 2011 Filtered Subgrid Error

HiI cant get my head around this error.I'm trying to filter a subgrids "Add existing..."-button. The relationship is a N:N and my code looks like this:function addExistingFromSubGridCustom(params) {...

View Article

[CRM 2011] Problem changing the email recipient in a plugin

We would like to be able to send emails to something other than system users, accounts and contacts. Meaning, we have a custom entity containing an email address, and a workflow which is supposed to...

View Article


Urgent Please : Retriving Entity including RelatedEntity using...

At Present I am getting  orders with following code, Now I want to get even related entities like products with salesorder. Can any one please suggest me code block for retrieving related entity with...

View Article

CRM 2011 organization service in IFD

Hello, everyone!We have written a very simple web app to test connection to CRM 2011 data. Here's the part of the code that tries to get a count of Contacts in CRM Database:        ClientCredentials...

View Article

Add a button to CRM 2011 Form

I'm trying to add a Java Script button the a form in CRM 2011 and it will not work. ?I keep getting this"Invalid web resource type form form"       any thoughts?  I added it as a resource to my...

View Article
Browsing all 1000 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>