Creating Email Activity + ActivityMimeAttachment with oData in Offline mode -...
Hi guys, I wrote some javascript code that creates an email activity with a PDF attachment. It's functional from the CRM web client (On-Premise) and using the Outlook client when I'm in online mode,...
View ArticleHow to make chart's legends wider?
Hello,I have a pipeline type chart as a part of my dashboard. The chart has labels (or legends) docked to the right. The problem is that by default the text is cut at some point and three dots are...
View ArticleAdd multiple Custom views in Party Lookup (Regarding)
I have set up the Regarding lookup (in Email entity) to show only Incidents and a custom entity, called Problem. I can set up through JavaScript a custom view (filtered) only for one of these...
View ArticleProgrammatically remove resources for Service Appointment
I am adding the resource to the SA in the following manner:ActivityParty resParty = new ActivityParty(); resParty.PartyId = new EntityReference() { LogicalName = "systemuser", Id =...
View Articlereturning target ID on crm 4 custom activity
I just want a simple custom workflow activity to return the accounted (guid value) so I can pass it to another activity like an email. this is the code that I am using . it is pretty simple but is not...
View ArticleCall localhost endpoints on IFD deployment
We have a loadbalanced deployment with 3 front end servers. While processing async plugins we make calls out to other organizations on the same deployment, but the IFD url is load balanced...
View ArticleAccessing the CRM lookup window from an external application
I have some nice JavaScript code that allows you to access the lookupinfo.aspx page when deploying a solution as an html web resource. var surl =...
View ArticleCRM 2011 Getting System.TypeLoadException after plugin build
Hi!Fixed an error in a plugin(EmailFilterPlugin which treats emails) and build it With success(Visual Studio 2010). Then updated the plugin with Plugin registration Tool(as usual) and suddenly we get...
View ArticleSerialization Exception in WorkFlow 4.5 with...
Hi, I have configured my WorkFlowApplication to emit tracking records. And, in the overridden Track() method Im trying to convert the TrackingRecord to XML and storing it somewhere.Im able to parse all...
View Articlexpathevaluator' is undefined
I got error on this line... (IE10)var result = window.showModalDialog(Xrm.Page.context.getServerUrl() + "/WebResources/ser_constituentdialog", obj,...
View ArticleAdd multiple Custom views in Party Lookup (Regarding)
I have set up the Regarding lookup (in Email entity) to show only Incidents and a custom entity, called Problem. I can set up through JavaScript a custom view (filtered) only for one of these...
View ArticleCreating Opportunity with Silverlight
Hi all,I'm trying to just create a simple shell Opportunity so I can further it once I know I can create one. My issue is that I've been able to create Accounts and Contacts through similar code to...
View ArticleSilverlight CRM Context Best Practice
I have a Silverlight application that I use to schedule, update and cancel Service Activities. Every once in awhile I'll get strange behavior from certain users that I can't explain. For instance,...
View ArticleThe system cannot find the file specified. (Exception from HRESULT: 0x80070002)
If i am using consoleapplication i am getting that project template under the solution.But I failed to get custom webapplication into the specified solution.using System; using...
View Articlehow to get the name of a solution component in MS dynamics CRM
Hi, I trying to retrieve the list of default solution solution components. I don't find an attribute to get the names of solution components of default solution...Following is the code I am using to...
View ArticleEntity created from action won't update
Hi Everyone,I tried writing a simple code to utilize Actions in CRM 2013. The following code is registered on post-execute phase of a custom action:EntityReference ent =...
View ArticleMS CRM 2011 online - setting appointment's set regarding field automatically
I have a form where is a subgrid pointing to appointments. When I add appointment via the subgrid, I want to set the appointment's regarding field to populate automatically and pointing to originating...
View ArticleJavascript-only way of adding event and passing event context?
I'm faced with the daunting task of adding "on change" events to hundreds of fields, a large amount of which require passing the execution context. I know that this is the way to add an "on change"...
View ArticleCRM2013 / window.open / problem
We have developed a Silverlight application in CRM2011 . In this application, a Silverlight DataGrid is included. When the user double-clicks on the DataRow, a new window (detail-data) opens....
View Articlelinq to sql using crm early bound classes
Hi all, i am using subselect query for salesorder entity has new_sefer field. My query is(from d in context.SalesOrderDetailSetwhere context.SalesOrderSet.Where(s => s.new_Sefer.Id==Id).Select(i...
View Article