<?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: Reset thing property value to default value in ThingWorx Developers</title>
    <link>https://community.ptc.com/t5/ThingWorx-Developers/Reset-thing-property-value-to-default-value/m-p/816619#M59401</link>
    <description>&lt;P&gt;&lt;a href="https://community.ptc.com/t5/user/viewprofilepage/user-id/365375"&gt;@SB_9732186&lt;/a&gt;&amp;nbsp;service&amp;nbsp;GetMetadataAsJSON will also return the default value - &lt;U&gt;if a default value was specified&lt;/U&gt; in the property definition.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I also have no idea on how to reset the property to "nothing".&lt;/P&gt;</description>
    <pubDate>Thu, 01 Sep 2022 21:36:19 GMT</pubDate>
    <dc:creator>nmutter</dc:creator>
    <dc:date>2022-09-01T21:36:19Z</dc:date>
    <item>
      <title>Reset thing property value to default value</title>
      <link>https://community.ptc.com/t5/ThingWorx-Developers/Reset-thing-property-value-to-default-value/m-p/806937#M58872</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to reset all the properties of a thing to respective default values, how can this be done?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sujith&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2022 11:12:37 GMT</pubDate>
      <guid>https://community.ptc.com/t5/ThingWorx-Developers/Reset-thing-property-value-to-default-value/m-p/806937#M58872</guid>
      <dc:creator>SB_9732186</dc:creator>
      <dc:date>2022-07-14T11:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: Reset thing property value to default value</title>
      <link>https://community.ptc.com/t5/ThingWorx-Developers/Reset-thing-property-value-to-default-value/m-p/807017#M58873</link>
      <description>&lt;P&gt;With a service, you would have to pull the Property definitions and then find the 'default value' aspect.&lt;/P&gt;
&lt;P&gt;Then assign that to the property value&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I imagine you don't want to delete and recreate the Thing(s)&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2022 15:41:54 GMT</pubDate>
      <guid>https://community.ptc.com/t5/ThingWorx-Developers/Reset-thing-property-value-to-default-value/m-p/807017#M58873</guid>
      <dc:creator>PaiChung</dc:creator>
      <dc:date>2022-07-14T15:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: Reset thing property value to default value</title>
      <link>https://community.ptc.com/t5/ThingWorx-Developers/Reset-thing-property-value-to-default-value/m-p/807172#M58885</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how can one set a property of type "number" back to nothing (so that "set value" will be displayed)? I tried setting it to null and undefined but that didn't work. The workaround was to set it to 0, but that is not optimal for what I'm trying to achieve&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jul 2022 06:46:01 GMT</pubDate>
      <guid>https://community.ptc.com/t5/ThingWorx-Developers/Reset-thing-property-value-to-default-value/m-p/807172#M58885</guid>
      <dc:creator>HD_10225728</dc:creator>
      <dc:date>2022-07-15T06:46:01Z</dc:date>
    </item>
    <item>
      <title>Re: Reset thing property value to default value</title>
      <link>https://community.ptc.com/t5/ThingWorx-Developers/Reset-thing-property-value-to-default-value/m-p/807329#M58894</link>
      <description>&lt;P&gt;unfortunately if setting to null or undefined doesn't work, then I don't know either.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jul 2022 18:05:31 GMT</pubDate>
      <guid>https://community.ptc.com/t5/ThingWorx-Developers/Reset-thing-property-value-to-default-value/m-p/807329#M58894</guid>
      <dc:creator>PaiChung</dc:creator>
      <dc:date>2022-07-15T18:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: Reset thing property value to default value</title>
      <link>https://community.ptc.com/t5/ThingWorx-Developers/Reset-thing-property-value-to-default-value/m-p/807493#M58909</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.ptc.com/t5/user/viewprofilepage/user-id/271365"&gt;@PaiChung&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I fetch the Property Definitions with Default value aspect, because the service GetPropertyDefinitions gives me only these fields:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SB_9732186_0-1658152746370.png" style="width: 400px;"&gt;&lt;img src="https://community.ptc.com/t5/image/serverpage/image-id/60175iC882EC3FE517BC77/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SB_9732186_0-1658152746370.png" alt="SB_9732186_0-1658152746370.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;TWX 9.2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sujith&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2022 13:59:28 GMT</pubDate>
      <guid>https://community.ptc.com/t5/ThingWorx-Developers/Reset-thing-property-value-to-default-value/m-p/807493#M58909</guid>
      <dc:creator>SB_9732186</dc:creator>
      <dc:date>2022-07-18T13:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: Reset thing property value to default value</title>
      <link>https://community.ptc.com/t5/ThingWorx-Developers/Reset-thing-property-value-to-default-value/m-p/807499#M58911</link>
      <description>&lt;P&gt;Follow up with specific getpropertydefinition should give you more.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2022 14:29:22 GMT</pubDate>
      <guid>https://community.ptc.com/t5/ThingWorx-Developers/Reset-thing-property-value-to-default-value/m-p/807499#M58911</guid>
      <dc:creator>PaiChung</dc:creator>
      <dc:date>2022-07-18T14:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: Reset thing property value to default value</title>
      <link>https://community.ptc.com/t5/ThingWorx-Developers/Reset-thing-property-value-to-default-value/m-p/807507#M58912</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.ptc.com/t5/user/viewprofilepage/user-id/271365"&gt;@PaiChung&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;GetPropertyDefinition gives the same fields as well,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sujith&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2022 15:01:35 GMT</pubDate>
      <guid>https://community.ptc.com/t5/ThingWorx-Developers/Reset-thing-property-value-to-default-value/m-p/807507#M58912</guid>
      <dc:creator>SB_9732186</dc:creator>
      <dc:date>2022-07-18T15:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: Reset thing property value to default value</title>
      <link>https://community.ptc.com/t5/ThingWorx-Developers/Reset-thing-property-value-to-default-value/m-p/807508#M58913</link>
      <description>&lt;P&gt;Maybe you cut off some of the columns, isn't there an 'aspects' column? That would hold the information in regards to default value I believe.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2022 15:03:09 GMT</pubDate>
      <guid>https://community.ptc.com/t5/ThingWorx-Developers/Reset-thing-property-value-to-default-value/m-p/807508#M58913</guid>
      <dc:creator>PaiChung</dc:creator>
      <dc:date>2022-07-18T15:03:09Z</dc:date>
    </item>
    <item>
      <title>Re: Reset thing property value to default value</title>
      <link>https://community.ptc.com/t5/ThingWorx-Developers/Reset-thing-property-value-to-default-value/m-p/808177#M58952</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.ptc.com/t5/user/viewprofilepage/user-id/271365"&gt;@PaiChung&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are no columns to cut off, only these many columns are available.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SB_9732186_0-1658377275116.png" style="width: 400px;"&gt;&lt;img src="https://community.ptc.com/t5/image/serverpage/image-id/60398iA828B28CDDCDB970/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SB_9732186_0-1658377275116.png" alt="SB_9732186_0-1658377275116.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sujith&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2022 04:21:31 GMT</pubDate>
      <guid>https://community.ptc.com/t5/ThingWorx-Developers/Reset-thing-property-value-to-default-value/m-p/808177#M58952</guid>
      <dc:creator>SB_9732186</dc:creator>
      <dc:date>2022-07-21T04:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: Reset thing property value to default value</title>
      <link>https://community.ptc.com/t5/ThingWorx-Developers/Reset-thing-property-value-to-default-value/m-p/808314#M58969</link>
      <description>&lt;P&gt;I just went back to check and indeed ... it seems a whole lot of information is no longer supplied by GetPropertyDefinition&lt;/P&gt;
