You need to sign in to do that
Don't have an account?
Reference Contract on Custom Object Visualforce Page
Hi, I have table on a Custom Object Visualforce page and what to reference the Contract Number on it. I'm having trouble getting this to show on there as the Custom Object isn't directly related to Contracts (but Contracts does appear as a Related List on there).
How do I get the Contract Number to appear on my Visualforce page?
Thanks.
How do I get the Contract Number to appear on my Visualforce page?
Thanks.
Here what my understanding is proposal is the parent of contract so you can't use Contract__r .This __r is to refer to the parent field not th echild field .so if you have any class related to this page you can get through that and create a get/set property for that and use in VF .
All Answers
Can you explain more what exactly you need..also if it is coming in related list then there must be a relationship which we can use to show in VF page..
Please explain your requirment properly ,It is not clear enough to giv esolution .
I have a table on a Visualforce page and I want to 'pull through' the Contract Number.
I have tried the following below, but I think the bit in bold is where I'm going wrong. I get the following error; I hope that is a bit clearer.
Here what my understanding is proposal is the parent of contract so you can't use Contract__r .This __r is to refer to the parent field not th echild field .so if you have any class related to this page you can get through that and create a get/set property for that and use in VF .