You need to sign in to do that
Don't have an account?
Dilip_V
Dynamically Add a Configurable List of Fields to a Visualforce Page
while searching on Google about dynamic VF pages I found this blog (http://opfocus.com/blog/how-to-dynamically-add-a-configurable-list-of-fields/).
I created the custom settings and added few fields and records.But code is not working properly.
I am getting this error:
Could not resolve field 'NewOpp' from <apex:inputField> value binding '{!dummyOpp[FieldName]}' in page customsettingsvf
thanks.
I created the custom settings and added few fields and records.But code is not working properly.
I am getting this error:
Could not resolve field 'NewOpp' from <apex:inputField> value binding '{!dummyOpp[FieldName]}' in page customsettingsvf
thanks.
Your name field has value "NewOpp", as per the code you have written, it expects a opportunity field name in place of "NewOpp"
All Answers
Can you please share the complete code?
befor running code Need to create custom settings.
use a list custom setting Opportunity_Dynamic_Field_List__c which has 4 entries in it: “Name”, “CloseDate”, “Description”, and “StageName”.
Create few records in custom settings and then try the code.
Here you can find more info about that:
http://opfocus.com/blog/how-to-dynamically-add-a-configurable-list-of-fields/
Does the Issue resolved in your org.
Please let me if that is working in your org or not.
share your email address I will share my dev org credentials.
vdilipkumar7@gmail.com
Your name field has value "NewOpp", as per the code you have written, it expects a opportunity field name in place of "NewOpp"