This example assumes you have successfully embedded the component and validated the license.
By default, the webclient displays a login panel where the user can select a URL, enter credentials and select a publication. This example demonstrates how you can bypass the login panel and load a publication directly.
To load a publication, we must first configure which server to use, which credentials to use and load a publication using the setServer(), setCredentials() and loadPublication() methods.
If you don't specify credentials, the system will ask for them.
client.setServer(<server>); client.setCredentials(<username>,<password>); client.loadPublication(<publicationName>);
Since version 11.1.3, several things are disabled by default when using the API :