dynamics-crm-4

WSImport generates conflicting XMLTypes for multiple Dynamics CRM 4.0 WSDL's

江枫思渺然 提交于 2019-12-05 20:51:29
问题 I'm currently working with the Dynamics CRM 4.0 webservice. First thing I did, was generating the right classes with wsimport for Java/JAX-WS based on the WSDL of the webservice. While generating the classes I got some errors: [ERROR] A class/interface with the same name "com.microsoft.schemas.crm._2007.webservices.RetrieveResponse" is already in use. Use a class customization to resolve this conflict. line 979 of file://src/main/webapp/WEB-INF/classes/META-INF/wsdl/CrmServiceWsdl.wsdl [ERROR

Pre & Post-Entity Images on Update-Plugin CRM 2011

有些话、适合烂在心里 提交于 2019-12-05 01:34:36
问题 I hope somone can help me with a problem I been trying to deal with over some time now. I have a create plugin and a update plugin. For testing purposes my create plugin (Pre-Operation) does a simple calculation and puts the result on a field after save. My update-plugin works fine when I register it on the pre-operation and change the fields I have my logic for. HOWEVER if I only change one of those fields (or get other fields dirty on the form)I get an error that the key was not present in

WSImport generates conflicting XMLTypes for multiple Dynamics CRM 4.0 WSDL's

ⅰ亾dé卋堺 提交于 2019-12-04 03:06:57
I'm currently working with the Dynamics CRM 4.0 webservice. First thing I did, was generating the right classes with wsimport for Java/JAX-WS based on the WSDL of the webservice. While generating the classes I got some errors: [ERROR] A class/interface with the same name "com.microsoft.schemas.crm._2007.webservices.RetrieveResponse" is already in use. Use a class customization to resolve this conflict. line 979 of file://src/main/webapp/WEB-INF/classes/META-INF/wsdl/CrmServiceWsdl.wsdl [ERROR] (Relevant to above error) another "RetrieveResponse" is generated from here. line 12274 of file://src

Watin - how to test site with popup pages

我是研究僧i 提交于 2019-12-03 13:08:13
问题 I'm using WatiN (Web Application Testing in .Net) to do integration testing on a Dynamics CRM 4.0 website. CRM uses a lot of popup windows - eg clicking on a Contact in a list opens a new browser window with the Contact's details. I want to test: login to CRM (done) go to the Contact list (done) click on an Contact, thus trigger the popup (done) test functionality within the Contact entity/form (can't do) So I need to get hold of the popped up window. How? Thanks. 回答1: //after the click that

Colorize the CRM grid

十年热恋 提交于 2019-11-29 12:03:29
How can I colorize the CRM grid on Dynamics CRM 4? I would like to automatically display the list of an entity with a back color when loading the view. My goal is to have different colors depending on the status of the listed entity. For example, I want to have a color for cases that have a date field that is in the past and another color for cases that have this date in the future. The solution described below is a change not supported by Microsoft (that means, use it at your own risks). Plus, there is no guarantee that it won't be broken when applying CRM rollups. On the CRM server, modify

crm 2011 how to hide/show the ribbon button with javascript

徘徊边缘 提交于 2019-11-29 07:56:03
I am trying to hide/show a button from CRM 2011 Ribbon on the bases of a condition defined in JavaScript . JavaScript function returns the true/false . So I wan't to change the XML to Hide/Show the button. I have tried to do it as below, but without any luck. Can anyone suggest me correct approach. Thanks in Advance <RibbonDiffXml> <CustomActions> <CustomAction Id="Email.Form.email.MainTab.Send.CustomAction" Location="Mscrm.Form.email.Send" Sequence="2"> <CommandUIDefinition> <Button Id="Mscrm.Form.email.Send" Command="Mscrm.Form.email.Send_Custom" Sequence="1" Alt="$Resources:Ribbon.Form

Colorize the CRM grid

China☆狼群 提交于 2019-11-28 06:28:18
问题 How can I colorize the CRM grid on Dynamics CRM 4? I would like to automatically display the list of an entity with a back color when loading the view. My goal is to have different colors depending on the status of the listed entity. For example, I want to have a color for cases that have a date field that is in the past and another color for cases that have this date in the future. 回答1: The solution described below is a change not supported by Microsoft (that means, use it at your own risks)

crm 2011 how to hide/show the ribbon button with javascript

左心房为你撑大大i 提交于 2019-11-28 01:20:14
问题 I am trying to hide/show a button from CRM 2011 Ribbon on the bases of a condition defined in JavaScript . JavaScript function returns the true/false . So I wan't to change the XML to Hide/Show the button. I have tried to do it as below, but without any luck. Can anyone suggest me correct approach. Thanks in Advance <RibbonDiffXml> <CustomActions> <CustomAction Id="Email.Form.email.MainTab.Send.CustomAction" Location="Mscrm.Form.email.Send" Sequence="2"> <CommandUIDefinition> <Button Id=