Set the Portal server page domain
Use this procedure to set the page domain for the Portal Server.
-
Go to the Portal Server > Lawson Portal website and browse for the
servenv.js
file. -
Back up or save the file with a new name. For example,
copy
servenv.js
toservenv_backup.js
. -
Edit the
servenv.js
file below the document root. -
Locate the
var ENVDOMAIN
variable and remove the/*
and*/
characters at the beginning of each section. -
Change the
ENVDOMAIN
value to the server domain value for your configuration. -
Locate the
PORTALSERVER
variable and change its value to the fully qualified path for the Lawson Portal server.Note: If thePORTALSERVER
value is not present, you must create it beneath the ENVDOMAIN variable. -
Under the
PORTALSERVER
variable, add a variable calledportalURL
that includes the fully qualified value for the Lawson Portal installation.For example,
var portalURL = "http://portal_server.your_company.com/lawson/portal";
- Save the file.
- Stop and start the Portal application server.