<?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: Search for Drawings with changed Lifecycle state via REST Endpoint in Windchill Customization</title>
    <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Search-for-Drawings-with-changed-Lifecycle-state-via-REST/m-p/972655#M8718</link>
    <description>&lt;P&gt;It can be done without customisation using InvokeIETask to invoke a ExecuteReportTemplate task.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Create a report using the query builder and define parameters to filter for the date, then execute the report via REST.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Endpoint:&amp;nbsp;Windchill/servlet/odata/v1/IE/InvokeIETask&lt;/P&gt;&lt;P&gt;Task:&amp;nbsp;com/ptc/windchill/enterprise/report/ExecuteReportTemplate2.xml&lt;/P&gt;&lt;P&gt;Body E.g.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"Value":"wt.query.template.ReportTemplate:664683966",&lt;BR /&gt;"Name":"object_ref"&lt;BR /&gt;}, {&lt;BR /&gt;"Value":"cname=" + searchString,&lt;BR /&gt;"Name":"input"&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;where cname is the name of parameter mapped to criteria in Query builder report&lt;/P&gt;</description>
    <pubDate>Fri, 20 Sep 2024 07:59:12 GMT</pubDate>
    <dc:creator>rhart</dc:creator>
    <dc:date>2024-09-20T07:59:12Z</dc:date>
    <item>
      <title>Search for Drawings with changed Lifecycle state via REST Endpoint</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Search-for-Drawings-with-changed-Lifecycle-state-via-REST/m-p/972087#M8706</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to get a List of .drw who changed the lifecycle state within the last 24 h. There is a restriction to get the information via REST Endpoint.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used the PTC CAD Document management with GET CADDocuments. I tried to use the filter for the LastModified date. But there is no impact of a changed Lifecycle state to the Last modified date.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any Ideas how i can filter for objects who changed their lifecycle state in a range of time?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2024 10:55:12 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Search-for-Drawings-with-changed-Lifecycle-state-via-REST/m-p/972087#M8706</guid>
      <dc:creator>DK_9661096</dc:creator>
      <dc:date>2024-09-18T10:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: Search for Drawings with changed Lifecycle state via REST Endpoint</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Search-for-Drawings-with-changed-Lifecycle-state-via-REST/m-p/972655#M8718</link>
      <description>&lt;P&gt;It can be done without customisation using InvokeIETask to invoke a ExecuteReportTemplate task.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Create a report using the query builder and define parameters to filter for the date, then execute the report via REST.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Endpoint:&amp;nbsp;Windchill/servlet/odata/v1/IE/InvokeIETask&lt;/P&gt;&lt;P&gt;Task:&amp;nbsp;com/ptc/windchill/enterprise/report/ExecuteReportTemplate2.xml&lt;/P&gt;&lt;P&gt;Body E.g.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"Value":"wt.query.template.ReportTemplate:664683966",&lt;BR /&gt;"Name":"object_ref"&lt;BR /&gt;}, {&lt;BR /&gt;"Value":"cname=" + searchString,&lt;BR /&gt;"Name":"input"&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;where cname is the name of parameter mapped to criteria in Query builder report&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2024 07:59:12 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Search-for-Drawings-with-changed-Lifecycle-state-via-REST/m-p/972655#M8718</guid>
      <dc:creator>rhart</dc:creator>
      <dc:date>2024-09-20T07:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: Search for Drawings with changed Lifecycle state via REST Endpoint</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Search-for-Drawings-with-changed-Lifecycle-state-via-REST/m-p/972715#M8721</link>
      <description>&lt;P&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/205208"&gt;@rhart&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would recommend same way. use report template and query builder to define own collection of objects and call it by the API&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for example I use&amp;nbsp;ExecuteReportTemplate&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.ptc.com/en/support/article/CS426939" target="_blank" rel="noopener"&gt;CS426939 - ow to specify date criteria in Windchill REST Services call to the ExecuteReportTemplate action in Windchill PDMLink&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.ptc.com/en/support/article/CS426220" target="_blank" rel="noopener"&gt;CS426220 - How to specify multiple values as criteria in the body of the Windchill REST Services ExecuteReportTemplate action in Windchill PDMLink&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.ptc.com/help/windchill_rest_services/r2.4/en/index.html#page/windchill_rest_services/example_reporting_executereporttemplate.html" target="_blank" rel="noopener"&gt;Example: Viewing the output of Report Template execution&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PetrH&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2024 08:33:52 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Search-for-Drawings-with-changed-Lifecycle-state-via-REST/m-p/972715#M8721</guid>
      <dc:creator>HelesicPetr</dc:creator>
      <dc:date>2024-09-20T08:33:52Z</dc:date>
    </item>
  </channel>
</rss>

