Chapter 3 of 4 · Salesforce Platform Developer
User Interface
Secure UI code, Lightning Web Components, Visualforce, Aura, screen flows and Apex for components.
- 4topics
- 16 minfast track
- 2diagrams and exhibits
- 25%of the exam
Topics in this chapter
Take them in order, or jump to the one you need.
- 1Preventing Security Vulnerabilities in UI and Data AccessSecure Apex and UI code: sharing keywords, user mode queries and DML, stripInaccessible, SOQL injection, cross-site scripting and…Diagram4 min
- 2Lightning Web Components: Framework, Benefits and EventsLightning Web Components for Platform Developer: files, decorators, lifecycle hooks, events, Lightning Message Service and…Diagram4 min
- 3Custom UI with Visualforce, Aura Components and Screen FlowsChoosing custom UI on Salesforce: Visualforce pages and controllers, extensions, StandardSetController, Aura components, and…4 min
- 4Apex for Lightning Components, Flow and AgentforceCalling Apex from Lightning Web Components, Flow and Agentforce: AuraEnabled methods, wire versus imperative calls, refreshApex…4 min
About this chapter
What this chapter covers
User Interface is 25% of the Salesforce Certified Platform Developer exam. It covers preventing security vulnerabilities in UI code and data access, custom UI with Lightning components, Flow and Visualforce, the Lightning Web Components framework and events, and Apex used by page components, Flow and Agentforce.
Questions are mostly scenarios and short code samples: you choose the code, feature or fix that meets a requirement, or predict what a piece of Apex does. Expect real Apex, SOQL and JavaScript syntax and real governor-limit numbers.
How the topics fit together
Components show the user interface, Apex controllers supply data, and security checks make sure users see only what they may see.
For a new custom component, Lightning Web Components is the default answer. Visualforce and Aura appear mainly when a question describes an existing page.
How to use these pages
Each topic page has the same shape, so you can skim for what you need.
- What it is: the idea in plain words.
- How it works: the mechanism, with tables and code examples.
- What to remember for the exam: the facts to memorise and how questions are phrased.
- Common mistakes: the classic traps.
- Check yourself: three questions to test your understanding.
Ready for more practice?
The full Salesforce Platform Developer question bank has 645 questions, with timed practice exams and an explanation for every answer.
This study guide is independent and is not affiliated with, endorsed by, or sponsored by Salesforce. Vendor names, certification names and exam codes are trademarks of their respective owners and are used for identification only.