dynamics-crm-online

Unable to Create a systemuser in Dynamics CRM 365 online

折月煮酒 提交于 2019-12-11 18:14:35
问题 On update field of contact record I want to create a systemuser(user) in dynamics crm 365 online.but I’m getting error like "usersettings With Id = 5fe33120-607f-e811-a95c-000d3af29269 Does Not Exist" This is the below code I'm trying to create a user Entity getEntity = (Entity)context.InputParameters["Target"]; string str = getEntity.Attributes["new_isaeon"].ToString(); if (str != null && str == "True") { // http://localhost:51625/api/Users Entity sysuser = new Entity("systemuser"); sysuser

Set and get Notes field in CRM 2011 Javascript

假装没事ソ 提交于 2019-12-11 17:39:30
问题 I need to set the Notes field to the Notes field value in other entity in CRM 2011 form. So, I need to know how get and set the Notes field using Javascript. And I'm not able to get the name of Notes field inside the section as you can seen in the below image. 回答1: OK there are two approaches required here. @Philip_Rich pointed out that annotations for existing records are created as soon as they lose focus and can therefore be queried. You should be able to find existing code for this quite

Error Account with Id = “xxxxxx” does not exist

China☆狼群 提交于 2019-12-11 16:15:03
问题 I have a custo workflow that creates an account and opportunities. Sometimes I have this error: Account with Id = "xxxxxx" does not exist. I don't know what's wrong in my code knowing that I find the account in the CRM. Here are the steps of my plugin code: Find the account by num (if it doesn't exist, I create them) Get the account = Account Create an opportunity with Opportunity["parentaccountid"] = Account; Error message ! Code: //Get opportunity Guid id = retrieveOpportunity<string>(

Microsoft Dynamics online: change field's data type

一曲冷凌霜 提交于 2019-12-11 13:09:13
问题 What are the steps for changing Field's (not custom) data type? I go to Customizations -> Customize the System -> Entities -> Activity -> Fields -> Subject. I need to change Type from "Single Line of Text" to "Option set". How do I do that? I have Visual Studio 2012 and Microsoft Dynamics CRM SDK but I'm not experienced at it. EDIT: Do I need to retrieve FormXml from SystemForm entity? 回答1: You can't change the type of the field after its creation (you can only change the properties, for

how to expand a text field in order to remove scrolling by using javascript

∥☆過路亽.° 提交于 2019-12-11 08:33:19
问题 I deal with dynamics CRM 2011 online and I faced some troubles with printing documents there. If there is a scroll into a form so in print window it'll too and I can't do anything with that coz there is any editing function there. I'm interested could I resize/expand a text field in order to make a text visible for user without any scrolling? Is there any method in JavaScript that can remove scroll by resizing field? In dynamics CRM I may use such functios on an onload event. thanks in

How to Asynchronously Show a Create New Button On a CRM Sub Grid?

烈酒焚心 提交于 2019-12-11 07:32:13
问题 I need to hide the "Add New" button on a sub grid until certain criteria are met. Calling Xrm.Page.ui.refreshRibbon will trigger my JS function defined in my Enable Rule, but I can't get the + button to show up. Is this unsupported, or is there some methodology to get this to work? 回答1: Seems like you have to do few extra trick. Refreshing the subgrid command bar You will find that when the form is loaded, if there is a value in the attribute you have referenced in your enable rule, the Add

How to manage CRM Form field and Ribbon button if user add different Managed Solution?

回眸只為那壹抹淺笑 提交于 2019-12-11 06:55:17
问题 I am beginner of CRM. I have few basic confusion. I want to clear it before I go for something big. I have 2 cases where I am getting confuse. Case 1: I have a Managed Solution with 2 version. MyAccount 1.0.0.0 and MyAccount 1.0.1.0. In version 1.0.0.0 I have field in CRM Account form. In version 1.0.1.0, I have added a field Address FAX and removed a field Website. So, when user add version 1.0.1.0, it will overwrite the design. Can I change this behavior if I want to keep older design? Case

Customization in Dynamics365

被刻印的时光 ゝ 提交于 2019-12-11 05:26:11
问题 Can we do customization in Dynamics365 portal up to such extent that we create a website with asp.net and java script which interact with Dynamics365 entities and open inside dynamics365 portal. 回答1: Yes, you will probably need to setup single sign on authentication between your website and the portal, the suggested manner of which is Azure AD B2C. This is currently possible but undocumented, official support is coming soon. This slide is from an executive briefing by Microsoft last week. 来源:

Xrm.Navigation.openForm not honouring formid

血红的双手。 提交于 2019-12-11 02:21:27
问题 I'm trying to follow the examples found here that explain how to use Xrm.Navigation.openForm method to open a CRM form for a new entity. My target entity has multiple forms and I'm trying to specify the form ID in the entityFormOptions object as described in the link above. I've copied the relevant text here (with the relevant line in bold): entityFormOptions Entity form options for opening the form. The object contains the following attributes: cmdbar: (Optional) Boolean. Indicates whether

how to hide a pre-filter window in CRM 2011?

这一生的挚爱 提交于 2019-12-11 02:13:25
问题 I'm looking for a way how to hide a pre-filter in CRM 2011. I created a sipmle report by using business intelligent studio. Eventially, the reports shows a table with data (SQL query like select column1, column2....from table) when I open it in CRM I get a window where I have to built filter. Is there any way avoid such window? I found that I cand set a query in filter by default but anyway It doesn't help except this screen thanks in advance 回答1: To remove the pre-filter page, you have to