<< Click to Display Table of Contents >> Navigation: »No topics above this level« Description |
mapp Services V5.16
The same MpLink used by MpUserSignature is used for this component as well.
This component controls the electronic signature dialog box. Data is exchanged between MpUserSignatureUI and the HMI application using structure MpUserSignatureUIConnectType.
Only one MpUserSignatureUI can be used for each MpUserSignature. It is not possible to use multiple instances of MpUserSignatureUI.
MpUserSignatureUIConnectType
Structure "UIConnect" is divided into the following areas:
•Status: Parameter "Status" provides information about the current activity of user management.
•SignAction: This parameter specifies which action requires a signature. This parameter must be linked to every Completion data point of an HMI element that requires an electronic signature. The value to which the Completion data point is set must match the "ActionID" of the respective action in the configuration.
•Dialog: Dialog box that opens when an electronic signature is required. A username and password must be entered, and a comment is optional.
•MessageBox: Various messages to the user (e.g. incorrect username or password).
•DefaultLayerStatus: The background layer can be locked for the duration that a dialog box is open using this data point.
If an error occurs during a signature attempt, for example because the password was specified incorrectly, the error is displayed in message box structure MpUserUIMessageBoxType under "ErrorNumber". The following errors can occur:
•24576: Invalid password
•24577: Invalid configuration
•24581: Insufficient user rights
•24584: User blocked
•24585: Password change required
•24598: Missing value on UIConnect
•24599: Invalid username
•24600 : Missing password
•24614 : Signature failed
•24615 : Last signature not yet checked