Export (0) Print
Expand All

IsvConfigCustomizer Class

banner art

[Applies to: Microsoft Dynamics CRM 4.0]

Modifies the IsvConfig XML in a Microsoft Dynamics CRM customization file.

The IsvConfigCustomizer class exposes the following members.

ConstructorDescription
IsvConfigCustomizerInitializes a new instance of the IsvConfigCustomizer class.

Instance MethodDescription
AddEntityGridActionMenuItemAdds a new Menu Item to the Actions menu of an entity grid.
AddEntityGridActionMenuSpacerAdds a new spacer to the Actions menu of an entity grid.
AddEntityGridToolBarButtonAdds a new button to the grid toolbar for an entity.
AddEntityGridToolBarSpacerAdds a new spacer to the grid toolbar for an entity.
AddEntityLeftNavigationItemAdds a new Left Navigation Item to the detail form of an entity.
AddEntityMenuItemAdds a new menu and Menu Item to the menu bar on the detail form of an entity.
AddEntityMenuSpacerAdds a new menu and spacer to the menu bar on the detail form of an entity.
AddEntityToolBarButtonAdds a new button to the detail form toolbar of an entity.
AddEntityToolBarSpacerAdds a new spacer to the detail form toolbar of an entity.
AddGlobalMenuItemAdds a new menu and Menu Item to the global menu bar.
AddGlobalMenuSpacerAdds a new menu and spacer to the global menu bar.
AddGlobalToolBarButtonAdds a new button to the global toolbar.
AddGlobalToolBarSpacerAdds a new spacer to the global toolbar.

Instance PropertyDescription
XmlGets the XML document that contains the customization configuration.

Remarks

This class provides a series of helper methods that can be used to modify ISV.Config XML that is contained in a Microsoft CRM 4.0 customization XML file.

Generally, the methods build the required XML structure required by the method. For example, if you try to add a global toolbar button and the global toolbar is not yet defined in the XML schema, it will be added and then the button will be added to it.

Example

The following partial code sample shows how to use the IsvConfigCustomizer class. The sample code loads a test customization XML file, adds and removes menu items and toolbar buttons, and saves the changes to a new customization XML file.

Requirements

Namespace: Microsoft.Crm.Sdk.IsvReadiness

Assembly: Microsoft.Crm.Sdk.IsvReadiness.dll

See Also

Concepts

Reference


© 2010 Microsoft Corporation. All rights reserved.


Show:
© 2014 Microsoft