Solution to problems that cannot be created by products in a non-basic language environment of Dynamics CRM2015, dynamicscrm2015

Source: Internet
Author: User

Solution to problems that cannot be created by products in a non-basic language environment of Dynamics CRM2015, dynamicscrm2015


This phenomenon occurs in version 2015. I have never noticed this problem before and do not know whether the previous version exists.

The basic language of my installation package is Chinese. The first figure shows the button for adding a product. After I switched to the English environment, I thought it was a hidden system, however, when you use a tool to view the home list, you can only manually add the three buttons.

Add the Custom button in the home list, and then add Action and EnableRule respectively, the reason why EnableRule is used here is that we need to use CustomRule to control the code in js scripts (Other displayrule and enablerule cannot do this), and then release it to see the effect.


The effect is as follows. It is just a demo, so it is not perfect. Click it to open a new product creation form.

The Code is as follows. In the first figure in this article, adding a series is a quick creation form. However, openQuickCreate is only available in 2015 Online Update1 and on-premises.

Function CreateNewProduct () {Xrm. utility. openEntityForm ("product");} function setVisible () {if (Xrm. page. context. getUserLcid () = 1033) {return true;} else {return false ;}}

Zookeeper

Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.