dynamics-crm-2016

Dynamics CRM 2016: Do not retrieving account id using XRM Service Tool kit

会有一股神秘感。 提交于 2019-12-14 03:13:06
问题 In following code snippet I am trying to get child accounts if parent account id matched. It is populating the account name as expected such as ABC Title Company or Test Tile Co. but it populates account id as undefined . I XRM Service Toolkit for retrieving the details of child account at CRM 2016. I don't know what went wrong in case of account id I double checked the spellings of the attribute but nothing get in favor. functiongetChildAccounts(pAccountId) { var query = "<a:ColumnSet>" + "

contentWindow iframe crm 2016

前提是你 提交于 2019-12-13 09:42:45
问题 please find below the code where I am trying to access a Webresource. I am working on CRM 2016 var xyz= window.xyz|| {}; $("#WebResource").contentWindow.xyz.Scheduler.load(); Gives out "Unable to get property 'contentWindow' of undefined or null reference" message. Need help. 回答1: Don't manipulate the DOM, it's unsupported. Do this Xrm.Page.getControl("WebResource").getObject().contentWindow.[etc. etc.] 回答2: As already pointed out; manipulating the DOM directly is unsupported. However, if you

Share access programmatically Dynamics CRM web api

一世执手 提交于 2019-12-13 08:30:07
问题 Is there an action to programmatically share (GrantAccess) a phonecall activity to other user (systemuser) through Dynamics CRM web api (v8.1) ? As far as seen only samples is through organization services. 回答1: GrantAccess message will be available in v9.0 web api. MSDN declared this as limitation as of v8.2 webapi. Missing functions and actions for some organization service messages The following table lists the messages that don't have a corresponding function or action after December 2016

Microsoft Dynamics CRM 2016 Web API Put request clears value

天涯浪子 提交于 2019-12-13 05:37:14
问题 I'm trying to use a put request to update Dynamics CRM. When I run the following python code I get a 204 response, but instead of updating a value it clears it. For example firstname gets updated to null instead of "WebApiUpdate". import adal import json import urllib2 import requests endpoint = "https://login.microsoftonline.com/00000000-0000-0000-0000-000000000002" username = "example@example.com" password = "password" resource_uri = "https://orgname.crm.dynamics.com" token_response = adal

CRM 2016 Quick Find View not finding active records

人盡茶涼 提交于 2019-12-13 05:06:31
问题 We are having a bizarre issue with our 2016 on-premise CRM Quick Find View. Basically, we are not able to use Quick Find View to search for some active records (incidents to be exact). When we go to the incident's All Active Incidents view and use the search bar (which uses Quick Find View), we are able to search for some active records, yet are unable to search for some others. We have configured the incident's Quick Find View to search in columns such as ticket number and title. I have

Dynamics CRM: Currency field on the contract is locked (disabled) and cannot be unlocked

瘦欲@ 提交于 2019-12-13 02:18:41
问题 Microsoft Dynamics 365 Version 1612 (8.2.2.1862) (DB 8.2.2.1862) online I want to be able to set the Currency field on the Contract. However, on the main Contract form the field is locked and cannot be unlocked. In the form editor the field is not disabled but the padlock appears next to it. Running Xrm.Page.getControl('transactioncurrencyid').setDisabled(false) on the client has no effect for this field, i.e. the field remains locked. I have noticed that there is a Mapping on the contract

Microsoft Dynamics - Web API

与世无争的帅哥 提交于 2019-12-12 20:58:50
问题 I'm trying to create a new "incident" (case) in by Dynamics 365 instance via the Web API. In my http request, I don't know which field are mandatory. I tried to only add the title, subject, and customer, but I have a Http 400 error back... I'm using Postman do try my Http Request. If I send the following json { "title": "Case created from Web api", "_customerid_value": "bb2b6a80-7102-e711-8101-3993bb354ff0" } But I had the error: "CRM do not support direct update of Entity Reference

Run Action in Microsoft Dynamics CRM 2016 using Javascript

筅森魡賤 提交于 2019-12-12 03:44:21
问题 I've created an Action under Process for a custom entity new_enrollment . I've created no I/O argument for that action. Now, by using following code snippet I want to run that custom action so that when action is executed a plugin get fired and create a phone call. But it seems that action is not get executed. Any suggestion or help so that I can get action executed. function emailOrderDetails(){ var entityId = Xrm.Page.data.entity.getId(); var entityName = "new_enrollment"; var requestName =

How to identify Header Section in CRM Form?

泄露秘密 提交于 2019-12-11 08:03:52
问题 Is there a way to tell if the section is a header in CRM Form? We're on Microsoft Dynamics CRM 2016 and I have a requirement to disable all fields on the Contact form when a certain condition is met. I'm using the code below and so far the code is working. var attributes = Xrm.Page.data.entity.attributes.get(); for (var i in attributes) { var myattribute = Xrm.Page.data.entity.attributes.get(attributes[i].getName()); var myname = myattribute.getName(); if (Xrm.Page.getControl(myname) != null)

FormType not returning proper value on Dynamics CRM 2016

给你一囗甜甜゛ 提交于 2019-12-11 04:46:46
问题 In javascript, I have written Xrm.Page.ui.getFormType(); . This code does not work when form is read-only. Even though on the form it is written read-only on the bottom of the record, it is giving me formtype as 2. even Onload shows formtype 2 回答1: Edit: Sounds like a bug in CRM 2016 (v8.2) - credit goes to @Alon in above comment. I was able to test it quickly, like below. First scenario : Users' security role don't have Edit/Update privilege for that particular entity record. So the footer