dynamics-crm-4

Performing complex query with Dynamics CRM 4.0

有些话、适合烂在心里 提交于 2019-12-14 02:35:57
问题 I have two custom entites, Product and ProductType, linked together in many-to-one relationship. Product has a lookup field to ProductType. I'm trying to write a query to fetch Type1 products with a price over 100, and Type2 products with a price lower than 100. Here's how I would do it in SQL : select * from Product P inner join ProductType T on T.Id = P.TypeId where (T.Code = 'Type1' and P.Price >= 100) or (T.Code = 'Type2' and P.Price < 100) I can't figure out a way to build a

Why do we need to restart the CRM server after registering the custom workflow using Plugin Registration tool to make that work properly

北战南征 提交于 2019-12-13 14:12:56
问题 Can we have any alternative way to make run-able the custom Workflow activity in Workflow steps. All the time what I do is register the dll using Plugin registration tool and then restart the server. Then only we can use the custom workflow activity on Workflow. I have tried after restarting the IIS and hoping so it'll be done but no luck. All the time restarting server should not be any solution. Is there any alternative way for it please suggest. All you are suggestion would be greatly

Creating a single CRM plugin DLL to store in the CRM database

自古美人都是妖i 提交于 2019-12-13 14:09:30
问题 Since the suggested way of storing plugins in MS CRM is via the CRM database, I figured it's about time to do something about the method I'm currently using, which is storing the DLLs on the disk. The trouble however is that I don't know how to embed all the other various bits that are needed by the DLL: the localization resource files (which are kept in another folder) and some referenced DLLs from the latest SDK (which had to be manually placed in the bin\assembly folder). At this point, I

MS Dynamics: retrieve the schema of entities to use it in SOAP?

大城市里の小女人 提交于 2019-12-13 05:09:14
问题 I'm trying to add some entities via a SOAP client, to MS Dynamics (online). My client is not a Microsoft client. Do you know a way to retrieve the schema of Entities like Account, Prospect etc... I would like to know how . I really need to know it , for integration with different installations of Dynamics. I'd like to know the fields and when to put a String a Boolean etc. I use a Demo instance of MS CRM online, from scratch, I did not change anything Thanks!! 回答1: You can get metadata about

Unable to get property 'ClientVariables' of undefined or null reference in CRM 2013

纵饮孤独 提交于 2019-12-13 05:03:20
问题 I have a task to upgrade the CRM 4.0 to CRM 2013 and CRM have too much customization. i have change the code and then upgrade to CRM 2011 then apply RU 16 on CRM 2011 then get the data base and import in the CRM 2013. Now in CRM 2013 i am facing the following error on the Sales Order. and form is not loading the data and showing the Error on Page. i have seen that this error is due to the Ribbon button Code. enter code here Microsoft Dynamics CRM Error Report Contents <CrmScriptErrorReport>

Query the Description Value of a Picklist in Dynamics CRM 4.0

自古美人都是妖i 提交于 2019-12-12 04:47:38
问题 I want to query the values from the different Picklist in Opportunity in dynamics CRM 4.0. I don't want to query the actual Opportunity, just the values from the Picklist. So if I have a Picklist called Source and it has the values of 1, 2, 3, 4, 5. I want to query the picklist and get back those values. Is this possible? If so, how in the world do you do it? I use Java (JAX-WS), but a .NET example is also welcome, due to the use of the same base entities. What I've tried. I've setup the

Query the Description Value of a Picklist

倖福魔咒の 提交于 2019-12-12 04:45:59
问题 I am trying to get the value from the Description field of a picklist in CRM, this is what I am using to get the Label value, how would I change it to get the Description Value? RetrieveAttributeRequest request = new RetrieveAttributeRequest(); request.EntityLogicalName = "opportunity"; request.LogicalName = "country"; RetrieveAttributeResponse response = (RetrieveAttributeResponse)orgService.Execute(request); PicklistAttributeMetadata picklist = (PicklistAttributeMetadata)response

Setting BusinessEntity picklist value using CRM 4.0 webservice

寵の児 提交于 2019-12-12 04:25:01
问题 I'm trying to create an ImportMap object in CRM 4.0. I need to set the TargetEntity property which is a Picklist value. link text seems to imply that it can be done by using importmap map = new importmap(); map.name = "test map"; map.targetentity = new Picklist(); map.targetentity.name = "Contact" but this always seems to leave the target entity property as null. Any thoughts? 回答1: If its a pick list, you will have to provide the index value. Assuming that you have an enum called TargetValues

How to modify the filter criteria on a view of entity

旧街凉风 提交于 2019-12-12 02:25:52
问题 I want to modify the view of 'Activity' entity, opened the view and try searching for edit filter criteria option and it's not available on view form. please see below Can you please help to advice me on how I can add filter criteria for this view above. Or how to make it visible the option 'Edit filter criteria' on the form of a view. Any suggestion will be much appreciated. Welcome for any feedback... 回答1: I don't know any way to do that, but you can do your custom views and for example

How should i know which property comes under InputParameters Based on Message Request in Dynamics crm Plugin?

半世苍凉 提交于 2019-12-11 17:48:08
问题 CreateRequest Message is named Target,which is of type Entity.But not all Request contain a Target property is of type Entity. For Example AssociateRequest InputParameter contains Relationship is of type Relationship. For Example AddItem message will return which property?How should I know there are so many messages in plugin registration tool.how should I know which message has what property it will return. it was only possible with Debugging? 回答1: I agree there so many messages, but I had