Article Details
Id:17718
Product:finPOWER Connect WS
Type:NEW
Version:3.03.05.15
Opened:06/01/2021
Closed:06/01/2021
Released:26/02/2021
Job: J025742

Business Layer; Flag now set to determine whether running in "Demo mode"

The online demonstration of finPOWER Connect Cloud puts the system into a special "Demo mode" where actions such as adding and deleting Users are prohibited.

Previously, "Demo mode" could only be recognised from the built-in forms running under finPOWER Connect Cloud. However, recently added HTML Widgets such as those related to User Security also need to detect this so they can disable actions or editing or records.

The business layer already contained a finBL.DemoMode property. This is now set to True when finPOWER Connect Web Services are in "Demo mode".

NOTE: "Demo mode" means that the demo.txt file in the App_Data folder for both Web Services and finPOWER Connect Cloud contains "Y" (by default, this file should not exist of should just contain "N").

WARNING: Updating (or adding or removing) the demo.txt file will means that IIS (or the website) will need to be restarted for changes to take effect.