dynamics-crm-2011

How to get programmatically(via plugin) CRMWRPCToken & CRMWRPCTokenTimeStamp in CRM 2011?

浪尽此生 提交于 2019-12-10 11:32:16
问题 guys!:) I work with CRM 2011 & I need to automatically generate download link for attachments in entities records with C# plugin via attachment GUID. This link looks like this: /SERVER/ORGANIZATION_NAME/Activities/Attachment/download.aspx?AttachmentType=5& AttachmentId={GUID}&IsNotesTabAttachment=1&CRMWRPCToken=8oi054LNEeOd7QAVXZNIANwO8jNsflfFQ75fqPK2zC4Az6I2yWatX71ugBe7bgHy&CRMWRPCTokenTimeStamp=635273624756233624 But I haven't got any idea, how to get these CRMWRPCToken

Hidding toolbar for reports created using SSRS 2008 in CRM 2011

[亡魂溺海] 提交于 2019-12-10 11:28:29
问题 I have created report in SSRS 2008 and have attached them to the dashboard. The report is displaying fine, except for the fact that about 15-20 % of the space gets occupied by SSRS menu toolbar which has options for printing/zooming etc. Is there a way for me to minimize that tool bar? I also have a parameter bar that I can hide. But it doesn't stay hidden by default. Is there a way for me to temporarily hide the parameter bar when the dashboard loads? while googling i got this link but when

SystemUser class in CRM2011 SDK Sample Code

好久不见. 提交于 2019-12-10 11:27:47
问题 I am using the Microsoft CRM2011 Sample Code, when I try to compile it with Visual Studio 2010, (i use the C-Sharp code only, No VB for me please), i get this error: Error 13 The type or namespace name 'SystemUser' could not be found (are you missing a using directive or an assembly reference?) systemuserprovider.cs I am compiling a file straight from the SDK ... SystemUser currentUser = serviceProxy.Retrieve(SystemUser.EntityLogicalName, currentUserId, new ColumnSet("domainname")).ToEntity

CRM 2011 SecurityNegotiationException trying to access web services

时间秒杀一切 提交于 2019-12-10 11:16:11
问题 Getting an unexpected error when trying to connect to CRM 2011 web service. Here's the background: Connection String (with sensitive info removed): "ServiceUri=https://crmdomain.com/OrgName/XRMServices/2011/Organization.svc; Url=https://crmdomain.com/OrgName; Username=appusername; Password=hidden"/> Creating the connection as follows: Parse conn string into CRMConnection: var conn = Microsoft.Xrm.Client.CrmConnection.Parse(connString); (at this point, the properties in the CrmConnection

How to get the CRM Entity Name from the Object Type Code of a RegardingID?

爱⌒轻易说出口 提交于 2019-12-10 10:39:13
问题 So it seems that it is a fairly common question in CRM to try get the object type code when you have an entity name. But since I always have to do things the hard way, I have the reverse task: I have the object type code, and need to get the entity name. In general, the ultimate task is to take the the CRM regarding information on an email, and use it to query CRM for additional info. I can get the regardingID and the object type code easily. And for standard entities I can use a hardcoded

Advanced Find - combine related entitie with OR

流过昼夜 提交于 2019-12-10 03:31:36
问题 Is there any way to create that query? I need data from Adress and Contact Adress, normally i can just combine them by Combine OR but not in this case. I guess that i must write new plugin with PreExecute() method, get my query, parse data and then manualy get equal address OR there are other way? 回答1: I am unaware of any way to do the above. Rather than write a plugin however I would do a report. Simplest way I can think of is to do your fetchXML without filters like so. <fetch version="1.0"

Multilingual solution

蹲街弑〆低调 提交于 2019-12-09 23:45:52
问题 Two questions, hopefully with similar answers. I'll be releasing a JavaScript package in my solution where the error messages are to be displayed. The problems is that I'll be targeting German, English and French. Possibly, also a fourth language TBD. What would be the nicest way to resolve this? The label names should definitely be localized. Is there a built-in approach to that in CRM 2011? Like a resource table or something like that? My current solution for (1) is to keep an extra web

How do you have multiple javascript libraries in Dynamics CRM 2011

自作多情 提交于 2019-12-09 06:30:34
问题 Right I am creating a method which adds an Account to Dynamics CRM with an Ajax POST to a built in webservice, the code is as follows : var context = GetGlobalContext(); var serverUrl = context.getServerUrl(); var ODATA_ENDPOINT = "/XRMServices/2011/OrganizationData.svc"; var account = new Object(); account.Name = "Sample Account created via OData jQuery library."; // Parse the entity object into JSON var jsonEntity = window.JSON.stringify(account); // Asynchronous AJAX function to Create a

Why is infinite loop protection being triggered on my CRM workflow?

半腔热情 提交于 2019-12-09 05:36:17
问题 Update I should have added from the outset - this is in Microsoft Dynamics CRM 2011 I know CRM well, but I'm at a loss to explain behaviour on my current deployment. Please read the outline of my scenario to help me understand which of my presumptions / understandings is wrong (and therefore what is causing this error). It's not consistent with my expectations. Basic Scenario Requirement demands that a web service is called every X minutes (it adds pending items to a database index) I've

Dynamics CRM 2011 Outlook client and browser rendering

情到浓时终转凉″ 提交于 2019-12-08 22:03:23
问题 So, with Dynamics CRM 2011 you can use the Browser Client or the Outlook client. They look very similar, which makes me think the Outlook Client must be using Internet Explorer (or components thereof) to render most of the pages. I've been trying to find out if that is the case, without much success. So my question is: Does the Outlook Client for Dynamics CRM 2011 outsource the rendering of pages to Internet Explorer in some way? If so, is it affected by the version of Internet Explorer that