You need to sign in to do that
Don't have an account?
Michael Schell
Custom field not showing on VF page
I've created a custom field on a custom object that I'm referencing on my VF page and its not showing up. I basically had a field there that i've re-created with the same field level security and view field accesiblity but for the life of me, can't figure out why the original field works and this one will not. Anything else I can check? I'm not receiving an error in VF so I know the field is referenced correct, has to be some setting?
Field that works: {!rfp.Order__r.Customer__r.Name}
Field not working: {!rfp.Order__r.Customer__r.Customer__r.Co_Op_Name__c}
Any thoughts would be much appreciated, thank you.
Field that works: {!rfp.Order__r.Customer__r.Name}
Field not working: {!rfp.Order__r.Customer__r.Customer__r.Co_Op_Name__c}
Any thoughts would be much appreciated, thank you.
Thanks
Pradeep
Mark this answer solved if this helps.
// Grab all fields for Account (Customer).
Map fieldsAccountMap = Schema.SObjectType.Account.fields.getMap();
for( String key : fieldsAccountMap.keySet() ) {
proposalFields += ',Order__r.Customer__r.' + key;
proposalFields += ',Vendor__r.Account.' + key;
}