+ Start a Discussion
Gowkanapalli JanardhanreddyGowkanapalli Janardhanreddy 

How to add custom field in Managed package in test org?

HI  Team,

I have one query in managed package , i developed one object for custom page in that page i add one custom button ,when user click that button i want add one custom field how is it can help any one?
Shashikant SharmaShashikant Sharma
Not clear on the qustion do you want to show a custom field out side of managed package on your visualforce page. Where visualforce page is in managed package ? If that is your question then :

1. You have to use dynamic programing , you could use field sets in the VFP and make a dynamic query if Apex if needed like 
Field Set Examples : http://forceschool.blogspot.in/search/label/Dynamic%20Binding
String SOQLString  = build your query from fields in fields set'
List<Sobject> listObj = Database.execute(SOQLString);