• Dan Collins 22
  • NEWBIE
  • 0 Points
  • Member since 2017

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies
Before the Summer '18 URL update, the following code worked:
 
String pdfURL = '/quote/quoteTemplateDataViewer.apexp?id='+quoteId+'&summlid='+ts.Value__c;

I've been googling all evening and I can't seem to find how contruct the url in the new format. I've seen the following info that does relate to my issue, but I can't figure out how to make it work

Appending parameters in URL
If you have query string parameters appended to the original URL, they will be re-written differently when entered into a browser.
For example:
/one/one.app?myparam1=xyz&myparam2=abc
Will be rewritten as
/lightning?0.myparam1=xyz&0.myparam2=abc.

If anyone could be of help, I'd gladly appreciate it.
As salesforce is making changes to the URL format for lightning experience as below
Current format: https://{lightning.domain.com}/one/one.app/#/sObject/Account/home
New format: https://{lightning.domain.com}/lightning/o/Account/home

I am wondering how to change the below URL format to support the lightning experience.
https://na**.salesforce.com/one/one.app#eyJjb21*****etc.,

I have tried various options but did not work. Any help or thoughts?

Thanks!
  • April 19, 2018
  • Like
  • 0