Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

Update Last Selected App

Returns metadata for an app, and saves an app as the last selected for a user.
Resource
1/ui-api/apps/${appId}
Available Version
43.0
HTTP Method
PATCH
Example

As an example, let’s say that the user has an app with an ID of 06mRM000000AFIrYAO. To get metadata for this app, make this request:

1PATCH /services/data/v67.0/ui-api/apps/06mRM000000AFIrYAO?formFactor=Large

The PATCH request doesn’t require a request body. The request returns metadata for the app and its associated navigation tabs. It also updates the last selected app to be this app.

Request parameters for PATCH
Parameter Name Type Description Required or Optional Available Version
formFactor String The form factor for each app that the user has access to.
  • Large—App supports the desktop display size.
  • Medium—App supports the tablet display size.
  • Small—App supports the phone display size.
Required 43.0
Response body for PATCH
App