Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Answered

Event of Solution Import

Posted on by 10

Hi,

I want to get all components (Entity,Flows and other) while importing a solution in a plug-in or other way. so that i got to know which components are there in solution to be imported.

So, is there a way to trigger event on solution import  that can fetch components of solution ?

  • Verified answer
    mobeenmohsin Profile Picture
    mobeenmohsin on at
    RE: Event of Solution Import

    Hi, 

    Hope you are doing well.

    We didn't find any way to write plugin for solution import event but we have customization.xml in each solution which tells us about what included in solution as below:

    <ImportExportXml xmlns:xsi="">www.w3.org/.../XMLSchema-instance">
    <Entities>
    <Entity>
    <Name LocalizedName="Web Role" OriginalName="Web Role">Adx_webrole</Name>
    <EntityInfo>
    <entity Name="Adx_webrole" unmodified="1">
    <attributes />
    </entity>
    </EntityInfo>
    <SavedQueries>
    <savedqueries>
    <savedquery>
    <isquickfindquery>0</isquickfindquery>
    <isprivate>0</isprivate>
    <isdefault>1</isdefault>
    <savedqueryid>{2248a3a1-0c58-488e-b2bf-433596f6923e}</savedqueryid>
    <queryapi></queryapi>
    <layoutxml>
    <grid name="adx_webroles" jump="adx_name" select="1" icon="1" preview="1">
    <row name="adx_webrole" id="adx_webroleid">
    <cell name="adx_name" width="300" />
    <cell name="adx_websiteid" width="150" />
    </row>
    </grid>
    </layoutxml>
    <columnsetxml>
    <columnset version="3.0">
    <column>adx_name</column>
    <column>adx_websiteid</column>
    <column>adx_webroleid</column>
    <filter type="and">
    <condition column="statecode" operator="eq" value="0" />
    </filter>
    <ascend>adx_name</ascend>
    </columnset>
    </columnsetxml>
    <querytype>2</querytype>
    <IntroducedVersion>1.0.0021</IntroducedVersion>
    <LocalizedNames>
    <LocalizedName description="Web Role Associated View" languagecode="1033" />
    </LocalizedNames>
    </savedquery>
    </savedqueries>
    </SavedQueries>
    <RibbonDiffXml>
    <CustomActions />
    <Templates>
    <RibbonTemplates Id="Mscrm.Templates"></RibbonTemplates>
    </Templates>
    <CommandDefinitions />
    <RuleDefinitions>
    <TabDisplayRules />
    <DisplayRules />
    <EnableRules />
    </RuleDefinitions>
    <LocLabels />
    </RibbonDiffXml>
    </Entity>
    </Entities>
    <Roles></Roles>
    <Workflows></Workflows>
    <FieldSecurityProfiles></FieldSecurityProfiles>
    <Templates />
    <EntityMaps />
    <EntityRelationships />
    <OrganizationSettings />
    <optionsets />
    <CustomControls />
    <EntityDataProviders />
    <Languages>
    <Language>1033</Language>
    </Languages>
    </ImportExportXml>

    The above xml will contains every detail of component included in solution. Thank you. 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans