The new products can not be at issue Dynamics CRM2015 non-base locale


      This phenomenon appears in the 2015 edition, I had never before noticed this problem is not known whether there is a previous version.

    I base language of the installation package is Chinese, the first figure there is a button to add products to switch to the English environment after no, at the beginning thought it was done to hide the system processing, but to see a list of tools home only to find that no 3 buttons, then we can only manually added.

    Add in the list of custom home button, and then add Action and EnableRule respectively, with a reason why this place is because we have to use EnableRule CustomRule js script using code control (other displayrule and enablerule not do this), then Posted see the effects.


      Results are as follows, but did not do so perfect to be a demo, click to open a new product to create a form.

     The following code, add the first figure in this article series is to create a quick form, but openQuickCreate this API currently only 2015Online Update1 and on-premises have not yet.

function CreateNewProduct()
{
	Xrm.Utility.openEntityForm("product");
}

function setVisible()
{
		if(Xrm.Page.context.getUserLcid()==1033)
		{return true;}
	else{return false;}
}

     On the back is only achieved could see the New button, can open a new form, but the actual data is saved or fill out after the error, it can not be saved under a non-base language environment, which indicates that CRM has been restricted from the product level, no way out.


 

Disclaimer: This article is a blogger original article, shall not be reproduced without the bloggers allowed.

 

Reproduced in: https: //www.cnblogs.com/VicTang/p/4799513.html

Guess you like

Origin blog.csdn.net/weixin_33939843/article/details/93416730
Recommended