<?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: Things is not defined. in Windchill Navigate</title>
    <link>https://www.ptcusercommunity.com/t5/Windchill-Navigate/Things-is-not-defined/m-p/1011319#M1193</link>
    <description>&lt;P&gt;Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/725136"&gt;@Socka_HW&lt;/a&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank you for your question.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Your post appears well documented but has not yet received any response. I am replying to raise awareness. Hopefully, another community member will be able to help.&lt;BR /&gt;&lt;BR /&gt;Also, feel free to add any additional information you think might be relevant. It sometimes helps to have screenshots to better understand what you are trying to do.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;</description>
    <pubDate>Thu, 17 Apr 2025 14:48:46 GMT</pubDate>
    <dc:creator>Catalina</dc:creator>
    <dc:date>2025-04-17T14:48:46Z</dc:date>
    <item>
      <title>Things is not defined.</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Navigate/Things-is-not-defined/m-p/1010489#M1190</link>
      <description>&lt;P&gt;In an Expressions function: ExistentPTO in a Mashup X,&lt;/P&gt;&lt;P&gt;I have a need to evaluate the payload on a call to a route (from another project: ToolB).&lt;/P&gt;&lt;P&gt;response = Things["ToolB.v6DocMgmt"].getDocuments({&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;});&lt;/P&gt;&lt;P&gt;if (JSON.stringify(response)[value] == []) {&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; output = "Not a good number";&lt;/P&gt;&lt;P&gt;} else output = &amp;lt;target mashup name&amp;gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When viewing the mashup, i get this in the logs:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;19:06:28 WARN - Evaluation of expression "ExistentPTO" Failed. Things is not defined&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can I NOT use Things within an Expression function? How do i refer to a Thing in another project?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 13 Apr 2025 00:09:15 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Navigate/Things-is-not-defined/m-p/1010489#M1190</guid>
      <dc:creator>Socka_HW</dc:creator>
      <dc:date>2025-04-13T00:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: Things is not defined.</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Navigate/Things-is-not-defined/m-p/1011319#M1193</link>
      <description>&lt;P&gt;Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/725136"&gt;@Socka_HW&lt;/a&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank you for your question.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Your post appears well documented but has not yet received any response. I am replying to raise awareness. Hopefully, another community member will be able to help.&lt;BR /&gt;&lt;BR /&gt;Also, feel free to add any additional information you think might be relevant. It sometimes helps to have screenshots to better understand what you are trying to do.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;</description>
      <pubDate>Thu, 17 Apr 2025 14:48:46 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Navigate/Things-is-not-defined/m-p/1011319#M1193</guid>
      <dc:creator>Catalina</dc:creator>
      <dc:date>2025-04-17T14:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: Things is not defined.</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Navigate/Things-is-not-defined/m-p/1011980#M1199</link>
      <description>&lt;P&gt;Expressions are executed on the "client" side (the user's browser) meaning you only have access to Expression inputs that you feed in and some items that are part of the browser. Whereas Services (defined on a Thing) run on the actual Thingworx server, so they can access your Thingworx model.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It sounds like you may want to create a Service to perform the desired function and call it from your mashup.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Apr 2025 14:43:19 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Navigate/Things-is-not-defined/m-p/1011980#M1199</guid>
      <dc:creator>Ascherer17</dc:creator>
      <dc:date>2025-04-22T14:43:19Z</dc:date>
    </item>
    <item>
      <title>Re: Things is not defined.</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Navigate/Things-is-not-defined/m-p/1037018#M1243</link>
      <description>&lt;P&gt;I created a Service (with the desired functionality) and called it from my Mashup..&lt;BR /&gt;All is well ...&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Oct 2025 15:23:21 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Navigate/Things-is-not-defined/m-p/1037018#M1243</guid>
      <dc:creator>Socka_HW</dc:creator>
      <dc:date>2025-10-06T15:23:21Z</dc:date>
    </item>
  </channel>
</rss>

