Free cookie consent management tool by TermsFeed a!isNativeMobile() Function
a!isNativeMobile() Function

Function

a!isNativeMobile()

Returns true if the interface is being viewed within the Appian for Mobile application. Returns false otherwise. Use a!isNativeMobile() when you are specifying behavior unique to a mobile app. For example, you might use a!isNativeMobile() to check for mobile browser users who are not using the Appian Mobile application and show them a redirect link to download the application.

See also:

Parameters

No parameters.

Returns

Boolean

Usage considerations

Using isNativeMobile to set site visibility

  • Do not use the a!isNativeMobile function to set site page visibility.

Feature compatibility

The table below lists this function's compatibility with various features in Appian.
Feature Compatibility Note
Portals Compatible
Offline Mobile Compatible
Sync-Time Custom Record Fields Incompatible
Real-Time Custom Record Fields Incompatible
Process Reports Incompatible

You cannot use this function to configure a process report.

Process Events Incompatible

You cannot use this function to configure a process event node, such as a start event or timer event.

a!isNativeMobile() Function

FEEDBACK