Skip to main content

Notifications

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

Importing solution with custom table

Posted on by 80

Hi 

I have solution with some custom tables . When I tried to import my solution to another environment I am getting error 'Missing dependencies' and those dependencies are for my custom tables . (My custom tables already added in my solution). 

How I can export and import my custom table to new environment

Thanks

Hemisha

  • ravillalobos Profile Picture
    ravillalobos 2 on at
    Importing solution with custom table
    Hi HGajjar, 
     
    How did you manage to solve the initial issue you were facing? The issue importing the table...
     
    Appreciate it, 
    RV
  • HGajjar Profile Picture
    HGajjar 80 on at
    RE: Importing solution with custom table

    Hi Bipin ,

    Sorry for not sharing my code as its too big :(.

    It is working now . There was the error in code . 

    Thanks 

    Hemisha

  • Suggested answer
    Bipin D365 Profile Picture
    Bipin D365 28,964 Super User 2024 Season 1 on at
    RE: Importing solution with custom table

    Hi,

    Please share your plugin code.

    Filtering attribute looks good as you have only selected one field.

    Add pre image in your plugin step..and check the previous value and current value, if both value are same then return from your plugin and do nothing.

  • HGajjar Profile Picture
    HGajjar 80 on at
    RE: Importing solution with custom table

    HI

    I am getting another issues now . My plugging running in loop. So my basic concept was once data agreed (yes) it will send to API. But now its keep adding entry in API until I make field value false .

    Is there any issues with export plugin as its working fine in my development environment .

    pastedimage1667402566260v1.png

    Thanks

    Hemisha

  • Suggested answer
    Bipin D365 Profile Picture
    Bipin D365 28,964 Super User 2024 Season 1 on at
    RE: Importing solution with custom table

    Hi,

    Unfortunately you can not.

  • HGajjar Profile Picture
    HGajjar 80 on at
    RE: Importing solution with custom table

    Hi

    I have solved the issues . Thank you for all the help so far .

    One more question , Is there any way we will get exact field which having the issues ?

    Thanks

    Hemisha

  • HGajjar Profile Picture
    HGajjar 80 on at
    RE: Importing solution with custom table

    Hi Bipin

    I have done debugging and getting bellow error

    Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Input string was not in a correct format.

    Detail: <OrganizationServiceFault xmlns="schemas.microsoft.com/.../Contracts" xmlns:i="www.w3.org/.../XMLSchema-instance">

     <ActivityId>00000000-0000-0000-0000-000000000000</ActivityId>

     <ErrorCode>-2147220970</ErrorCode>

     <ErrorDetails xmlns:a="schemas.datacontract.org/.../System.Collections.Generic">

       <KeyValuePairOfstringanyType>

         <a:key>CallStack</a:key>

         <a:value i:type="b:string" xmlns:b="www.w3.org/.../XMLSchema">   at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)

      at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)

      at CreateTaskforLead.CreateTask.Execute(IServiceProvider serviceProvider)

      at PluginProfiler.Library.PluginAppDomainProxy.ExecuteCore(Stopwatch watch, ProfilerExecutionReport report, Object instance, Object executionParameter)

      at PluginProfiler.Library.AppDomainProxy.Execute(ProfilerExecutionConfiguration configuration, ProfilerExecutionReport report)</a:value>

       </KeyValuePairOfstringanyType>

     </ErrorDetails>

     <HelpLink i:nil="true" />

     <Message>Input string was not in a correct format.</Message>

     <Timestamp>2022-11-02T11:11:12.0764144Z</Timestamp>

     <ExceptionRetriable>false</ExceptionRetriable>

     <ExceptionSource i:nil="true" />

     <InnerFault i:nil="true" />

     <OriginalException i:nil="true" />

     <TraceText i:nil="true" />

    </OrganizationServiceFault>

    Thanks

    Hemisha

  • Verified answer
    Bipin D365 Profile Picture
    Bipin D365 28,964 Super User 2024 Season 1 on at
    RE: Importing solution with custom table

    Hi,

    You will need to debug your code.

    learn.microsoft.com/.../tutorial-debug-plug-in

    Can you please share your plugin code ?

  • HGajjar Profile Picture
    HGajjar 80 on at
    RE: Importing solution with custom table

    HI

    Thanks for reply ! Now I am getting bellow error !

    Exception Message: The given key was not present in the dictionary.

    ErrorCode: -2147220956

    HexErrorCode: 0x80040224

    Any suggestion ?

    Thanks

    Hemisha

  • Verified answer
    Bipin D365 Profile Picture
    Bipin D365 28,964 Super User 2024 Season 1 on at
    RE: Importing solution with custom table

    Hi,

    Enable plugin trace log on your target instance.

    You can also logging to Plugin Registration Tool to verify the plugin steps.

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 229,963 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans