docs

Home All functions Legacy functions Categories
All functions Legacy functions About function names

vuSaveProfileEx

Purpose

Save the current active runtime values into a named managed profile.

This is the named-profile save function for Pro and Back Office workflows.

Export name

Clarion prototype

Prototype: vuSaveProfileEx(*CSTRING ProfileName), LONG, PROC, PASCAL, RAW, NAME(‘vuSaveProfileEx’)

Parameters

Parameter Type Description Expected values / range
ProfileName *CSTRING Managed profile name to save. Example: work-account. Blank falls back to default.

Return value

Value Meaning
1 success
0 save failed
-9001 vuMailKit licensing was not initialized. Register the template/global extension or call vuMailKitInitialize(LicenseString) at EXE startup.
-9002 license string is invalid or initialization failed.
-9003 current license tier does not allow this feature.

What it does

vuSaveProfileEx() saves the current live runtime configuration into the named managed profile.

After a successful save:

Example (Clarion)

ProfileName              CSTRING(80)
Result                   LONG

ProfileName = 'work-account'
Result = vuSaveProfileEx(ProfileName)

Notes

All functions Legacy functions About function names
Home All functions Legacy functions Categories