Important Update: Community URLs redirect issues are partially resolved. Learn More. .

cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Objects vs. Tabs

RonaldSteiner
Collaborator II

Folks,

We have a situation where we have a Custom Object that needs to be able to pull field values from ten tabs that are all part of one tab set. So, Tab 1 has Tab_1_Field, Tab 2 has Tab_2_Field, and so on to Tab 10 and Tab_10_Field. Each of these is a Yes/No values list. I need to check the values of all these fields regardless of which tab is open (or has been opened).

 

Is this possible? If so, does anyone have some sample code? Note that this is part of a custom button that is triggered after the page has been loaded, i.e., by user action.  

 

Thoughts?

 

Thanks,

Ron

1 REPLY 1

DavidPetty
Archer Employee
Archer Employee

Ron, being the fields aren't loaded in the browsers DOM you won't be able to get the values via the traditional way.

 

You could calculate those fields to a section that's not in a tab and go from there.  Or use the REST APIs to load the record content and parse the fields to get their values and this depends on if the record was save before hand and that the values are from a point-in-time.

 Advisory Consultant