Tuesday, February 18, 2020

How To Open (Url Format) Visual Force Page in Lightning Experience

If you want to open/preview the visual force page in salesforce lightning experience,do you know  how to construct the final url?if not ,this post will help you with the necessary details.

Url format in Classic:

   BaseUrl + '/apex/' + Your PageName +'?AnyQueryParams=xxx'

Url format in Lightning :

  BaseUrl + '/one/one.app#/alohaRedirect/apex/' + Your PageName +'?AnyQueryParams=xxx'

Let take an example your page name is call and your passing the mobile as query param.The complete your will be like below.
https://srinivas4sfdc--dev.lightning.force.com/one/one.app#/alohaRedirect/apex/Call?mobile=8884876772


Output:





Please comment or write us if you have any queries/requirements.

Please like,follow,bookmark,subscribe this site to receive daily updates.




Hope this helps you..Enjoy..!

No comments:

Post a Comment