Adding HS.FHIRServer.Interop.Service to FoundationProduction
Hi,
I have created foundation production to use FHIR server. But I am missing HS.FHIRServer.Interop.Service in my production. Is there any way to add this service automatically?
Thanks
Comments
Hi Muhammad,
Not sure exactly what you mean by "add this service automatically", but if you didn't want to manually add to the production, you can use Ens.Director to programmatically add a Business Service to a production.
Hope this helps.
Thanks @Mike Yackanich
Can you please share code to add programmatically or documentation reference ?
Actually - I pointed you to Ens.Director, but that only lets you dynamically control a production (and temporarily create a business host).
But if you take a look at the OnWizardCompletion method within EnsPortal.Dialog.ProductionAddService, and AddNewItem method of EnsPortal.Dialog.ProductionAddHost I think you'll find a sample of the code that you would need.