dynamics-365

How to get Process Finish Button event in Dynamics CRM?

跟風遠走 提交于 2021-02-19 02:25:08
问题 I am using Dynamics 365 online instance to integrate sales process. I have one condition where I need to change the Probability field value to 100 when user clicks on Finish button in Close Process Stage. I have done some research and found that ( OnProcessStatusChange event ) can help to get business process flow status change (statuses: Active, Finished , or Aborted) Ref Link: OnProcessStatusChangeEvent I have checked this by adding this to form OnLoad event like below, but nothing happens.

Dynamics HttpClient call never succeeds

爱⌒轻易说出口 提交于 2021-02-11 13:36:34
问题 I am developing a business central control add in where I need to call external web services. For this, I am using the HttpClient class in AL but no call succeeds. if not Client.Get('https://google.com', Response) then begin responseText := Response.ReasonPhrase(); Message(responseText); Error('didnt work'); end; It takes about 2.5-3 Minutes to finish the call. ResponseText is ' OK ' and HttpStatusCode is ' 200 ' but the call always fails and goes into error handling block. Reading the

Microsoft 365 API : Issue at attaching Contact to Campaign Response

被刻印的时光 ゝ 提交于 2021-02-10 22:13:50
问题 I am trying to attach a contact to campaign response. I am using rest API for that. https://docs.microsoft.com/en-us/dynamics365/customer-engagement/web-api/campaignresponse?view=dynamics-ce-odata-9 Post Data : { "firstname": "TestFirst", "lastname": "TestLast", "emailaddress": "test@test.com", "telephone": "1234567890", "prioritycode": 0, "responsecode": 1, "subject": "Test Subject", "statuscode": 1, "regardingobjectid_campaign@odata.bind": "/campaigns(xxxx90c-11ef-e811-a966-000d3ad24a0d)",

Refresh page in Dynamics crm after flow run

你说的曾经没有我的故事 提交于 2021-01-29 19:45:18
问题 I want to know if there is any idea to refresh Dynamics crm page after running a Power Automate (Flow). The flow updated fields in the quote entity and I want to refresh the page after the Update. 回答1: How is your flow been Trigerred? As Arun said there are 2 different systems been used here. But let me try another Idea. How about you add javascript and through Javascript trigger your flow, you can have http request to trigger a flow and it is not a big deal. Now add a promise in your Js

Entity cannot be found error in Dynamics 365 for Outlook App

梦想的初衷 提交于 2021-01-29 08:54:11
问题 We receive the following error in the Dynamics 365 for Outlook App: The entity "{0}" cannot be found. Specify a valid query, and try again. This appears to be associated with custom code. 回答1: It turns out this was happening because of a call to Xrm.WebApi.retrieveMultipleRecords . It appears as though in the full web client if you pass in the entity set name (ex. 'accounts') instead of the entity logical name as documented (ex. 'account') as the first parameter, then the web client just

How to populate Dynamics 365 lookups with text value from Azure Logic App?

半腔热情 提交于 2021-01-29 08:20:48
问题 I am creating an Azure Logic app which takes data from an external source and populates Dynamics 365. In the Dynamics 365 entity, I have 4 lookup fields which I need to populate. But from the external source, I am getting data in text format, which means I need to search value for lookup fields by text instead of Guid. I am doing this by creating an Azure function but want to know if there is any possibility to achieve this with no code customisation? External data source can only send text

Customize Generic Error Message for Dynamics 365

荒凉一梦 提交于 2021-01-29 03:31:52
问题 I'm trying to customize the generic error message in Dynamics 365 (e.g: an error when a user doesn't have enough privilege like 'you do not have enough privileges...'). Which configuration I need to update to achieve it? 回答1: Go to Settings -> Customizations -> Customize the System -> Entities -> User -> Messages You should be able to configure particular text in here: Alternatively, you can export the translations & update in bulk, then re-import it. 来源: https://stackoverflow.com/questions

Using Xrm.WebApi method in Web Resource opened in a new window

杀马特。学长 韩版系。学妹 提交于 2020-08-24 06:20:40
问题 I have opened an HTML web resource in a new window using: Xrm.Navigation.openWebResource(webResource, windowOptions, data); This is an HTML web resource and it is loading the ClientObject in the head <script type="text/javascript" src="../../../ClientGlobalContext.js.aspx" ></script> then I have some JavaScript that is trying to retrieve a Contact var contactId = "8553DA63-11C9-E711-A824-000D3AE0CB84"; var promise = Xrm.WebApi.retrieveRecord("contact", contactId, "$select=contactid,firstname

Problem with Reload Form on reload/refresh of subgrid in Dynamics 365 CRM Unified Interface

筅森魡賤 提交于 2020-06-01 04:47:09
问题 I have the exact same scenario as this thread: Reload Form on reload/refresh of subgrid in Dynamics 365 CRM Unified Interface The suggested solution does not work for me unfortunately. The only time the method "subgridEventListener" gets called is when the form loads. If I add or delete records from the subgrid nothing happens.. Does anyone have a possible solution to this problem? Unified Interface. 2019 release wave 2 enabled Server version: 9.1.0000.16843 Client version: 1.4.583-2004.2 –