%SYS
Resources Class Reference

This class will allow a user to associate resources with pages in the system management portal. More...

Inheritance diagram for Resources:
Collaboration diagram for Resources:

Static Public Member Functions

_.Library.Status Export (_.Library.String FileName, _.Library.Integer NumExported, _.Library.String Pages, _.Library.String Resources)
 This class will allow a user to associate resources with pages in the system management portal. More...
 
_.Library.Status Import (_.Library.String FileName, _.Library.Integer NumImported, _.Library.Integer Flags)
 Import Custom Resource records from an XML file. More...
 

Detailed Description

This class will allow a user to associate resources with pages in the system management portal.

Member Function Documentation

◆ Export()

_.Library.Status Export ( _.Library.String  FileName,
_.Library.Integer  NumExported,
_.Library.String  Pages,
_.Library.String  Resources 
)
static

This class will allow a user to associate resources with pages in the system management portal.

Export Custom Resource records to a file in XML format. The user must

have USE permissions on the Admin_Secure resource to perform the export.
Parameters:

  • Filename - Output file name.
  • NumExported (ByRef) - Returns the number of records exported.
  • Pages - Mask for the pages to return. See the <query>List</query> query for details on the format.
  • Resources - Mask for the resources to return. See the <query>List</query> query for details on the format.

◆ Import()

_.Library.Status Import ( _.Library.String  FileName,
_.Library.Integer  NumImported,
_.Library.Integer  Flags 
)
static

Import Custom Resource records from an XML file.

The user must have

USE permissions on the Admin_Secure resource to perform the import.
Parameters:

  • FileName - Filename to import Custom Resource records from.
  • NumImported (ByRef) - Returns the number of records imported.
  • InvalidRecords
  • Flags - Control whether to import the records in the file. The supported bit flags at present are:
    • Bit 0 - Do not import records, just return the count.
    • Bit 1 - Do not require that the resource exists.

Note: On failure, no records will be imported.