&lt;P&gt;Not too sure what service to use anymore, I apologize.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2022 14:51:59 GMT</pubDate>
      <guid>https://community.ptc.com/t5/ThingWorx-Developers/Reset-thing-property-value-to-default-value/m-p/808314#M58969</guid>
      <dc:creator>PaiChung</dc:creator>
      <dc:date>2022-07-21T14:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: Reset thing property value to default value</title>
      <link>https://community.ptc.com/t5/ThingWorx-Developers/Reset-thing-property-value-to-default-value/m-p/814431#M59289</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone else has a solution for this?&lt;/P&gt;&lt;P&gt;Or do I have to raise a case?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sujith&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 10:17:26 GMT</pubDate>
      <guid>https://community.ptc.com/t5/ThingWorx-Developers/Reset-thing-property-value-to-default-value/m-p/814431#M59289</guid>
      <dc:creator>SB_9732186</dc:creator>
      <dc:date>2022-08-22T10:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: Reset thing property value to default value</title>
      <link>https://community.ptc.com/t5/ThingWorx-Developers/Reset-thing-property-value-to-default-value/m-p/816619#M59401</link>
      <description>&lt;P&gt;&lt;a href="https://community.ptc.com/t5/user/viewprofilepage/user-id/365375"&gt;@SB_9732186&lt;/a&gt;&amp;nbsp;service&amp;nbsp;GetMetadataAsJSON will also return the default value - &lt;U&gt;if a default value was specified&lt;/U&gt; in the property definition.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I also have no idea on how to reset the property to "nothing".&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2022 21:36:19 GMT</pubDate>
      <guid>https://community.ptc.com/t5/ThingWorx-Developers/Reset-thing-property-value-to-default-value/m-p/816619#M59401</guid>
      <dc:creator>nmutter</dc:creator>
      <dc:date>2022-09-01T21:36:19Z</dc:date>
    </item>
    <item>
      <title>Re: Reset thing property value to default value</title>
      <link>https://community.ptc.com/t5/ThingWorx-Developers/Reset-thing-property-value-to-default-value/m-p/821501#M59404</link>
      <description>&lt;P&gt;(cannot edit last post for some reason)&lt;/P&gt;&lt;P&gt;Or just GetMetadata or via &lt;A href="https://community.ptc.com/t5/ThingWorx-Developers/How-to-get-unit-value-definde-in-property-from-Mashup/td-p/524068#" target="_blank" rel="noopener"&gt;GetPropertyValues (also has default value)&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 03 Sep 2022 10:34:53 GMT</pubDate>
      <guid>https://community.ptc.com/t5/ThingWorx-Developers/Reset-thing-property-value-to-default-value/m-p/821501#M59404</guid>
      <dc:creator>nmutter</dc:creator>
      <dc:date>2022-09-03T10:34:53Z</dc:date>
    </item>
  </channel>
</rss>

