Skip to main content

Classic to Lightning Salesforce Conversion - Step 2- visualforce








Do not panic.  Converting visualforce pages to the lightning look and feel requires code, but only the teeniest bit.  

  1. Find Visualforce pages -search Setup for "Visualforce Pages"
  2. Click edit for one of the pages and you will see a big block of code. 
  3. After the <apex:page type lightningStylesheets="true"
  4. Check the "available for lightning" box.  Done!  



Here's a fun problem- There is a Visualforce page in classic that looks like this:


  • The left is a list view of a person's open tasks for the day.  
  • This ties to an email editor on the right, so a user can select a task then type an email all from the same page. 
In Classic the page will resize automatically if it is opened in a smaller window or insert a bottom scroll bar so that the whole page can be accessed.  IE - My laptop has a smaller display, so the page has a scroll bar.

In Lightning the page has a lot more white space and will not resize nicely.  On a laptop, there is no bottom scroll bar - It looks like this.  Ouch! 




For now, I am going to let the page render in classic. 

How would you fix this?









Comments

Popular posts from this blog

Process Automation Specialist Superbadge - 5

A project with Daddy: My favorite daily process! Making dinner for Mom! Tonight's challenge involves the creation of two processes.   Processes.  Have you guessed the theme of the photos that go along with the Trailhead - Process Automation Specialist Superbadge series?They are a few of my favorite day to day processes!  You, my amazing reader, get more than tips for a Salesforce Superbadge.  You also get personal insight into the life of a Trailhead Baby!  I hope that you feel inspired. Process Builder sketch Last night, I drew a rough sketch of my process: Was it pretty?  No. Did it help?  Yes! The sketch allowed me to organize all of the instructions into a reasonable order before I started clicking.  It also removed the approval steps from Process Builder and highlighted (with *'s) the prerequisite items to building my process. * Email Alerts I needed the Email Alerts set up before I could create either the process or ...

Lightning Experience Specialist Superbadge - 8

The best present? Santa says that I am getting a little brother in April! Let's import some data!  It's simple to mass delete the records if there are inserted incorrectly - and you have me to help!  The goal with this post is to move beyond the "how" of data import and explain the "why."  The challenge makes more sense when you think about the relationships between the objects.  I'll explain more below. First: A confession I, the Trailhead Baby, am not a perfect Salesforce admin.  Even though I completed this entire Superbadge in 2017, I still messed up the data import badly enough that I had to mass delete all of my records and start over.   Quick tip: It may help to delete the existing data before you start the import.  This way, when you extract recordID's, you only extract the ID's of the records that you have already imported vs. the records that were already in the Trailhead Playground by default. You can use many da...

Security Superbadge -2

Challenge 2: Record-Level Security Settings I created the three user profiles last time, so the starting point tonight was the next tier of security - roles.  I set up the roles per the provided org chart, making sure to follow the opportunity restrictions from the directions. Next, I set up the required user and assigned her to the correct profile and role. Hint:   Use a real email address for Samantha Cordero.  You will need to login as Samantha in order to create an opportunity for her.  While you are at it, go ahead and login to Salesforce1 as Samantha. Once Salesforce1 is enabled, you can set up the appropriate permissions.  You may want to take take a peek at a Salesforce Knowledge Article .   Me - as a Project Manager. Next, I addressed the special role - Project Managers Project Managers require a role, permission set, and a  sharing rule.  Whew! For the final step, I set up the remaining sharing rules in     ...