dynamics-crm

FetchXML Understanding Distinct

人盡茶涼 提交于 2020-06-16 18:59:19
问题 I am learning FetchXML and am currently new to it. I tried looking at the documentation located here but I did not find it very helpful What does this line mean: <fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="true"> What does the mapping="logical" part mean? What does the distinct="true" part mean? 回答1: As per FetchXML schema we have two enum values namely internal & logical for mapping attribute. We have to use mapping="logical" in our queries & internal may be

JavaScript triggered twice in Form Onchage

心已入冬 提交于 2020-06-01 05:07:46
问题 I use Javascript to trigger a Flow when I want to change the state. Everything worked fine but the JavaScript function triggered two times when I change the state my record. i think the Problem is something with the save. storno=function (executionContext) { var functionName = "storno"; var formContext = executionContext.getFormContext(); if(formContext.getAttribute("statecode").getValue() == 3) { //try{ var data= {"id": ""}; data.id = formContext.data.entity.getId(); var requestUrl = "https:

hiding row in dynamics 365 template table if record is empty

只谈情不闲聊 提交于 2020-05-17 07:46:08
问题 I created a Word Dynamics 365 template for the Quote entity, as shown in the photo below. i'm trying to hide the entire tax field based on the following condition: if tax is empty then hide the entire tax row, meaning the heading and the value. And display it if it has a value. Is this possible in word? 来源: https://stackoverflow.com/questions/61759261/hiding-row-in-dynamics-365-template-table-if-record-is-empty

Add New Opportunity from Account subgrid auto-fills every single Account lookup on Opportunity

孤者浪人 提交于 2020-05-17 07:06:22
问题 Title basically sums it up. I have an Account screen, with a sub-grid of Opportunities (by the "parentaccountid" field of Opportunity). When I click + Add New on that Opportunity grid, it autofills parentaccountid on the new record form. That's normal. BUT I also have 5 other Lookups to Account on Opportunity, with different/specific meanings. What's weird is that it's setting ALL of those Lookups to the Account record I started at (Account record that had the Opportunity subgrid where I

Is there are more efficient way of publishing/debugging Dynamics CRM 365 Plugins?

浪尽此生 提交于 2020-05-14 09:10:51
问题 I have been tasked with bringing our 2008 CRM server into the modern age of Microsoft Dynamics 365 on-premises. I have got a plugin working and java script which is my first task and debugging/remote debug is working too. I can also make changes to the DLL and the changes work. However I am really concerned with how long winded the process to publish the DLL to the server is and wondered if am missing something. Watched quite a few videos, googled a lot but everyone seems to cover getting it

Counting ALL rows in Dynamics CRM Online web api (ODATA)

坚强是说给别人听的谎言 提交于 2020-05-12 05:04:30
问题 Is it possible to count all rows in a given entity, bypassing the 5000 row limit and bypassing the pagesize limit? I do not want to return more than 5000 rows in one request, but only want the count of all the rows in that given entity. According to Microsoft, you cannot do it in the request URI: The count value does not represent the total number of entities in the system. It is limited by the maximum number of entities that can be returned. I have tried this: GET [Organization URI]/api/data

Counting ALL rows in Dynamics CRM Online web api (ODATA)

纵饮孤独 提交于 2020-05-12 05:04:10
问题 Is it possible to count all rows in a given entity, bypassing the 5000 row limit and bypassing the pagesize limit? I do not want to return more than 5000 rows in one request, but only want the count of all the rows in that given entity. According to Microsoft, you cannot do it in the request URI: The count value does not represent the total number of entities in the system. It is limited by the maximum number of entities that can be returned. I have tried this: GET [Organization URI]/api/data

Find picklist values in Dynamics via the Web API

穿精又带淫゛_ 提交于 2020-05-09 05:17:10
问题 I'm trying to determine how I can find the integer values for picklist fields in Dynamics via the web api. I can access the basic metadata by using: GET https://[COMPANY].api.crm3.dynamics.com/api/data/v9.0//EntityDefinitions(LogicalName='lead')/Attributes/ but for picklist values I don't see the mapping of the integer value to the displayed string. Is there a table that holds all of this or a way to expand this information on the above call? 回答1: You can use this to retrieve. https://

Accessing Dynamics 365 API using Postman

六月ゝ 毕业季﹏ 提交于 2020-04-30 08:29:08
问题 I am trying to make an API request against a Dynamics 365 API account using Postman. I have the following credentials but I do not know what headers to use to authenticate. I have the following ... Consumer Key Consumer Secret Redirect Uri Authorize Redirect URL HTTP Method = POST Access Token Service Endpoint What headers do I need to set in Postman to get access to the API? I have read articles and seen some examples but they all have different data than I do. For example in the screen

Accessing Dynamics 365 API using Postman

安稳与你 提交于 2020-04-30 08:27:44
问题 I am trying to make an API request against a Dynamics 365 API account using Postman. I have the following credentials but I do not know what headers to use to authenticate. I have the following ... Consumer Key Consumer Secret Redirect Uri Authorize Redirect URL HTTP Method = POST Access Token Service Endpoint What headers do I need to set in Postman to get access to the API? I have read articles and seen some examples but they all have different data than I do. For example in the screen