• pacochin
  • NEWBIE
  • 0 Points
  • Member since 2013

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 4
    Replies

Hi,

 

I am new to SF development and I am trying to achieve below, hope someone can help.

 

Master object is "Product"

Child object is "Product_item"

 

I plan to create a VP page to generate pdf file, and create a custom button at the Product Item page, so that user can click a button to generate a pdf page to print.

 

Below is my code:

 

<apex:page renderAs="pdf" standardController="Product_Item__c">

 

//I want to display the Product.Product_name__c value here // 

// I dont know the syntax //

 

<apex:outputText value="{!Product_Item_Name__c}" styleClass="productName"/>

 

</apex:page>

 

 

Please help ! thks

I have set up filter criteria in Record lookup which return more than 1 record.

is there any way we can display all the records on a screen?