function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Venk_ModelMetriVenk_ModelMetri 

Reduce Maintainence for the client - Dynamic Customfields

Our client has a need to create a jsp that will update the contact information in SalesForce... Here is the challenge.

Since this is a marketing campaign, the custom fields used each month will be different. Lets say we use the WSDL2Java to generate the Java files. The contact class will contain the information of only the current Custom fields but not the future custom fields that their marketting team will create later.. (IS there a way around this?)

 

Another challenge that we are facing is looking at the Schema of the contact entity (By doing a describe call) and dynamically generate HTML based on the schema (picklist or text box or other field)

Any thoughts or suggestions would be highly appreciated.

 

Thanks

Venk

 

 

adamgadamg
For dynamic schema, you should use the Parnter WSDL. Via that API, you are correct that you will use the describe call to discover what fields are available.

Let us know if you have additional questions.