+ Start a Discussion
salesforce1587salesforce1587 

Dynamically displaying fields on visulaforce page created by system administrator.

Hi,

I need some guidance for the following scenario.

The application will be a managed package app.

The app is packaged and installed in subscriber A's org. Now the subscriber wants to add 2 fields to the object A [included in package].
System Administrator create fields in object A. But how will the fields show up on a visual force page dynamically without changing the code.

For now, I'm trying with salesforce filedsets.

Is there any other way we can achieve this or a better solution?

Any help or guidance would be appreciated.

Regards,

Neha

Rahul SharmaRahul Sharma
Hi Neha,

A option would be to use custom settings for storing the field Api names of the fields.
But I think, Fields-sets is best solution as per your requirement.
salesforce1587salesforce1587

Hi Rahul,

 

Thank you very much for your quick response.

 

Field Sets is marked as beta in production. I understand that we had this feature available from API version 21.0 and above.

I would like to find out what new feature is added to the Field Sets for this release that is marked as beta.

I'm not able to spot any difference as I'm using this feature for the first time and also the online helps does not guide me much of the new additions.

 

Do you have any idea on this or where can I look for this enhancement?

 

Can you elaborate a bit more on custom settings? 

By storing the fileds API name in custom settings how can we display that on visualforce page.

 

I'll also investigate using custom settings.

 

Thank you for your suggestion. :)

 

Regards,

Neha