<?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: Hide an attribute on layout customization? in Windchill Customization</title>
    <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Hide-an-attribute-on-layout-customization/m-p/431556#M1609</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.ptc.com/u1/373538"&gt;Anas Bennis&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is ok if we make second attribute non-editable on editable and it depends on first attribute value we select?&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;IMG alt="IBA Not Editable.jpg" class="jive-image image-1" src="https://community.ptc.com/legacyfs/online/111414_IBA Not Editable.jpg" style="height: 343px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I remember I had done something like this in recent past. If that is ok for you I can again give it a try and share my findings.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shirish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Jan 2017 19:22:12 GMT</pubDate>
    <dc:creator>ShirishMorkhade</dc:creator>
    <dc:date>2017-01-31T19:22:12Z</dc:date>
    <item>
      <title>Hide an attribute on layout customization?</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Hide-an-attribute-on-layout-customization/m-p/431553#M1606</link>
      <description>Hello everyone,I have to hide an attribute on a layout when another attribute change the value.for exemple :Attribute A : booleanAttribue B : StringIf attribute A is false, Attribute B is hidden on the layout.Thanks,A.B</description>
      <pubDate>Fri, 15 Mar 2024 14:57:27 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Hide-an-attribute-on-layout-customization/m-p/431553#M1606</guid>
      <dc:creator>abennis</dc:creator>
      <dc:date>2024-03-15T14:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: Hide an attribute on layout customization?</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Hide-an-attribute-on-layout-customization/m-p/431554#M1607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you can't hide attribute, but you can make Attribute 2 not editable thanks Data Utility.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2017 18:02:01 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Hide-an-attribute-on-layout-customization/m-p/431554#M1607</guid>
      <dc:creator>pwolski</dc:creator>
      <dc:date>2017-01-25T18:02:01Z</dc:date>
    </item>
    <item>
      <title>Re: Hide an attribute on layout customization?</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Hide-an-attribute-on-layout-customization/m-p/431555#M1608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for you reply &lt;IMG src="https://community.ptc.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;P&gt;I found out a method preValidateAttribute in DefaultUIComponentValidator, i found no documentation about that. But i will try to use this validator on my attribute.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2017 13:21:31 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Hide-an-attribute-on-layout-customization/m-p/431555#M1608</guid>
      <dc:creator>abennis</dc:creator>
      <dc:date>2017-01-26T13:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: Hide an attribute on layout customization?</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Hide-an-attribute-on-layout-customization/m-p/431556#M1609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.ptc.com/u1/373538"&gt;Anas Bennis&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is ok if we make second attribute non-editable on editable and it depends on first attribute value we select?&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;IMG alt="IBA Not Editable.jpg" class="jive-image image-1" src="https://community.ptc.com/legacyfs/online/111414_IBA Not Editable.jpg" style="height: 343px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I remember I had done something like this in recent past. If that is ok for you I can again give it a try and share my findings.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shirish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jan 2017 19:22:12 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Hide-an-attribute-on-layout-customization/m-p/431556#M1609</guid>
      <dc:creator>ShirishMorkhade</dc:creator>
      <dc:date>2017-01-31T19:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: Hide an attribute on layout customization?</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Hide-an-attribute-on-layout-customization/m-p/888436#M1610</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/238755"&gt;@ShirishMorkhade&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you explain me how you did that?&amp;nbsp;&lt;/P&gt;&lt;P&gt;It'll help me a lot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2023 05:20:12 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Hide-an-attribute-on-layout-customization/m-p/888436#M1610</guid>
      <dc:creator>Mehmet_Ozdemir</dc:creator>
      <dc:date>2023-07-20T05:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: Hide an attribute on layout customization?</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Hide-an-attribute-on-layout-customization/m-p/888506#M1611</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/648970"&gt;@Mehmet_Ozdemir&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I believe that there are many ways how to do so.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One is to use js scripts to change the attribute input field properties as a hidden, disabled and so on.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;All you can done in JSP pages of your wizard.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;example of the checkbox&amp;nbsp;&lt;/P&gt;
&lt;P&gt;it reacts on a mouse click&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;&amp;lt;wrap:checkBox name="CADDocument" id="CADDocument" label="CAD Document" renderLabel="true"
renderExtra="enabled"
renderLabelOnRight="true" checked="true" onclick="defineCADType('CADDocument')"/&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;example of the script&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;&amp;lt;script type="text/javascript"&amp;gt;
    function defineCADType(buttonPushed) {
        var checked =document.getElementById('CADDocument').checked;
    if (checked !== true)
     {
      document.getElementById('prt').hidden = true;
      document.getElementById('asm').hidden = true;
      document.getElementById('drw').hidden = true;
        }else{
          document.getElementById('prt').hidden = false;
          document.getElementById('asm').hidden = false;
          document.getElementById('drw').hidden = false;
        }
    }
&amp;lt;/script&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;in your case you can set onChange event on a textbox&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PetrH&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2023 10:19:26 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Hide-an-attribute-on-layout-customization/m-p/888506#M1611</guid>
      <dc:creator>HelesicPetr</dc:creator>
      <dc:date>2023-07-20T10:19:26Z</dc:date>
    </item>
  </channel>
</rss>

