1

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.

2 Answers 2

6

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

2
  • 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, 2015 at 9:17
  • 1
    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") Jan 21, 2015 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
  • 1
    Working on visualforce page but not in standard related list Jan 21, 2015 at 9:12

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .