Build Admin Friendly Custom User Interfaces Using Salesforce UI API - Rahul Malhotra
About Me • Software Engineer Trainee and a part of Center Of Excellence team at SaaSfocus • Independent Salesforce Consultant • Blogger and YouTuber at SFDC Stop
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
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.
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
Elements of UI API • Records • Layouts • List Views • Actions • Favorites • Lookups • Active Theme
It’s Time To Code
Considerations for UI API • List of Supported Objects:- https://developer.salesforce.com/docs/atlas.en- 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
Resources • Salesforce Official Documentation:- https://developer.salesforce.com/docs/atlas.en- us.uiapi.meta/uiapi/ui_api_get_started.htm • Trailhead:- https://trailhead.salesforce.com/modules/user- interface-api • SFDC Stop:- https://sfdcstop.blogspot.com/2018/05/salesforceuiapi.html
Q & A
Thank You • GitHub Repository Link:- https://github.com/rahulmalhotra/SalesforceUIApi • My Twitter Handle:- @rahulcoder • Blog:- https://sfdcstop.blogspot.com • YouTube Channel:- https://www.youtube.com/c/SFDCStop • Salesforce Chatter:- http://bit.ly/rahulforce

Introduction to Salesforce UI API

  • 1.
    Build Admin Friendly CustomUser Interfaces Using Salesforce UI API - Rahul Malhotra
  • 2.
    About Me • SoftwareEngineer Trainee and a part of Center Of Excellence team at SaaSfocus • Independent Salesforce Consultant • Blogger and YouTuber at SFDC Stop
  • 3.
    Today’s Agenda • Introductionto 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.
    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.
    Features of UIAPI • 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.
    Elements of UIAPI • Records • Layouts • List Views • Actions • Favorites • Lookups • Active Theme
  • 7.
  • 8.
    Considerations for UIAPI • List of Supported Objects:- https://developer.salesforce.com/docs/atlas.en- 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.
    Resources • Salesforce OfficialDocumentation:- https://developer.salesforce.com/docs/atlas.en- us.uiapi.meta/uiapi/ui_api_get_started.htm • Trailhead:- https://trailhead.salesforce.com/modules/user- interface-api • SFDC Stop:- https://sfdcstop.blogspot.com/2018/05/salesforceuiapi.html
  • 10.
  • 11.
    Thank You • GitHubRepository Link:- https://github.com/rahulmalhotra/SalesforceUIApi • My Twitter Handle:- @rahulcoder • Blog:- https://sfdcstop.blogspot.com • YouTube Channel:- https://www.youtube.com/c/SFDCStop • Salesforce Chatter:- http://bit.ly/rahulforce