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
Dan Collins 22Dan Collins 22 

Can anyone help me understand how the new URL formats affect visualforce page addresses?

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.
SandhyaSandhya (Salesforce Developers) 
Hi,

As per my knowledge the URL for Lightning and mobile app is changed but not the visualforce page URL.

Refer below link.

https://releasenotes.docs.salesforce.com/en-us/summer18/release-notes/rn_general_new_url_format_lex.htm
 
Best Regards,
Sandhya