0

I have a related list of a junction object on one of my objects, and we removed the junction object name because the header was really long. Now, however, we don't have a way of clicking through to the junction object record. Is there a way to create a link next to the related list records, similar to Edit or Delete? We would need a View link.

Tia.

4

You can create a formula field. Choose "Text" type, then use the HYPERLINK function referencing the Id of the record : HYPERLINK("/" & Id, "View")

Just add the field to the related list. But it will take a column and i don't think it's possible to add a real link next to Edit/Delete

  • Thank you - that works well. Is it possible to say that I want to open the window in the current window without frames? – Lily Jan 21 '15 at 9:17
  • Default behavior open a new window. You can add "_top" parameter to the function in order to stay on the same window : HYPERLINK("/" & Id, "View","_top") – Yann Gorvel Jan 21 '15 at 9:22
-1

What about just adding something like if using VF page :

<apex:column
    <apex:outputLink value="/{junctionObject.Id}">View</apex:outputLink>
</apex:column>
  • 1
    Working on visualforce page but not in standard related list – Yann Gorvel Jan 21 '15 at 9:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.