Initialize parameters

Often, the direct links you create will be similar to each other. For example, these two direct links are identical except for name of the report which they open:

http://[ServerName]/WebAlias/default.aspx?directLink=true&showLogin=
0&loginName=Admin&loginRepository=Sample&loginAuthSys=Basic&loginProject=
OLAP%20Demo&loginReportCatalog=Genesis%20Demo%20for%20Application%20Studio
&useStartReport=0&reportGUID=ABCAnalyze&showTree=0&showTopFrame=0&InstanceId=1 

http://[ServerName]/WebAlias/default.aspx?directLink=true&showLogin=
0&loginName=Admin&loginRepository=Sample&loginAuthSys=Basic&loginProject=
OLAP%20Demo&loginReportCatalog=Genesis%20Demo%20for%20Application%20Studio
&useStartReport=0&reportGUID=ABCAnalyze3&showTree=0&showTopFrame=0&InstanceId=1 

If you open the second report after the first in the same session, the log on parameters of the second direct link are unnecessary because the user is already logged on.

You can use Initialize Parameters to link one DirectLink URL to another and share the parameters they have in common. The second DirectLink URL need only contain the parameters that are unique to it and so is shorter than the first. This becomes important if your direct links contain a large number of parameters. The length of a URL may become longer than the length supported by the browser.

You use Initialize Parameters in both URLs.

In this example, the first DirectLink URL becomes:

http://[ServerName]/WebAlias/default.aspx?directLink=true&showLogin=
0&loginName=Admin&loginRepository=Sample&loginAuthSys=Basic&loginProject=
OLAP%20Demo&loginReportCatalog=Genesis%20Demo%20for%20Application%20Studio
&useStartReport=0&reportGUID=ABCAnalyze&showTree=0&showTopFrame=0&InstanceId=1&saveSession=1 

The second URL can be written as:

http://[ServerName]/WebAlias/default.aspx?directLink=true&&saveSession=1&reportGUID=ABCAnalyze3

In the DirectLink URL, the parameter is displayed as:

saveSession=[0/1]

By default, the value is 0.