You need to sign in to do that
Don't have an account?
anu123
creating picklist field name and values under particular object.
Hi all,
i create the vf page for displaying all objects in picklist form.next i want to select one object and palce two fields like name, value.(name is the picklistfield name and values are the picklist value created under the selected object).any one can u please help me.
thanks in advance.
anu
Hi Anu,
This is combined with your previous post. After getting the object you need to get the fields of selected object. Am I correct with your requirment?
If correct, you can get help from following code. There You can type the object name and get fields.
I hope this will be helped you to resolve your problem.
If a reply to a post answers your question or resolves your problem, please mark it as the solution to the post so that others may benefit.
Chamil's Blog
Hi chamli,
Thank u for ur reply.But my requirement is create the pick list field name and its values under the selected object through vf page.for example i select the object like account and place two field in vf page .one is for pick list field name and another one is for entering picklist values.after click on save the picklist field is created under the account objece.Please send send me the sample code.
Thanks in advance
anu
HI,
That mean ,you want to create picklist field with values in apex code. Isn't it?
Hi ,
Thank u so much for ur reply.
Ya Exactly same what u said in previous post.i want to enter the picklist field name and its values in vf page under selected object. that field will be created under that selected object.please send me the sample code.
Thanks in advance.
anu