I have created a codeunit that uses he buildin HttpClient to GET a URL.
How can I structure my code so that it supresses the question to allow the session to communicate with the external resource?
I understand that the user can press "Always allow", but I also need the job queue to be able to handle it, so I can't have the confirmation box popping up.
I am pretty sure I have seen it somewhere, but my google skills are letting me down today
A LMGTFY would be much appreciated.
Answers
i think you are talking about the "ServicePrincipalNameRequired" in the ClientUserSettings.config.
As you wished, here is the link. (Should be the first result)
http://letmegooglethat.com/?q=suppress+message+external+service+dynamics+nav
To truly appreciate my folly see this: https://jpearson.blog/2018/10/23/extension-settings-in-microsoft-dynamics-business-central/