How to prefill a user in VLF Web login dialog window

Date:17 April 2013
Product/Release:Visual LANSA Framework
Abstract:How to prefill a username in the VLF Web login dialog window
Submitted By:LANSA Technical Support

Question:

When Visual LANSA Framework is defined with the option to enable a user signon dialog a login window is displayed with a prefilled username on the browser.

How can I change the prefilled username to something else or even with blanks?

Answer:

In the Visual LANSA Framework documentation, under 'Web Application Start Options' it described a parameter to define the VLF Web user:

VLF Web Start Options

You can append the URL which executes the VLF Web application with a parameter +User='' (ie. two single quotes with no space in between) when starting the VLF Web application on a browser.

This will give a blank user in the signon dialog like this:

VLF Web Signon box

You can also define this +User= parameter with other values to prefill the user with a specific user name.