Salesforce Platform Developer I (legacy) — Question 69
Universal Containers has a large number of custom applications that were built using a third-party JavaScript framework and exposed using Visualforce pages.
The company wants to update these applications to apply styling that resembles the look and feel of Lightning Experience.
What should the developer do to fulfill the business request in the quickest and most effective manner?
Answer options
- A. Set the attribute enableLightning to true in the definition.
- B. Enable Available for Lightning Experience, Lightning Communities, and the mobile app on Visualforce pages used by the custom application.
- C. Incorporate the Salesforce Lightning Design System CSS stylesheet into the JavaScript applications.
- D. Rewrite all Visualforce pages as Lightning components.
Correct answer: C
Explanation
The correct answer is C because incorporating the Salesforce Lightning Design System CSS stylesheet allows the applications to adopt the Lightning look and feel without extensive changes. Option A is incorrect as it only enables Lightning features without styling. Option B could help but does not directly apply the desired styling. Option D would be a complete rewrite, which is not the quickest solution.