getClient

Returns a value to indicate which client the script is executing in.

Syntax

context.client.getClient()

Available for

Model-driven apps, canvas apps, & portals.

Return Value

Type: String

Returns a value to indicate in which client the script is executing.

Client type Description
Web Web application, or Unified Interface
Outlook Outlook
Mobile Mobile app

Client
Power Apps component framework API reference
Power Apps component framework overview