Dynamics CRM Exports the Ribbon XML for entities through Retrieveentityribbonrequest and Retrieveapplicationribbonrequest

Source: Internet
Author: User

today, I saw the blog of Brother Yong. Two request directives are used to export the Ribbon XML for the entity, and editing the Ribbon before the tool is manually exported and then edited for many people who started to contact CRM with tools may not be very familiar. Check out the two command 2011 when the time has been really did not notice, so also personally try to get started.

Two request is Retrieveentityribbonrequest and Retrieveapplicationribbonrequest, the former is the export of a single entity Ribbon XML, The latter is to export all the entities Ribbon XML, the two request reference namespaces are Microsoft.Crm.Sdk.Messages, the referenced assembly is Microsoft.Crm.Sdk.Proxy, The DLL can be found in the bin directory of the SDK. The specific sample code for the SDK is available in the CHM (directly searching for two request names), or the SDK SampleCode also has the following path: "\sdk\samplecode\cs\client\ribbon\ Exportribbonxml ", need to note is that there is a Unzipribbon method, is used to extract the file, the method used in a System.IO.Packaging namespace, do not be System.IO below the Oh, specific to see.


I created a new test entity, and the exported XML is like this.


just beginning to see these two request a little surprise that you can save the trouble of exporting the solution, through the code Export Direct Edit and then pour into the system on the line, because you know the export solution is a very troublesome thing, but finally found that the eggs are exported to just look at, and there is no actual use of what, At least I have not found any practical use. The reason I write this article is only to tell you that there is such a thing and the problems I encountered in the process of practice, that's all.

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Dynamics CRM Exports the Ribbon XML for entities through Retrieveentityribbonrequest and Retrieveapplicationribbonrequest

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.