microsoft-dynamics

You should specify a parent contact or account error in Dynamics CRM

旧巷老猫 提交于 2019-12-24 08:16:48
问题 I am trying to create a new incident through postman in Dynamics CRM but I am getting the following error: You should specify a parent contact or account Which I assumed that is asking for customerid to be sent so I added it on postman like: { "description": "Test", "ed_egresssenttorentadmin": true, "note['_customerid_value@odata.bind']":"f686f062-e542-e811-a955-000d3ab27a43", "note['_ownerid_value@odata.bind']":"a7b7fcb7-a64e-e811-a96f-000d3ab384bc" } but I still get the same error, any idea

How do I get the location for a row in dbo.CUSTTRANS?

两盒软妹~` 提交于 2019-12-24 08:03:06
问题 I am building a small AR data mart for a client which is using Dynamics AX (2012). The data from the mart will feed into a Power BI report. I know almost nothing about AX. There is a column in the dbo.CUSTTRANS table named DEFAULTDIMENSION. I was told, by the client, that this value can be used to retrieve a location description for the transaction row using the following query: SELECT T.DEFAULTDIMENSION ,T3.Name AS Location FROM dbo.CUSTTRANS T INNER JOIN dbo.DEFAULTDIMENSIONVIEW T2 ON T2

query a list of dynamic objects

独自空忆成欢 提交于 2019-12-24 01:04:14
问题 I am using massive to get the config table in the database. I would like to cache the config since the app gets values from it all the time. once cached is there an easy way to find the object where name = 'something' here is where the whole table is cached. protected override dynamic Get() { var ret = HttpRuntime.Cache["Config"]; if (ret == null) { ret = _table.All(); HttpRuntime.Cache.Add("Config", ret, null, DateTime.Now.AddMinutes(2), Cache.NoSlidingExpiration,CacheItemPriority.Low, null

Generate Mail Merge documents programatically on Microsoft Dynamics CRM 2013

核能气质少年 提交于 2019-12-23 02:48:19
问题 Is there any way to generate a mail merge document programatically via the Microsoft Dynamics CRM 2013? Trying to generate a mail merge document via a custom plugin in the back end. The merged document would then be sent to sharepoint. But... can't find a "Create Merged Document" feature in the CRM SDK, anyone know of a way of doing this? Thanks in advance! 回答1: This can't be done with Mail Merge documents insofar as the way they work with out of the box Dynamics CRM - you need MS Word

Get OData option set values and names

烈酒焚心 提交于 2019-12-23 02:34:49
问题 I am using odata api, now I have an attribute on an entity that is an option select like : attribute name is : status values are: 1, 2, 3 names: done, progress, new the thing is when I am using postman to fetch metadata and all I get for the fields 'status' its that its type integer. Question how do I fetchj option names and values from metadata so I get values and names in response ? Currently I get this: <Property Name="status" Type="Edm.Int32"> <Annotation Term="Org.OData.Core.V1

POST/GET request from postman to Microsoft Dynamics crm 365

*爱你&永不变心* 提交于 2019-12-23 02:29:08
问题 I was trying to create entity using Web API. So using my instance url, client_id, client_secret I can successfully generate access token and refresh token. But whenever I try to make any post request using that access_token, I get 401(unauthorized) status. I was trying to create new entity from postman like this: url: https://myurldomain.crm5.dynamics.com/api/data/v9.0/accounts headers: POST /api/data/v9.0/accounts HTTP/1.1 Host: myinstancename.crm5.dynamics.com Content-Type: application/json

Why is deep insert failing when trying to create a Contact and Account entities through a Connection in Dynamics WebAPI

风流意气都作罢 提交于 2019-12-22 12:36:18
问题 I have been able to create a contact in Dynamics WebAPI using a payload similar to this ... { "firstname": "asd", "lastname": "asd" } I have been able to create an Account entity in Dynamics WebAPI using a payload similar to this ... { "name":"SOLE TRADER ORG", "emailaddress1":"otbpostman1@post.com", "telephone1":"07188888" } and a Connection entity between the two as follows ... { "record1roleid@odata.bind":"/connectionroles(1EB54AB1-58B7-4D14-BF39-4F3E402616E8)", "record2roleid@odata.bind":

CRM 365 callManagerInfo error in plugins

混江龙づ霸主 提交于 2019-12-22 04:42:33
问题 After upgrading CRM 2013 on-premises to CRM365 an issue with plugins started to come up. Each time I try to use IOrganizationService from plugin for any operation I get an error. This issue only occures on multi-server instalation , it didn't occure on CRM 2013 version. It also doesn't occure on single-server instalation of CRM365. Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral,

How to query an on-premises Dynamics CRM from a Web App (Node/Express)

懵懂的女人 提交于 2019-12-20 17:30:02
问题 Been banging my head against a few walls with this so hoping some CRM/Dynamics experts can give me a hand! I'm trying to programatically obtain data out of our Dynamics CRM instance, using a single set of admin credentials within a Node powered Express app. This Express app is hosted on a separate server outside of our network where CRM is hosted. The app will then request, process and serve CRM data back to any logged in user who has access (controlled by roles/permissions within the app),

Date filter in Microsoft Dynamics NAV webservice

半城伤御伤魂 提交于 2019-12-19 10:19:23
问题 When sending a filter to the webservice in php everything works fine, but when we need to sort on dates we encountered a problem. We need to get all the objects modified after a certain date. In a page we have a date element, like so: <xsd:element minOccurs="0" maxOccurs="1" name="Last_Date_Modified" type="xsd:date"/> And we have tried the solution explained here on SO: Dynamics Nav (Navision) webservice ReadMultiple date filter But our date format is a bit different, ours looks like: 2013-01