Article Details
Id:17217
Product:finPOWER Connect
Type:NEW
Version:3.03.03
Opened:24/07/2020
Closed:24/07/2020
Released:01/10/2020
Job: J024699

Portals; User Data added

The business layer finPortal object now has a UserData property.

This can be used as an alternative to Constants for storing configuration options, the main difference being that it can only be written from a Script (e.g., the Portal's Configuration page).

A new <%UserData%> tag can be used to insert User Data values into a Page or Resource. This is identical to the <%Constants%> tag and, right-clicking in a Page's HTML will present a "User Data" menu providing the Portal has User Data saved against it.

A new Audit page has been added to the Portals form. This allows User Data to be viewed, cleared, imported and exported.

Importing User Data prompts whether to overwrite or merge with existing User Data.

The new Audit page has a "History" button similar to the Scripts form. This mimics the behaviour previously only available from the IDE page and has been added for consistency. Note that for this button to show, under Global Settings, Developer, General, "Portals" must be checked in the list.

Using User Data instead of Constants has the advantage of:

  • Not clogging up the Constants grid
  • Controlling entry of information

NOTE: This has nothing whatsoever to do with the "User Data" tab on the "State" page of the Portals form or the finPortalHandler.UserData property.

The Portal's User Data can be accessed (read-only) via the new finPortalHandler.PortalUserData property.