function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
t4runjaint4runjain 

Create a page which should be accessible in Salesforce Lightning, Salesforce Classes & salesforce1 as well.

My requirement is to create a page which should be accessible in Salesforce Lightning, Salesforce Classes & salesforce1 as well.

The page will have a couple of tables (data from custom object), and craeting new row, deleting row functionality.
Finally I need to save the data to custom object.
Also the table rows should be sortable(drag&drop).
The page shuld work as device independent (IPAD, Mobile, Desktop).

My question is what component should I use to create the page?
Should I use VF with Remote Methods?
Or should I use Lightning components to build the page?

Please let me know the best way to do it?
 
Srinivas SSrinivas S
hi Tarun,

Please follow the below steps -
  1. Create a Lightning Component as per the requirements by using lightning design system.
  2. Embed the lightning component inside of the visualforce page (Since you are apply Lightning Design System Styles, it will be responsive and will adust as per the device mobile, ipad, Desktop).
  3. It works in Salesforce Classic as well as Lighning Experience also.
------------
Thanks,
Srinivas
- Please mark as solution if your problem is resolved.