question

Upvotes
Accepted
1 4 2 8

Initialize DEX2 in App Studio .NET SDK app that failed with COM Exception

I'm trying to use DEX2 APIs in App Studio .NET SDK app but failed object creation.

1. EikonDesktopApi initialization is succeeded.

2. Create Dex2Mgr by EikonDesktopDataAPI.CreateDex2Mgr() but it threw COM exception with following message.

System.Runtime.InteropServices.COMException がキャッチされました _HResult=-2147467259 _message=Property 'USERDETAILS/UUID' not found in any source HResult=-2147467259 IsTransient=false Message=Property 'USERDETAILS/UUID' not found in any source Source=KobraConfigProvider.KobraConfigProvider.1 ErrorCode=-2147467259

* I have attached testing code

maincontrolxamlcs.txt

Any ideas?

Sakamoto

eikoneikon-com-apieikon-app-studio
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvotes
Accepted
4.6k 26 7 22

@SAKAMOTO unfortunately this will not work. EikonDesktopData and its APIs are designed to be used outside of the Eikon process, while your App Studio app is run within Eikon.

There is currently no way to get fundamental data if you are using App Studio .NET, it is only available in the HTML5 version of the SDK.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea