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
zeba syedzeba syed 

ISDTP in salesforce lightning

Hey,
Could anyone help me out if theres a way we could use isdtp="something". For example I need to display accounts page in lightning how do i capture the same in VF page and diffrentiate it between classic and lightning and display lightning accounts page... Whats the isdtp value for that. Thanks in advance :)
Yury BondarauYury Bondarau
Hi Zeba,

isdtp url parameter does not allow to switch to lightning. It only allows to show/hide sidebar or header. Below the possible options (got it here (http://salesforce.stackexchange.com/questions/32318/visualforce-embedded-report-isdtp-parameter-options))
  • vw - leaves off SF page header and sidebar, supports aloha theme, allows chatter
  • lt - leaves off SF formatting, page header, sidebar, and section header
  • nv - leaves off SF page header and sidebar (behavior changed Winter 14 - see link)
  • mn - leaves off some SF formatting, page header and sidebar