Article Details
Id:18874
Product:finPOWER Connect
Type:NEW
Version:3.04.03
Opened:10/12/2021
Closed:10/12/2021
Released:01/02/2022
Job: J028026

Settings; new option to create Custom Settings via a Parameter Set

There is a new option to create Custom Settings via a Parameter Set. Although you might use Global Constants, this allows much more flexibility and a better interface for Users to enter Custom Settings.

You will need to create a Parameter Set that defines your Custom Settings. Then, under Tools, Global Settings, General group, Constants page enter the Parameter Set and save the changes.

Once this is done, a new menu option under Tools, "Custom Settings" will appear. Use this to enter Custom Settings.

Note, there is an export and import function in the Custom Settings form.

Custom Settings can easily be accessed via the Business Layer. Data is loaded into an ISKeyValueListReadOnly object.

Here is some sample code on how you might use it:

If finBL.SettingsCustom.GetBoolean("Test.OptionA") Then
  ' Do work
End If  

A new Permission Key "Settings.Custom" controls whether the User can update Custom Settings. The default is to deny.