<?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: Issue with DateTime picker in ThingWorx Developers</title>
    <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Issue-with-DateTime-picker/m-p/512255#M9146</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You would need another service which verify the datetime input before calling the SQL query service. When nothing is picked in DateTimePicker, you can decide to give a default value as input for SQL query.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Jun 2016 12:46:08 GMT</pubDate>
    <dc:creator>qngo</dc:creator>
    <dc:date>2016-06-10T12:46:08Z</dc:date>
    <item>
      <title>Issue with DateTime picker</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Issue-with-DateTime-picker/m-p/512251#M9142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;We are trying to map DateTime picker to a DateTime Input parameter to use in SQL queries.&lt;/P&gt;&lt;P&gt;It is working fine when a Date is selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It does not work when nothing is picked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate any help and comments&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TIA&lt;BR /&gt;Sabarish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2016 20:19:28 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Issue-with-DateTime-picker/m-p/512251#M9142</guid>
      <dc:creator>sgobi</dc:creator>
      <dc:date>2016-06-09T20:19:28Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with DateTime picker</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Issue-with-DateTime-picker/m-p/512252#M9143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried adding a default value for the date/time input parameter for your SQL service?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2016 09:36:08 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Issue-with-DateTime-picker/m-p/512252#M9143</guid>
      <dc:creator>ibanham</dc:creator>
      <dc:date>2016-06-10T09:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with DateTime picker</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Issue-with-DateTime-picker/m-p/512253#M9144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As datetime picker only has the changed event you can do the following &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) First give any default value through service which will be binded to Mashup Load Event&lt;/P&gt;&lt;P&gt;b) Then when the default value service is completed i.e ServiceInvokeCompleted you bind that to the SQL service you are now using on date time picker&lt;/P&gt;&lt;P&gt;changed Event &lt;/P&gt;&lt;P&gt;See below &lt;/P&gt;&lt;P&gt;&lt;IMG alt="5926269922836480.png?k=bAjheUNz0fw0ydO4fn986MGViF0" class="image-1 jive-image" src="http://www.clipular.com/c/5926269922836480.png?k=bAjheUNz0fw0ydO4fn986MGViF0" style="height: 121px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Whole Scenerio below&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="5463329356644352.png?k=IX5S3k9ythzGZx74hRRBSZVxPAA" class="image-2 jive-image" src="http://www.clipular.com/c/5463329356644352.png?k=IX5S3k9ythzGZx74hRRBSZVxPAA" style="height: 174px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2016 12:07:22 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Issue-with-DateTime-picker/m-p/512253#M9144</guid>
      <dc:creator>nkhose</dc:creator>
      <dc:date>2016-06-10T12:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with DateTime picker</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Issue-with-DateTime-picker/m-p/512254#M9145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No. I don't have a default value. I don't want a default value in my target table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will still try adding a default value to see if that helps. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2016 12:35:32 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Issue-with-DateTime-picker/m-p/512254#M9145</guid>
      <dc:creator>sgobi</dc:creator>
      <dc:date>2016-06-10T12:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with DateTime picker</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Issue-with-DateTime-picker/m-p/512255#M9146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You would need another service which verify the datetime input before calling the SQL query service. When nothing is picked in DateTimePicker, you can decide to give a default value as input for SQL query.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2016 12:46:08 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Issue-with-DateTime-picker/m-p/512255#M9146</guid>
      <dc:creator>qngo</dc:creator>
      <dc:date>2016-06-10T12:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with DateTime picker</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Issue-with-DateTime-picker/m-p/512256#M9147</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;We had the same problem. For us the best solution was to create a search context with an infotable.&lt;/P&gt;&lt;P&gt;The binding works well through the infotable even if the date picker is undefined.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That problem is cleaner to encapsulate the entire search form. As seen, it's safer.&lt;/P&gt;&lt;P&gt;It allow too to pass the context through mashup parameters correctly, that is not working well with simple datetime data type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using a default value in services was not a good solution in our case.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2017 09:03:46 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Issue-with-DateTime-picker/m-p/512256#M9147</guid>
      <dc:creator>rpallares</dc:creator>
      <dc:date>2017-02-03T09:03:46Z</dc:date>
    </item>
  </channel>
</rss>

