During the Business Central login procedure, I need to show a URL. OnAfterLoginStart event should have its own event. A Terms of Service will be shown as part of the event code. the terms of service page appearing as follows:
When this hyperlink (TOS URL) is clicked, no new tab is opened.
If I type the following commands, the message is shown and a new tab is generated as expected: Message('New TOS must be authorized'); Hyperlink(TOS URL).
If I put the same code (Hyperlink(TOS URL);) on a button click on a window, it functions as intended. Is there a restriction in the Business Central base code that prevents redirects before the login process is finished?
Is there an alternative to using the message statement to complete this task?
Thank you for your help.
I think this link will help you:
https://yzhums.com/29051/