<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: What is the difference between getDataValue and getPlainDataValue methods in data utility? in Windchill Customization</title>
    <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/What-is-the-difference-between-getDataValue-and/m-p/924781#M342</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/692827"&gt;@TDT&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;getDataValue returns an object named Component that is shown in the UI tables, attributes etc. generally in MVC Wizards and detail page tables.&lt;/P&gt;
&lt;P&gt;Component object can be Label, Icon, CheckBox, ComboBox, TextArea etc...&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HelesicPetr_3-1705643110240.png" style="width: 720px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/96600iCA49C8E541D88016/image-dimensions/720x448?v=v2" width="720" height="448" role="button" title="HelesicPetr_3-1705643110240.png" alt="HelesicPetr_3-1705643110240.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;but Google Web Toolkit can use just String that is plainDataValue.&lt;/P&gt;
&lt;P&gt;So getPlainDataValue is used in the GWT tables and sub tabs as a CAD Structure WTPart structure and MPMLink structure.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;GWT environment always use the getPlainDataValue method instead of&amp;nbsp;the getDataValue&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HelesicPetr_1-1705643040692.png" style="width: 1013px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/96598i0B77095AD9F1CBD2/image-dimensions/1013x342?v=v2" width="1013" height="342" role="button" title="HelesicPetr_1-1705643040692.png" alt="HelesicPetr_1-1705643040692.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;PetrH&lt;/P&gt;</description>
    <pubDate>Fri, 19 Jan 2024 12:52:04 GMT</pubDate>
    <dc:creator>HelesicPetr</dc:creator>
    <dc:date>2024-01-19T12:52:04Z</dc:date>
    <item>
      <title>What is the difference between getDataValue and getPlainDataValue methods in data utility?</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/What-is-the-difference-between-getDataValue-and/m-p/924771#M341</link>
      <description>&lt;P&gt;What is the difference between getDataValue and getPlainDataValue methods in data utility&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2024 13:47:10 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/What-is-the-difference-between-getDataValue-and/m-p/924771#M341</guid>
      <dc:creator>TDT</dc:creator>
      <dc:date>2024-03-15T13:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: What is the difference between getDataValue and getPlainDataValue methods in data utility?</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/What-is-the-difference-between-getDataValue-and/m-p/924781#M342</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/692827"&gt;@TDT&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;getDataValue returns an object named Component that is shown in the UI tables, attributes etc. generally in MVC Wizards and detail page tables.&lt;/P&gt;
&lt;P&gt;Component object can be Label, Icon, CheckBox, ComboBox, TextArea etc...&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HelesicPetr_3-1705643110240.png" style="width: 720px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/96600iCA49C8E541D88016/image-dimensions/720x448?v=v2" width="720" height="448" role="button" title="HelesicPetr_3-1705643110240.png" alt="HelesicPetr_3-1705643110240.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;but Google Web Toolkit can use just String that is plainDataValue.&lt;/P&gt;
&lt;P&gt;So getPlainDataValue is used in the GWT tables and sub tabs as a CAD Structure WTPart structure and MPMLink structure.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;GWT environment always use the getPlainDataValue method instead of&amp;nbsp;the getDataValue&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HelesicPetr_1-1705643040692.png" style="width: 1013px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/96598i0B77095AD9F1CBD2/image-dimensions/1013x342?v=v2" width="1013" height="342" role="button" title="HelesicPetr_1-1705643040692.png" alt="HelesicPetr_1-1705643040692.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;PetrH&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jan 2024 12:52:04 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/What-is-the-difference-between-getDataValue-and/m-p/924781#M342</guid>
      <dc:creator>HelesicPetr</dc:creator>
      <dc:date>2024-01-19T12:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: What is the difference between getDataValue and getPlainDataValue methods in data utility?</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/What-is-the-difference-between-getDataValue-and/m-p/948398#M8017</link>
      <description>&lt;P&gt;There has to be a work around for this in PSB.&amp;nbsp; We have WPA Process Adapter installed, and it shows icons.&amp;nbsp; Also there are two columns we have added to custom views for Change Notices and Alternates that both show icons.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SE_4597606_0-1715171440602.png" style="width: 999px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/103827i4D62B2752E034C0C/image-size/large?v=v2&amp;amp;px=999" role="button" title="SE_4597606_0-1715171440602.png" alt="SE_4597606_0-1715171440602.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2024 13:36:13 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/What-is-the-difference-between-getDataValue-and/m-p/948398#M8017</guid>
      <dc:creator>SE_4597606</dc:creator>
      <dc:date>2024-05-08T13:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: What is the difference between getDataValue and getPlainDataValue methods in data utility?</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/What-is-the-difference-between-getDataValue-and/m-p/948564#M8018</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/826940"&gt;@SE_4597606&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;No there is not.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Believe me you don't have time to do so.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PetrH&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2024 08:31:13 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/What-is-the-difference-between-getDataValue-and/m-p/948564#M8018</guid>
      <dc:creator>HelesicPetr</dc:creator>
      <dc:date>2024-05-09T08:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: What is the difference between getDataValue and getPlainDataValue methods in data utility?</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/What-is-the-difference-between-getDataValue-and/m-p/948598#M8019</link>
      <description>&lt;P&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/826940"&gt;@SE_4597606&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PS:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can try following code with jsonObject for icon,, but it works only in GWT Attribute Tab, it does not work in GWT structure table. Table always shows the full string...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="java"&gt;JSONObject jsonObject = new JSONObject();
WTProperties wtproperties = null;
wtproperties = WTProperties.getServerProperties();
String httpAdress = wtproperties.getProperty("wt.server.codebase");
jsonObject.put("type", "icon");
jsonObject.put("iconPath", httpAdress + "/netmarkets/images/myIcon.png"); // nakopirovat 70:32 pixelu
jsonObject.put("tooltip", "My label");
jsonObject.put("label", "My label");
jsonObject.put("target", "_top");
jsonObject.put("link", url);

return jsonObject.toJSONString();&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PetrH&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2024 10:35:52 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/What-is-the-difference-between-getDataValue-and/m-p/948598#M8019</guid>
      <dc:creator>HelesicPetr</dc:creator>
      <dc:date>2024-05-09T10:35:52Z</dc:date>
    </item>
  </channel>
</rss>

