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
ArikArik 

Want to Add a Custom Related tab to the Creating Tabbed Accounts Receipe

The receipe is located at http://developer.force.com/cookbook/recipe/creating-tabbed-accounts

 

I tried to add a custom object called "Test" and have can not solve it.

 

Any help would be appreciated.

 

Thx

 

 

Best Answer chosen by Admin (Salesforce Developers) 
SpanishForkDevSpanishForkDev

Hi Arik,

 

Look on your test object, then the lookup field. In the settings for the field, there is a value called Child Relationship Name. Add a __r to this value and that is what you need.

 

Example:

 

Child Relationship Name : Tests

 

<apex:relatedList subject="{!account}" list="Tests__r" />

 

That should do it.

All Answers

SpanishForkDevSpanishForkDev

Hi Arik,

 

Look on your test object, then the lookup field. In the settings for the field, there is a value called Child Relationship Name. Add a __r to this value and that is what you need.

 

Example:

 

Child Relationship Name : Tests

 

<apex:relatedList subject="{!account}" list="Tests__r" />

 

That should do it.

This was selected as the best answer
ArikArik

Thank You !!!