Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Introduction to Salesforce UI API


Published on

Technical Session by Rahul Malhotra at TrailheaDX Global Gathering organized by New Delhi Salesforce Developer Group and Gurgaon WIT.

Topic: Build Admin friendly custom user interfaces using Salesforce UI API

User Interface API is the API that salesforce itself used to build lightning experience and the Salesforce apps for Android and iOS. Using UI API, you can build custom user interfaces for web apps that can be managed easily by salesforce admin. It automatically introduces a lot of functionality that makes the UI highly customizable just like the actual Salesforce UI.

Published in: Software
  • Login to see the comments

Introduction to Salesforce UI API

  1. 1. Build Admin Friendly Custom User Interfaces Using Salesforce UI API - Rahul Malhotra
  2. 2. About Me • Software Engineer Trainee and a part of Center Of Excellence team at SaaSfocus • Independent Salesforce Consultant • Blogger and YouTuber at SFDC Stop
  3. 3. Today’s Agenda • Introduction to User Interface API • UI API - Features • Elements of UI API • Live Demo – User Interface API Implementation • Considerations for UI API • Available Resources to learn UI API • Q & A
  4. 4. User Interface API – An Introduction • Salesforce Developers needed a new API to build Lightning Experience • It came up with UI API which consists of the layout, metadata and record data altogether to build custom and dynamic UI • With UI API - you don’t have to take care about field level security, sharing rules, layouts and even picklists.
  5. 5. Features of UI API • UI API provides you the record information along with the layout information • It also provides you the data and metadata about the actions implemented in the UI like:- Standard and Custom Buttons, Quick Actions etc. • You can perform CRUD operation on records with UI API • It also gives you the information about list views as well as makes it easier to render dependent and independent picklists
  6. 6. Elements of UI API • Records • Layouts • List Views • Actions • Favorites • Lookups • Active Theme
  7. 7. It’s Time To Code
  8. 8. Considerations for UI API • List of Supported Objects:- us.uiapi.meta/uiapi/ui_api_get_started_supported_objects.htm • UI API uses the Salesforce API Limits. If the limit is exceeded, you’ll receive 503 Service Unavailable Error • To access salesforce resources, we have to add our custom host to CORS in Salesforce so that the requests are permitted • If you are building lightning components don’t use UI API, use Lightning Data Service instead
  9. 9. Resources • Salesforce Official Documentation:- us.uiapi.meta/uiapi/ui_api_get_started.htm • Trailhead:- interface-api • SFDC Stop:-
  10. 10. Q & A
  11. 11. Thank You • GitHub Repository Link:- • My Twitter Handle:- @rahulcoder • Blog:- • YouTube Channel:- • Salesforce Chatter:-