Skip to main content
16-Pearl
January 19, 2024
Solved

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

  • January 19, 2024
  • 1 reply
  • 1926 views

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

Best answer by HelesicPetr

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

1 reply

HelesicPetr
22-Sapphire II
22-Sapphire II
January 19, 2024

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

7-Bedrock
May 8, 2024

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

 

 

HelesicPetr
22-Sapphire II
22-Sapphire II
May 9, 2024

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