How do I remove Dynamics CRM sitemap customizations? -
i've got managed plugin can install / uninstall microsoft dynamics crm.
within plugin's customizations.xml have included small section of sitemap customizations, particularly additional group , added sidenav area.
the issue i'm running into, however, sitemap customizations not removed when uninstall plugin. additional group remains part of sidenav area, though causes sitemap errors because necessary webresources uses missing (they removed during plugin uninstall).
are there ways force sitemap revert default when uninstall plugin or possibly mark customizations specific plugin removed on uninstall?
actually, according crm 2011 sdk documentation sitemap modification thas part of managed solution should automatically removed system when managed solution removed. quoted sdk doc:
when solution packaged managed, sitemap xml compared original sitemap xml , other customizations made sitemap. differences included in managed solution. these differences include items changed, moved, added or removed .... later, if managed solution uninstalled, sitemap xml imported managed solution referenced remove changes introduced managed solution. new active sitemap calculated.
for example, customization.xml of solution containing added group contain xml similar this:
<group id="testgroup" isprofile="0" ordinalvalue="6" solutionaction="added"> <titles> <title title="examplegroup" lcid="1033" /> </titles> <subarea id="new_webresource" passparams="1" url="$webresource:new_webresource" ordinalvalue="0"> <titles> <title lcid="1033" title="example" /> </titles> </subarea> </group>
the solutionaction
attribute instructs system remove snippet of xml full customization.xml when managed solution removed. in short, should behave way want to...
of course, above applies managed solutions.
that doesn't work seems indicate customization.xml of system has somehow been corrupted. recommend exporting sitemap, remove reference erroneous elements, , re-import.
it should noted need hard refresh of web browser after publishing update sitemap, in order removed navigation elements go away. otherwise it's easy run problems similar ones describe.
Comments
Post a Comment