<?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: Can we get datatable values from thingworx to java with Edge SDK without service in ThingWorx Developers</title>
    <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Can-we-get-datatable-values-from-thingworx-to-java-with-Edge-SDK/m-p/512354#M9230</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.thingworx.com/u1/12803"&gt;Kedar Borkar&lt;/A&gt;​, It is not possible to read Data from DataTable without a Service. There are inbuilt Services in ThingWorx Platform to read and write entries from/to DataTable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Feb 2017 14:42:47 GMT</pubDate>
    <dc:creator>ankigupta</dc:creator>
    <dc:date>2017-02-08T14:42:47Z</dc:date>
    <item>
      <title>Can we get datatable values from thingworx to java with Edge SDK without service</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Can-we-get-datatable-values-from-thingworx-to-java-with-Edge-SDK/m-p/512352#M9228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;i have java code in which i have connected to thingworx through appkey and i want to access data table values without service is it possible to retrive values without services?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2017 14:04:42 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Can-we-get-datatable-values-from-thingworx-to-java-with-Edge-SDK/m-p/512352#M9228</guid>
      <dc:creator>kborkar</dc:creator>
      <dc:date>2017-02-08T14:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: Can we get datatable values from thingworx to java with Edge SDK without service</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Can-we-get-datatable-values-from-thingworx-to-java-with-Edge-SDK/m-p/512353#M9229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kedar, you could test this by making a REST call from your Java code - though that will also use the service from the DataTable to get the values. Have you already tried that? Else any reason why you don't want to create a service for this? Any specific use case?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2017 14:26:35 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Can-we-get-datatable-values-from-thingworx-to-java-with-Edge-SDK/m-p/512353#M9229</guid>
      <dc:creator>supandey</dc:creator>
      <dc:date>2017-02-08T14:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: Can we get datatable values from thingworx to java with Edge SDK without service</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Can-we-get-datatable-values-from-thingworx-to-java-with-Edge-SDK/m-p/512354#M9230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.thingworx.com/u1/12803"&gt;Kedar Borkar&lt;/A&gt;​, It is not possible to read Data from DataTable without a Service. There are inbuilt Services in ThingWorx Platform to read and write entries from/to DataTable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2017 14:42:47 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Can-we-get-datatable-values-from-thingworx-to-java-with-Edge-SDK/m-p/512354#M9230</guid>
      <dc:creator>ankigupta</dc:creator>
      <dc:date>2017-02-08T14:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: Can we get datatable values from thingworx to java with Edge SDK without service</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Can-we-get-datatable-values-from-thingworx-to-java-with-Edge-SDK/m-p/512355#M9231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I will try with that no specific use case just want to know whether it is possible or not.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2017 04:09:31 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Can-we-get-datatable-values-from-thingworx-to-java-with-Edge-SDK/m-p/512355#M9231</guid>
      <dc:creator>kborkar</dc:creator>
      <dc:date>2017-02-09T04:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: Can we get datatable values from thingworx to java with Edge SDK without service</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Can-we-get-datatable-values-from-thingworx-to-java-with-Edge-SDK/m-p/512356#M9232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay i will try with invoking Services for reading and writing entries.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2017 04:10:34 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Can-we-get-datatable-values-from-thingworx-to-java-with-Edge-SDK/m-p/512356#M9232</guid>
      <dc:creator>kborkar</dc:creator>
      <dc:date>2017-02-09T04:10:34Z</dc:date>
    </item>
    <item>
      <title>Re: Can we get datatable values from thingworx to java with Edge SDK without service</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Can-we-get-datatable-values-from-thingworx-to-java-with-Edge-SDK/m-p/512357#M9233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tried calling service for getDataTableEntries and updateDataTableEntries and i am able to get and set values through java edge sdk.&lt;/P&gt;&lt;P&gt;Thanks for immidiate responses.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2017 05:49:22 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Can-we-get-datatable-values-from-thingworx-to-java-with-Edge-SDK/m-p/512357#M9233</guid>
      <dc:creator>kborkar</dc:creator>
      <dc:date>2017-02-09T05:49:22Z</dc:date>
    </item>
    <item>
      <title>Re: Can we get datatable values from thingworx to java with Edge SDK without service</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Can-we-get-datatable-values-from-thingworx-to-java-with-Edge-SDK/m-p/512358#M9234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kedar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you tell me how you are writing services in java sdk? even i want to fetech the data entered from platform to java SDK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2017 07:40:36 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Can-we-get-datatable-values-from-thingworx-to-java-with-Edge-SDK/m-p/512358#M9234</guid>
      <dc:creator>gd11</dc:creator>
      <dc:date>2017-05-24T07:40:36Z</dc:date>
    </item>
    <item>
      <title>Re: Can we get datatable values from thingworx to java with Edge SDK without service</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Can-we-get-datatable-values-from-thingworx-to-java-with-Edge-SDK/m-p/512359#M9235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.thingworx.com/u1/13875"&gt;Geetha D&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sure. Actually we have created services in datatable's service tab in thingworx.&lt;/P&gt;&lt;P&gt;And we are using that services to get and set values through java.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;below is the example by which you can call thingworx services from java.&lt;/P&gt;&lt;P&gt;client.invokeService(ThingworxEntityTypes.Things, "datatable1", "SetPingStatusDataTableEntries", value, 5000);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let me know if you still facing issue with that.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2017 11:06:49 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Can-we-get-datatable-values-from-thingworx-to-java-with-Edge-SDK/m-p/512359#M9235</guid>
      <dc:creator>kborkar</dc:creator>
      <dc:date>2017-05-24T11:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: Can we get datatable values from thingworx to java with Edge SDK without service</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Can-we-get-datatable-values-from-thingworx-to-java-with-Edge-SDK/m-p/512360#M9236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kedar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;client.invokeService(ThingworxEntityTypes.Things, "datatable1", "SetPingStatusDataTableEntries", value, 5000); in this what it means "datatable1" "SetPingStatusDataTableEntries"?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and my requirement is I have created one mashup having textbox and button. when i enter some value in textbox&amp;nbsp; and hit button, that value i should get in JavaSDK.&lt;/P&gt;&lt;P&gt;If you have any idea can you please tell me the steps ASAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Geetha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2017 11:37:38 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Can-we-get-datatable-values-from-thingworx-to-java-with-Edge-SDK/m-p/512360#M9236</guid>
      <dc:creator>gd11</dc:creator>
      <dc:date>2017-05-24T11:37:38Z</dc:date>
    </item>
    <item>
      <title>Re: Can we get datatable values from thingworx to java with Edge SDK without service</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Can-we-get-datatable-values-from-thingworx-to-java-with-Edge-SDK/m-p/512361#M9237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kedar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any idea about how to call services from java SDK?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is I have created one mashup having textbox and button. when i enter some value in textbox&amp;nbsp; and hit button, that value i should get in JavaSDK.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 May 2017 07:16:10 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Can-we-get-datatable-values-from-thingworx-to-java-with-Edge-SDK/m-p/512361#M9237</guid>
      <dc:creator>gd11</dc:creator>
      <dc:date>2017-05-25T07:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: Can we get datatable values from thingworx to java with Edge SDK without service</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Can-we-get-datatable-values-from-thingworx-to-java-with-Edge-SDK/m-p/512362#M9238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A quick question on your requirement:&lt;/P&gt;&lt;P&gt;After you click button why you need value in javaSDK?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have not tried scenario like this, we have just set and get the values from data table and displayed it in thingworx through a java program logic.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;And though if that is the requirement, i think you need to first save that value in data table through service and then you need to fetch from there. &lt;/STRONG&gt;&lt;STRONG&gt;but i am not sure whether this will work for you or not. I don't have that much hands-on on thingworx.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;May be &lt;A href="https://community.thingworx.com/u1/7838"&gt;Ankit Gupta&lt;/A&gt;​ can help you...&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 May 2017 07:21:39 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Can-we-get-datatable-values-from-thingworx-to-java-with-Edge-SDK/m-p/512362#M9238</guid>
      <dc:creator>kborkar</dc:creator>
      <dc:date>2017-05-25T07:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: Can we get datatable values from thingworx to java with Edge SDK without service</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Can-we-get-datatable-values-from-thingworx-to-java-with-Edge-SDK/m-p/512363#M9239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you piece of java code to get and set the data , Can you share with me?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 May 2017 07:32:23 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Can-we-get-datatable-values-from-thingworx-to-java-with-Edge-SDK/m-p/512363#M9239</guid>
      <dc:creator>gd11</dc:creator>
      <dc:date>2017-05-25T07:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: Can we get datatable values from thingworx to java with Edge SDK without service</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Can-we-get-datatable-values-from-thingworx-to-java-with-Edge-SDK/m-p/512364#M9240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Hi &lt;A href="https://community.thingworx.com/u1/13875"&gt;Geetha D&lt;/A&gt;,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hi you can call service from java code once you have connected as below:&lt;/P&gt;&lt;P&gt;ValueCollection value = new ValueCollection();&lt;/P&gt;&lt;P&gt;value.SetStringValue("Status", status);&lt;/P&gt;&lt;P&gt;value.SetStringValue("RaspberryPiName", result.getRow(i).getStringValue("RaspberryPiName"));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;client.invokeService(ThingworxEntityTypes.Things, "datatable1", "SetPingStatusDataTableEntries", value, 5000);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;you need to create a value collection for input parameters and output parameters based on the service.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if you want to set value you need to create a input parameters and to get value you need to create a service with output parameters.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and to fetch value you can use below code:&lt;/P&gt;&lt;P&gt;ValueCollection params = new ValueCollection();&lt;/P&gt;&lt;P&gt;&amp;nbsp; params.put("maxItems", new IntegerPrimitive());&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; //To read all the values from the Data table of Thingworx with service getDataTableEntries&lt;/P&gt;&lt;P&gt;&amp;nbsp; result = client.invokeService(ThingworxEntityTypes.Things, "datatable1", "getDataTableEntries", params, 5000);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will be helpful.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2017 06:15:05 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Can-we-get-datatable-values-from-thingworx-to-java-with-Edge-SDK/m-p/512364#M9240</guid>
      <dc:creator>kborkar</dc:creator>
      <dc:date>2017-05-26T06:15:05Z</dc:date>
    </item>
  </channel>
</rss>

