FSM Employee View Configuration

Note:

This topic is intended for administrators and developers who configure mobile login controls on employee forms.

This topic includes the following sections:

Employee Mobile Login Button

The views/employee/loginas configuration controls the Mobile Login button, which appears in employee view mode when the employee is an FSM Mobile user. The current user must be that employee or an FSM Mobile administrator. The button opens the private FSM Mobile address for the employee's email address.

The table lists the properties for this view.

Property

Accepted Value

Standard Default

Effect

hidden

Boolean value.

false

Prevents the button from appearing when hidden is true.

name

Page-button ID string.

"custpage_nx_loginas"

Identifies the button.

label

Text or translation identifier.

Translated Mobile Login label.

Sets its text.

This view doesn't provide an address override or grant FSM Mobile administrator rights. Hiding the button doesn't revoke FSM Mobile access. For the separate email login action and message, see FSM Notification Configuration.

Complete Standard Object

This example shows the complete declared standard defaults.

              {
  "views/employee/loginas": {
    "hidden": false,
    "name": "custpage_nx_loginas",
    "label": "custcollection_fsm.user_mobilelogin_button_label"
  }
} 

            

Email Mobile Login Button

The views/employee/mobilelogin configuration adds the Email Mobile Login button in employee view mode under the conditions described in Employee Mobile Login Button. The button is unavailable when the relevant FSM Mobile login notification is pending.

This table lists the button properties, accepted values, standard defaults, and effects.

Property

Accepted Value

Standard Default

Effect

hidden

Boolean.

false

Prevents the button from appearing when hidden is true.

name

Page-button ID string.

"custpage_nx_mobilelogin"

Identifies the button.

label

Text or translation identifier.

Translated Email Mobile Login label.

Sets the button text.

confirm

Text or translation identifier.

Translated confirmation to send the email.

Sets the confirmation message.

success

Text or translation identifier.

Translated Email successfully queued to be sent message.

Sets the successful-request message.

error

Text or translation identifier.

Translated generic operation error.

Sets the failed-request message.

The action requests mobilelogin from notification.employeeEmail. This view doesn't expose a notification-name setting. For message and login-link configuration, see FSM Notification Configuration. A successful request means the email was queued, not that it was delivered.

Complete Standard Object

This object shows the complete declared standard defaults.

              {
  "views/employee/mobilelogin": {
    "hidden": false,
    "name": "custpage_nx_mobilelogin",
    "label": "custcollection_fsm.user_emailmobilelogin_button_label",
    "confirm": "custcollection_fsm.user_emailmobilelogin_confirm_message",
    "success": "custcollection_fsm.user_emailmobilelogin_success_message",
    "error": "custcollection_fsm.error_generic_error_message"
  }
} 

            

Additional Information

Related Topics

General Notices