Free cookie consent management tool by TermsFeed

a!isNativeMobile() Function

On This Page

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 Interfaces Compatible
Sync-Time Custom Record Fields Incompatible
Real-Time Custom Record Fields Incompatible

Custom record fields that evaluate in real time must be configured using one or more Custom Field functions.

Process Reports Incompatible

Cannot be used to configure a process report.

Process Events Partially compatible

If autoscale is enabled, can be used to configure a supported process event node (such as a start event or timer event).

Process Autoscaling Compatible

Can be used in autoscaled processes.

Event Consumer Filter Conditions Incompatible

Cannot be used in filter conditions.

Event Consumer Event Handlers Incompatible

Cannot be used in event handler expressions.

Feedback