dynamics-crm-2011

Execute External Console Application From Dynamics CRM

こ雲淡風輕ζ 提交于 2019-12-12 03:48:34
问题 I need to execute a console application from Dynamics CRM. What is the best way of doing that please? The app should execute on daily basis. Thanks. 回答1: If you just need to run a console application on a schedule then I've found Windows Task Scheduler to be excellent. Here's a link to MSDN: http://technet.microsoft.com/en-us/library/cc766428.aspx You can also use SQL Server Agent to run a console application but it requires a little more setup 来源: https://stackoverflow.com/questions/26431521

Form Navigation Item not showing to all users

余生颓废 提交于 2019-12-12 03:47:25
问题 I have created a left hand form navigation item (NavBarItem) for the Contact Form. <NavBarItem Id="navLink{a9b44918-671d-9ed7-5266-721c87b25297}" Sequence="10" Area="Info" Icon="$webresource:ft_CKYC16" Url="$webresource:ft_/ContactSummary"> <Titles> <Title LCID="1033" Text="Client Summary" /> </Titles> </NavBarItem> This item shows a web resource and works fine when viewed as an admin user. However, when viewed as a normal user the navigation item is not displayed. This is probably a

CRM 2011 Quick Find Search using default wildcard (*) automatically [closed]

拟墨画扇 提交于 2019-12-12 03:26:31
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 3 years ago . I have tried the following which I found in another post but it doesn't seem to make a difference: 1.Go to the following path and find "stage.js" file "C:\Program Files\Microsoft Dynamics CRM\CRMWeb_static_common\scripts\" 2.Create a backup copy of this file before any

Can I programatically refresh an Outlook entity view? (online 2013)

时间秒杀一切 提交于 2019-12-12 02:30:07
问题 Our setup is Outlook 2010 + CRM addin connected to a 2013 online instance. I have some custom ribbon buttons on the lead grid ribbon that manipulate selected leads. After certain operations, I would like to tell Outlook to refresh the current view as the operation has updated selected leads so they should no longer show in the current view. Currently, I have to explain to users that the view updates on its own schedule and they must manually refresh the view (View tab/Refresh button) if they

Related activity records

纵然是瞬间 提交于 2019-12-12 01:56:26
问题 So here is the thing : I created a custom entity "new_ligneContrat" which has a one-to-many relationship with another custom entity "new_produit". Here is the goal: when a new record of "new_ligneContrat" is created, it has to get the "new_produit" records of the "new_ligneContrat" before it. The plugin is built on "new_ligneContrat. I was wondering if FetchExpression + last() could do it, but right now I haven't found the proper solution... Thanks in advance ! Edit1 : We decided to go for a

how to match a input value with the regular expression in dynamics crm 2011?

我的未来我决定 提交于 2019-12-12 01:09:24
问题 At the contact form I have a field name as Extension (new_ext). and at the onChnage event I want to do check weather the user has enter the number or anything else. I have the following piece of code. function formatPhone(phonenum) { var ext =phonenum.getEventSource().getValue(); var reg = /^[0-9]$/; if(ext.match(reg)) { alert("Valid"); } else { alert("invalid"); } } It returns me always invalid even if I enter a letter or a number or both. I want to seek your kind suggestions and help

Updating field in CRM 2011 through javascript from ribbon button on homegrid view

℡╲_俬逩灬. 提交于 2019-12-12 00:09:54
问题 I am trying to create a button on the initial list or homegrid view of leads that will set the value of a specific field to the same value every time for the lead that is selected. Anyone know how i can do this through javascript? Thanks! 回答1: To build on James's answer, you can use the CrmParameter SelectedControlSelectedItemIds to get a list of all the leads selected in a homepage grid. There is an answer on the MSDN forums that explains how to do this, copied below. You can do this in the

Subgrid: Restrict user to select only one record

ぐ巨炮叔叔 提交于 2019-12-11 23:14:00
问题 i have a subgrid on a custom entity form where i am showing related records for Case Entity. I want to restrict user to select only one record. How can i achieve this using javascript in crm 2011 回答1: Sometimes unsupported should be supported!!! Especially when one needs to go the whole distance to implement such trivial UI requests. The Subgird has all these nice methods that you can use that for some reason Microsoft insist on not exposing as SDK. That’s silly. I would also look for a

What email format is used by CRM 2011 to validate email address?

纵然是瞬间 提交于 2019-12-11 22:30:49
问题 Can anybody tell that how emailaddress is validated in CRM 2011 ? Because when I am trying to save EmailAddress on Lead Entity like Lead lead = new Lead() { FirstName = "ABC", LastName = "XYZ", EmailAddress1 = "test@test.com" }; serviceProxy.Create(lead); It throws Generic SQL Error. I think it is because EmailAddress1 field has Format = Email . I have created a new field new_MyEmail and set Format = Email Lead anotherLead = new Lead() { FirstName = "DEF", LastName = "STU", new_MyEmail =

How to test what data is present in d.data.results when querying CRM 2011 AppointmentSet using JavaScript and REST OData

浪尽此生 提交于 2019-12-11 20:24:56
问题 I am trying to populate a field on my Account form that shows the last Actual End date of the accounts completed appointments. My Query seems to work exactly as I want. I used the Dynamics XRM Tools solution to create my query, but I am unable to handle what happens if for instance the account has no completed activities or I create a new account that has no appointments at all. I am trying to test the value data.d.results returned to my success Method within the ExecuteQuery function of my