You need to sign in to do that
Don't have an account?

How to put a custom object's field as the title on a VisualForce Page?
Hello,
I have created a visualforce page that shows a table of values for a custom object's (Sol_sence_Products__c) related object (Inventory__c) I also need to pull up a sepreate custom object realted to Sol_sence_Products__c to the field called Framework_Sol_sence_Product_Name and use it as a title. I have a ttached the working code below without hte title for Framework_Sol_sence_Product_Name. However, I keep on running into problems, any idea of how to solve this?
I have created a visualforce page that shows a table of values for a custom object's (Sol_sence_Products__c) related object (Inventory__c) I also need to pull up a sepreate custom object realted to Sol_sence_Products__c to the field called Framework_Sol_sence_Product_Name and use it as a title. I have a ttached the working code below without hte title for Framework_Sol_sence_Product_Name. However, I keep on running into problems, any idea of how to solve this?
<apex:page standardController="Sol_sence_Products__c"> <!-- Solesence Inventory List --> <table style="border: 5px solid black;" width="100%"> <tr style="border: 5px solid black"> <th Style="text-align: center; border: 1px solid black;border-collapse: collapse">Solesence Product</th> <th Style="text-align: center; border: 1px solid black;border-collapse: collapse">Quantity</th> <th Style="text-align: center; border: 1px solid black;border-collapse: collapse">Unit Size</th> <th Style="text-align: center; border: 1px solid black;border-collapse: collapse">Packaging</th> <th Style="text-align: center; border: 1px solid black;border-collapse: collapse">Lot Number</th> </tr> <apex:repeat value="{!Sol_sence_Products__c.Sol_sence_Inventory__r}" var="ct"> <tr style="border: 15px solid black"> <td Style="text-align: center; border: 1px solid black">{!ct.Sol_sence_Product__c}</td> <td Style="text-align: center; border: 1px solid black">{!ct.Quantity__c}</td> <td Style="text-align: center; border: 1px solid black">{!ct.Unit_Size__c}</td> <td Style="text-align: center; border: 1px solid black">${!ct.Packaging__c}</td> <td Style="text-align: center; border: 1px solid black">${!ct.Lot__c}</td> </tr> </apex:repeat> </table> <a href="history.back();" onclick="history.back();">Back To Previous </a> </apex:page>