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
surya7628@gmail.com Ksurya7628@gmail.com K 

I want to open report with click on the button

Hi All,

I have created the vf page for report,earlier i have created the formula field(type is text) for this vf page.In that formula field i gave the below link with id this is working

Formula filed : HYPERLINK('https://c.ap2.visual.force.com/apex/NTReport2?id='+Id,'PDF')


But i need to use the above url in button (detail page button),i have tried below both urls it is not working

https://c.ap2.visual.force.com/apex/NTReport2?id=+'{!Order.Id}','PDF'

https://c.ap2.visual.force.com/apex/NTReport2?id=+Id,'PDF'





https://c.ap2.visual.force.com/apex/NTReport2?id=+'{!Order.Id}','PDF'

Now i want to change