<?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 Binding / unbinding remote properties programmatically in ThingWorx Developers</title>
    <link>https://community.ptc.com/t5/ThingWorx-Developers/Binding-unbinding-remote-properties-programmatically/m-p/521400#M16467</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried binding and unbinding some remote properties with SetRemotePropertyBinding and RemoveRemotePropertyBinding. First I thought that they didn't work because the "Properties" page on my Thing did not show the bindings. However, when I checked the local values (refreshed the page) I noticed that they changed according to the remote values. I must have tried the binding process on Thing and Template levels so many times that I cannot unbind some of the values anymore with either RemoveRemotePropertyBinding or re-binding and unbinding them from the Properties page. My questions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Why doesn't the Properties page show the bindings that are done with SetRemotePropertyBinding?&lt;/P&gt;&lt;P&gt;2) Is there any other way to unbind remote properties than the re-bind &amp;amp; unbind or RemoveRemotePropertyBinding?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Risto Vääräniemi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Nov 2015 08:45:05 GMT</pubDate>
    <dc:creator>rvaaraniemi</dc:creator>
    <dc:date>2015-11-06T08:45:05Z</dc:date>
    <item>
      <title>Binding / unbinding remote properties programmatically</title>
      <link>https://community.ptc.com/t5/ThingWorx-Developers/Binding-unbinding-remote-properties-programmatically/m-p/521400#M16467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried binding and unbinding some remote properties with SetRemotePropertyBinding and RemoveRemotePropertyBinding. First I thought that they didn't work because the "Properties" page on my Thing did not show the bindings. However, when I checked the local values (refreshed the page) I noticed that they changed according to the remote values. I must have tried the binding process on Thing and Template levels so many times that I cannot unbind some of the values anymore with either RemoveRemotePropertyBinding or re-binding and unbinding them from the Properties page. My questions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Why doesn't the Properties page show the bindings that are done with SetRemotePropertyBinding?&lt;/P&gt;&lt;P&gt;2) Is there any other way to unbind remote properties than the re-bind &amp;amp; unbind or RemoveRemotePropertyBinding?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Risto Vääräniemi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Nov 2015 08:45:05 GMT</pubDate>
      <guid>https://community.ptc.com/t5/ThingWorx-Developers/Binding-unbinding-remote-properties-programmatically/m-p/521400#M16467</guid>
      <dc:creator>rvaaraniemi</dc:creator>
      <dc:date>2015-11-06T08:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: Binding / unbinding remote properties programmatically</title>
      <link>https://community.ptc.com/t5/ThingWorx-Developers/Binding-unbinding-remote-properties-programmatically/m-p/521401#M16468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are doing it the right way, are you remembering to also invoke a RestartThing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure exactly why you are now unable to bind/unbind some, perhaps a Tomcat restart will help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Nov 2015 13:41:27 GMT</pubDate>
      <guid>https://community.ptc.com/t5/ThingWorx-Developers/Binding-unbinding-remote-properties-programmatically/m-p/521401#M16468</guid>
      <dc:creator>paic</dc:creator>
      <dc:date>2015-11-09T13:41:27Z</dc:date>
    </item>
    <item>
      <title>Re: Binding / unbinding remote properties programmatically</title>
      <link>https://community.ptc.com/t5/ThingWorx-Developers/Binding-unbinding-remote-properties-programmatically/m-p/521402#M16469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the tip. I added the RestartThing to my code just in case. It seems I have to close and re-open the thing in the composer to see the bindings. Refreshing the view does not update the binding status—only the values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I open the "Manage Bindings" I can now see the bound properties. There are also the remove binding button on each property except the problematic one. I still cannot unbind it either programmatically or manually. I restarted Tomcat but it did not help. Probably something weird in the TW platform. I'll probably need to delete the thing and re-create it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Risto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Nov 2015 09:00:26 GMT</pubDate>
      <guid>https://community.ptc.com/t5/ThingWorx-Developers/Binding-unbinding-remote-properties-programmatically/m-p/521402#M16469</guid>
      <dc:creator>rvaaraniemi</dc:creator>
      <dc:date>2015-11-10T09:00:26Z</dc:date>
    </item>
  </channel>
</rss>

