Skip to main content
Jan 19, 2024 5:25 AM UTC
Solved

What is the difference between getDataValue and getPlainDataValue methods in data utility?

What is the difference between getDataValue and getPlainDataValue methods in data utility

Jan 19, 2024 5:49 AM UTC

Hi @TDT 

getDataValue returns an object named Component that is shown in the UI tables, attributes etc. generally in MVC Wizards and detail page tables.

Component object can be Label, Icon, CheckBox, ComboBox, TextArea etc... 

HelesicPetr_3-1705643110240.png

 

but Google Web Toolkit can use just String that is plainDataValue.

So getPlainDataValue is used in the GWT tables and sub tabs as a CAD Structure WTPart structure and MPMLink structure.

 

GWT environment always use the getPlainDataValue method instead of the getDataValue

HelesicPetr_1-1705643040692.png

PetrH

4 replies

Jan 19, 2024 5:49 AM UTC

Hi @TDT 

getDataValue returns an object named Component that is shown in the UI tables, attributes etc. generally in MVC Wizards and detail page tables.

Component object can be Label, Icon, CheckBox, ComboBox, TextArea etc... 

HelesicPetr_3-1705643110240.png

 

but Google Web Toolkit can use just String that is plainDataValue.

So getPlainDataValue is used in the GWT tables and sub tabs as a CAD Structure WTPart structure and MPMLink structure.

 

GWT environment always use the getPlainDataValue method instead of the getDataValue

HelesicPetr_1-1705643040692.png

PetrH

May 8, 2024 12:31 PM UTC

There has to be a work around for this in PSB.  We have WPA Process Adapter installed, and it shows icons.  Also there are two columns we have added to custom views for Change Notices and Alternates that both show icons.

SE_4597606_0-1715171440602.png

 

 

May 9, 2024 8:31 AM UTC

Hi @SE_4597606 

No there is not.

 

You can try to recompile the Google Web Toolkit package try to find configuration how the API are connected together, then customize it with own code if you found how to do so, then compile it back and try if it works.

 

Believe me you don't have time to do so.

 

PetrH