You need to sign in to do that
Don't have an account?
Joey Ho
Customize Entitlement Related List in VisualForce
Hi All,
I am having problems when I am running thi VisualForce page.
The error I am getting is "Unknown property 'AssetStandardController.entitlement'".
I am wondering if anyone has come across this problem or can identify why my code is not working?
<apex:page standardController="Asset" showHeader="true" > <apex:messages /> <apex:form > <apex:detail relatedList="false" inlineEdit="true"/> <apex:pageBlock> <apex:pageblockTable title="Entitlements" value="{!entitlement}" var="e"> <apex:column value="{!e.Name}"/> </apex:pageblockTable> </apex:pageBlock> </apex:page>
However if I was to get rid of the pageBlock code and use "<apex:relatedList list="Entitlements"/>" this works fine.????
Thanks for your help
Hi All,
It appears I've just realised my silly mistake.
The pageBlockTable simply needs to be <apex:pageblockTable title="Entitlements" value="{!asset.entitlements}" var="e">.
Thanks for your attention though!
Feel free to give me some pointers if there is any.