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
Hi Bipin ,
Sorry for not sharing my code as its too big :(.
It is working now . There was the error in code .
Thanks
Hemisha
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.
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 .
Thanks
Hemisha
Hi,
Unfortunately you can not.
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
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
Hi,
You will need to debug your code.
learn.microsoft.com/.../tutorial-debug-plug-in
Can you please share your plugin code ?
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
Hi,
Enable plugin trace log on your target instance.
You can also logging to Plugin Registration Tool to verify the plugin steps.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,151 Super User 2024 Season 2
Martin Dráb 229,963 Most Valuable Professional
nmaenpaa 101,156