Skip to main content
insightsoftware Documentation insightsoftware Documentation
{%article.title%}
Published:
Was this article helpful?
0 out of 0 found this helpful

Load

Use this command to load a document into the document cache. This command can be useful during performance tuning, since documents that are loaded into the document cache do not need to be retrieved from the server each time the document runs. You can load documents such as procedures, models, import specs, export specs, DataArea specs, data table specs, UI files, data views, table views, subroutines, images, and HTML. Any tokens used inside .html files are parsed only once the first time the .html file is used.

Note: During development and testing, use this command with caution, since the copies in the document cache are static and are not updated with any changes you make to the original documents. For more information, see Unload.

Syntax

Load [Path\]FileName

where:

  • Path is the file path for the document. If the path includes spaces, you must enclose it in quotes. For Longview Apps, the default path is the path specified in the <rootpath> tag of the .lvapp file. If no root path is specified, the system assumes the root path is the applications folder in the working directory. For Longview Application Framework, the default path is the lvaf folder in the local working directory.
  • FileName is the name of the document to load, including the relevant extension.
Copy

Syntax example

Load Budgeting\SalaryPlan.lvpro
Load NetInterestIncome.lvdvw                        

See also

Published:

Load

Use this command to load a document into the document cache. This command can be useful during performance tuning, since documents that are loaded into the document cache do not need to be retrieved from the server each time the document runs. You can load documents such as procedures, models, import specs, export specs, DataArea specs, data table specs, UI files, data views, table views, subroutines, images, and HTML. Any tokens used inside .html files are parsed only once the first time the .html file is used.

Note: During development and testing, use this command with caution, since the copies in the document cache are static and are not updated with any changes you make to the original documents. For more information, see Unload.

Syntax

Load [Path\]FileName

where:

  • Path is the file path for the document. If the path includes spaces, you must enclose it in quotes. For Longview Apps, the default path is the path specified in the <rootpath> tag of the .lvapp file. If no root path is specified, the system assumes the root path is the applications folder in the working directory. For Longview Application Framework, the default path is the lvaf folder in the local working directory.
  • FileName is the name of the document to load, including the relevant extension.
Copy

Syntax example

Load Budgeting\SalaryPlan.lvpro
Load NetInterestIncome.lvdvw                        

See also

For an optimal Community experience, Please view on Desktop