Mattersphere Developers Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Go down
avatar
Lynne Harding
Posts : 335
Join date : 2018-12-20

Outlook Add-in Question Empty Outlook Add-in Question

Thu 23 Jan 2020 - 8:53
I am building an addin for Outlook and want to launch the Matter Centre select Matter screen. I have included the following references: OMS.Data OMS.Library OMS.UI and here is my code: FWBS.OMS.OMSFile MCFileID; MCFileID = FWBS.OMS.UI.Windows.Services.SelectFile(); When the code runs in Outlook I get the login screen for matter Centre and when I click login I get the following Error: The client application/assembly 'OMS.Library' using the OMSAPI is not registered or not correctly registered. I am not sure what I am missing.
avatar
Lynne Harding
Posts : 335
Join date : 2018-12-20

Outlook Add-in Question Empty Re: Outlook Add-in Question

Thu 23 Jan 2020 - 8:54
You need to manage the API registrations for your new calling assembly. Basically the FWBS System locks access to any assembly that is not known to the system and is a safe guard. You will need to add an attribute to the assembly and then ensure you add an entry to the dbAPI table. In your AssemblyInfo class you will need to add[assembly: FWBS.OMS.AssemblyAPIClientAttribute(“{Your UNIQUE GUID HERE}”)]You then need to make sure you set the below if the Assembly is hosted in another processSession.CurrentSession.APIConsumer = System.Reflection.Assembly.GetExecutingAssembly();
Back to top
Permissions in this forum:
You cannot reply to topics in this forum