You need to sign in to do that
Don't have an account?
Lukasz Piziak
Record hyperlink on the VF page
Hi,
We have created VF page with two tables related to our Production Order object. Each table is dispalying the production orders depended by the status. My Production Order record name is something like this: PRO-000203. My issue is that I would like to be able to click on this record and open it. Unfortunately there is only name displayed without underscore line suggesting that this is like link.
Thanks for any help.
Below is a screen capture
We have created VF page with two tables related to our Production Order object. Each table is dispalying the production orders depended by the status. My Production Order record name is something like this: PRO-000203. My issue is that I would like to be able to click on this record and open it. Unfortunately there is only name displayed without underscore line suggesting that this is like link.
Thanks for any help.
Below is a screen capture
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_compref_outputLink.htm
Please let us know if this will help u
All Answers
It is quite simple as
1. You may use command link and implement anchor tag so that you can display this field as link,
but it is not possible to you as it is coming as object property then
2. you just need to create a formula field on this object of text type which will return hyperlink & in this hyper link you can use Record id url of this record.
I have used second approach in some of my work.
Thanks
Sandeep Singhal
http://www.codespokes.com/
Thank you for help.
I have tried the first option and it wasn't working for me.
Second option and here I have a question. You said return type as TEXT, from where I can get this Record id url of the record?
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_compref_outputLink.htm
Please let us know if this will help u