Update Last Selected App
PATCH {{_endpoint}}/services/data/v{{version}}/ui-api/apps/:APP_ID?formFactor=Large
Returns metadata for an app, and saves an app as the last selected for a user.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
formFactor | string | The form factor for each app that the user has access to (Large , Medium or Small ) |
RESPONSES
status: OK
{"appId":"06m58000000fBK2AAM","description":"Manage your sales process with accounts, leads, opportunities, and more","developerName":"LightningSales","eTag":"e288a1d753c535d52fd11b047cd74482","formFactors":["Small","Medium","Large"],"headerColor":"#0070D2","iconUrl":"https://pozil-dev-ed.my.salesforce.com/logos/Salesforce/SalesCloud/icon.png","isNavAutoTempTabsDisabled":false,"isNavPersonalizationDisabled":false,"isNavTabPersistenceDisabled":false,"label":"Sales","logoUrl":"https://pozil-dev-ed.my.salesforce.com/logos/Salesforce/SalesCloud/logo.png","mobileStartUrl":null,"navItems":[{"availableInClassic":true,"availableInLightning":true,"color":"FF538A","content":"https://pozil-dev-ed.my.salesforce.com/lightning/page/home","custom":false,"developerName":"standard-home","iconUrl":"https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/standard/home_120.png","id":null,"itemType":"Standard","label":"Home","objectApiName":"Home","objectLabel":null,"objectLabelPlural":null,"pageReference":{"attributes":{"pageName":"home"},"state":{},"type":"standard__namedPage"},"standardType":"Home"},{"availableInClassic":true,"availableInLightning":true,"color":"FF5D2D","content":"https://pozil-dev-ed.my.salesforce.com/006/o","custom":false,"developerName":"standard-Opportunity","iconUrl":"https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/standard/opportunity_120.png","id":null,"itemType":"Entity","label":"Opportunities","objectApiName":"Opportunity","objectLabel":"Opportunity","objectLabelPlural":"Opportunities","pageReference":{"attributes":{"objectApiName":"Opportunity","actionName":"home"},"state":{},"type":"standard__objectPage"},"standardType":null},{"availableInClassic":true,"availableInLightning":true,"color":"FF5D2D","content":"https://pozil-dev-ed.my.salesforce.com/00Q/o","custom":false,"developerName":"standard-Lead","iconUrl":"https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/standard/lead_120.png","id":null,"itemType":"Entity","label":"Leads","objectApiName":"Lead","objectLabel":"Lead","objectLabelPlural":"Leads","pageReference":{"attributes":{"objectApiName":"Lead","actionName":"home"},"state":{},"type":"standard__objectPage"},"standardType":null},{"availableInClassic":false,"availableInLightning":true,"color":"3BA755","content":"https://pozil-dev-ed.my.salesforce.com/00T/o","custom":false,"developerName":"standard-Task","iconUrl":"https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/standard/task_120.png","id":null,"itemType":"Standard","label":"Tasks","objectApiName":"Task","objectLabel":"Task","objectLabelPlural":"Tasks","pageReference":{"attributes":{"objectApiName":"Task","actionName":"home"},"state":{},"type":"standard__objectPage"},"standardType":"Tasks"},{"availableInClassic":true,"availableInLightning":true,"color":"939393","content":"https://pozil-dev-ed.my.salesforce.com/_ui/core/chatter/files/FileTabPage","custom":false,"developerName":"standard-File","iconUrl":"https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/standard/file_120.png","id":null,"itemType":"Entity","label":"Files","objectApiName":"ContentDocument","objectLabel":null,"objectLabelPlural":null,"pageReference":{"attributes":{"objectApiName":"ContentDocument","actionName":"home"},"state":{},"type":"standard__objectPage"},"standardType":null},{"availableInClassic":true,"availableInLightning":true,"color":"5867E8","content":"https://pozil-dev-ed.my.salesforce.com/001/o","custom":false,"developerName":"standard-Account","iconUrl":"https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/standard/account_120.png","id":null,"itemType":"Entity","label":"Accounts","objectApiName":"Account","objectLabel":"Account","objectLabelPlural":"Accounts","pageReference":{"attributes":{"objectApiName":"Account","actionName":"home"},"state":{},"type":"standard__objectPage"},"standardType":null},{"availableInClassic":true,"availableInLightning":true,"color":"5867E8","content":"https://pozil-dev-ed.my.salesforce.com/003/o","custom":false,"developerName":"standard-Contact","iconUrl":"https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/standard/contact_120.png","id":null,"itemType":"Entity","label":"Contacts","objectApiName":"Contact","objectLabel":"Contact","objectLabelPlural":"Contacts","pageReference":{"attributes":{"objectApiName":"Contact","actionName":"home"},"state":{},"type":"standard__objectPage"},"standardType":null},{"availableInClassic":true,"availableInLightning":true,"color":"FF538A","content":"https://pozil-dev-ed.my.salesforce.com/01Z/o","custom":false,"developerName":"standard-Dashboard","iconUrl":"https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/standard/dashboard_120.png","id":null,"itemType":"Standard","label":"Dashboards","objectApiName":"Dashboard","objectLabel":"Dashboard","objectLabelPlural":"Dashboards","pageReference":{"attributes":{"objectApiName":"Dashboard","actionName":"home"},"state":{},"type":"standard__objectPage"},"standardType":"Dashboards"},{"availableInClassic":true,"availableInLightning":true,"color":"06A59A","content":"https://pozil-dev-ed.my.salesforce.com/00O/o","custom":false,"developerName":"standard-report","iconUrl":"https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/standard/report_120.png","id":null,"itemType":"Standard","label":"Reports","objectApiName":"Report","objectLabel":"Report","objectLabelPlural":"Reports","pageReference":{"attributes":{"objectApiName":"Report","actionName":"home"},"state":{},"type":"standard__objectPage"},"standardType":"Reports"},{"availableInClassic":false,"availableInLightning":true,"color":"1B96FF","content":null,"custom":false,"developerName":"standard-Feed","iconUrl":"https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/standard/feed_120.png","id":null,"itemType":"Standard","label":"Chatter","objectApiName":"Feed","objectLabel":null,"objectLabelPlural":null,"pageReference":{"attributes":{"pageName":"chatter"},"state":{},"type":"standard__namedPage"},"standardType":"Feed"},{"availableInClassic":true,"availableInLightning":true,"color":"1B96FF","content":"https://pozil-dev-ed.my.salesforce.com/_ui/core/chatter/groups/GroupListPage","custom":false,"developerName":"standard-CollaborationGroup","iconUrl":"https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/standard/groups_120.png","id":null,"itemType":"Standard","label":"Groups","objectApiName":"CollaborationGroup","objectLabel":"Group","objectLabelPlural":"Groups","pageReference":{"attributes":{"objectApiName":"CollaborationGroup","actionName":"home"},"state":{},"type":"standard__objectPage"},"standardType":"Groups"},{"availableInClassic":false,"availableInLightning":true,"color":"FF538A","content":"https://pozil-dev-ed.my.salesforce.com/00U/o","custom":false,"developerName":"standard-Event","iconUrl":"https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/standard/event_120.png","id":null,"itemType":"Standard","label":"Calendar","objectApiName":"Event","objectLabel":"Event","objectLabelPlural":"Events","pageReference":{"attributes":{"objectApiName":"Event","actionName":"home"},"state":{},"type":"standard__objectPage"},"standardType":"Events"},{"availableInClassic":true,"availableInLightning":true,"color":"1B96FF","content":"https://pozil-dev-ed.my.salesforce.com/_ui/core/chatter/people/PeopleListPage","custom":false,"developerName":"standard-OtherUserProfile","iconUrl":"https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/standard/user_120.png","id":null,"itemType":"Standard","label":"People","objectApiName":"User","objectLabel":"User","objectLabelPlural":"People","pageReference":{"attributes":{"objectApiName":"User","actionName":"home"},"state":{},"type":"standard__objectPage"},"standardType":"People"},{"availableInClassic":true,"availableInLightning":true,"color":"FF5D2D","content":"https://pozil-dev-ed.my.salesforce.com/500/o","custom":false,"developerName":"standard-Case","iconUrl":"https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/standard/case_120.png","id":null,"itemType":"Entity","label":"Cases","objectApiName":"Case","objectLabel":"Case","objectLabelPlural":"Cases","pageReference":{"attributes":{"objectApiName":"Case","actionName":"home"},"state":{},"type":"standard__objectPage"},"standardType":null},{"availableInClassic":true,"availableInLightning":true,"color":"3BA755","content":"https://pozil-dev-ed.my.salesforce.com/_ui/sales/forecasting/ui/ForecastingTabPage","custom":false,"developerName":"standard-Forecasting3","iconUrl":"https://pozil-dev-ed.my.salesforce.com/img/icon/t4v35/standard/forecasts_120.png","id":null,"itemType":"Standard","label":"Forecasts","objectApiName":"Forecasting3","objectLabel":null,"objectLabelPlural":null,"pageReference":{"attributes":{"pageName":"forecasting"},"state":{},"type":"standard__namedPage"},"standardType":"Forecasting3"}],"selected":true,"startUrl":"https://pozil-dev-ed.my.salesforce.com/home/home.jsp?tsid=02u58000000fBK2","type":"Lightning","userNavItems":[]}