<?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 On clicking of the button i want to add a textbox dynamically. Whenever i click that button a new text box should be placed automatically in ThingWorx Developers</title>
    <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/On-clicking-of-the-button-i-want-to-add-a-textbox-dynamically/m-p/501297#M195</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Whenever I am clicking on a button a new text box should be there on the mashup&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Mar 2016 12:45:04 GMT</pubDate>
    <dc:creator>adityaku</dc:creator>
    <dc:date>2016-03-07T12:45:04Z</dc:date>
    <item>
      <title>On clicking of the button i want to add a textbox dynamically. Whenever i click that button a new text box should be placed automatically</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/On-clicking-of-the-button-i-want-to-add-a-textbox-dynamically/m-p/501297#M195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Whenever I am clicking on a button a new text box should be there on the mashup&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2016 12:45:04 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/On-clicking-of-the-button-i-want-to-add-a-textbox-dynamically/m-p/501297#M195</guid>
      <dc:creator>adityaku</dc:creator>
      <dc:date>2016-03-07T12:45:04Z</dc:date>
    </item>
    <item>
      <title>Re: On clicking of the button i want to add a textbox dynamically. Whenever i click that button a new text box should be placed automatically</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/On-clicking-of-the-button-i-want-to-add-a-textbox-dynamically/m-p/501298#M196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should use a Repeater.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2016 13:15:44 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/On-clicking-of-the-button-i-want-to-add-a-textbox-dynamically/m-p/501298#M196</guid>
      <dc:creator>CarlesColl</dc:creator>
      <dc:date>2016-03-07T13:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: On clicking of the button i want to add a textbox dynamically. Whenever i click that button a new text box should be placed automatically</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/On-clicking-of-the-button-i-want-to-add-a-textbox-dynamically/m-p/501299#M197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Carles,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But how to use the repeater widget, as in repeater widget we give limitations, how much time it should repeat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2016 13:48:15 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/On-clicking-of-the-button-i-want-to-add-a-textbox-dynamically/m-p/501299#M197</guid>
      <dc:creator>adityaku</dc:creator>
      <dc:date>2016-03-07T13:48:15Z</dc:date>
    </item>
    <item>
      <title>Re: On clicking of the button i want to add a textbox dynamically. Whenever i click that button a new text box should be placed automatically</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/On-clicking-of-the-button-i-want-to-add-a-textbox-dynamically/m-p/501300#M198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Repeater Widget doesn't have limitations, you should have a service on Server Side where you query for the content to show on the rows, and another service to add a new row.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2016 13:58:52 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/On-clicking-of-the-button-i-want-to-add-a-textbox-dynamically/m-p/501300#M198</guid>
      <dc:creator>CarlesColl</dc:creator>
      <dc:date>2016-03-07T13:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: On clicking of the button i want to add a textbox dynamically. Whenever i click that button a new text box should be placed automatically</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/On-clicking-of-the-button-i-want-to-add-a-textbox-dynamically/m-p/501301#M199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Carles,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Normal java script coding will work here to add a new row.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2016 00:52:34 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/On-clicking-of-the-button-i-want-to-add-a-textbox-dynamically/m-p/501301#M199</guid>
      <dc:creator>adityaku</dc:creator>
      <dc:date>2016-03-08T00:52:34Z</dc:date>
    </item>
    <item>
      <title>Re: On clicking of the button i want to add a textbox dynamically. Whenever i click that button a new text box should be placed automatically</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/On-clicking-of-the-button-i-want-to-add-a-textbox-dynamically/m-p/501302#M200</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 are not able to add the new row upon clicking of a button.&lt;/P&gt;&lt;P&gt;we are only able to add only one text box in one row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What it should ideally do like that when i click on the button it should add a new text box. Please help us with the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Aditya Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2016 07:41:25 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/On-clicking-of-the-button-i-want-to-add-a-textbox-dynamically/m-p/501302#M200</guid>
      <dc:creator>adityaku</dc:creator>
      <dc:date>2016-03-08T07:41:25Z</dc:date>
    </item>
    <item>
      <title>Re: On clicking of the button i want to add a textbox dynamically. Whenever i click that button a new text box should be placed automatically</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/On-clicking-of-the-button-i-want-to-add-a-textbox-dynamically/m-p/501303#M201</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 style="font-size: 13px; font-family: 'Source Sans Pro', sans-serif; color: #4d4d4f;"&gt;We are not able to add the new row upon clicking of a button.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Source Sans Pro', sans-serif; color: #4d4d4f;"&gt;we are only able to add only one text box in one row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Source Sans Pro', sans-serif; color: #4d4d4f;"&gt;What it should ideally do like that when i click on the button it should add a new text box. Please help us with the code.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Source Sans Pro', sans-serif; color: #4d4d4f;"&gt;We are using the repeater widget now.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Source Sans Pro', sans-serif; color: #4d4d4f;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Source Sans Pro', sans-serif; color: #4d4d4f;"&gt;Thanks,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Source Sans Pro', sans-serif; color: #4d4d4f;"&gt;Aditya Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2016 07:43:41 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/On-clicking-of-the-button-i-want-to-add-a-textbox-dynamically/m-p/501303#M201</guid>
      <dc:creator>adityaku</dc:creator>
      <dc:date>2016-03-08T07:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: On clicking of the button i want to add a textbox dynamically. Whenever i click that button a new text box should be placed automatically</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/On-clicking-of-the-button-i-want-to-add-a-textbox-dynamically/m-p/501304#M202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;OL&gt;&lt;LI&gt;Build a mashup with a repeater. Let's call it ParentMashup&lt;/LI&gt;&lt;LI&gt;Build another mashup with a Textbox, that Mashup it's the one that you will repeat on the repeater. Let's call it RowMashup, which has a parameter called id, and another called text&lt;/LI&gt;&lt;LI&gt;Build a service which adds a Row to a an infotable or datatable with, this row will record the value of the TextBox. Let's call it AddTextBox with a parameter "Text" with the desired text on the textbox.&lt;/LI&gt;&lt;LI&gt;Build another service which returns the rows for this Infotable/Datatable. Let's call it GetRows&lt;/LI&gt;&lt;LI&gt;Bind del result of the GetRows to the Repeater on ParentMashup, now you just need to select the corresponding parameters for RowMashup, your are done.&lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2016 08:38:44 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/On-clicking-of-the-button-i-want-to-add-a-textbox-dynamically/m-p/501304#M202</guid>
      <dc:creator>CarlesColl</dc:creator>
      <dc:date>2016-03-08T08:38:44Z</dc:date>
    </item>
    <item>
      <title>Re: On clicking of the button i want to add a textbox dynamically. Whenever i click that button a new text box should be placed automatically</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/On-clicking-of-the-button-i-want-to-add-a-textbox-dynamically/m-p/501305#M203</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;Thank you Carles for the response. But we are struggling with the creation of the service &lt;SPAN style="color: #4d4d4f; font-family: 'Source Sans Pro', sans-serif; font-size: 13px;"&gt; which adds a Row to a an infotable or datatable with, which will record the value of the TextBox calledAddTextBox with a parameter "Text" with the desired text on the textbox.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please help us in the creation of the service or provide us the sample code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Aditya Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2016 11:28:56 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/On-clicking-of-the-button-i-want-to-add-a-textbox-dynamically/m-p/501305#M203</guid>
      <dc:creator>adityaku</dc:creator>
      <dc:date>2016-03-08T11:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: On clicking of the button i want to add a textbox dynamically. Whenever i click that button a new text box should be placed automatically</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/On-clicking-of-the-button-i-want-to-add-a-textbox-dynamically/m-p/501306#M204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a property on the Thing of type "INFOTABLE", name it myDummyInfotable. Create a DataShape for that infotable, with the desired columns (id, text)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the Service AddTextBox ( which it's created on the same previous thing ):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var tmp = me.&lt;SPAN style="font-size: 13.3333px;"&gt;myDummyInfotable;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;tmp.AddRow({ id: &lt;SPAN style="font-size: 13.3333px;"&gt;me.&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;myDummyInfotable.length, text: Text });&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;me.myDummyInfotable = tmp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Service GetRows should be just ( with a return value as Infotable with previously created DataShape ):&lt;/P&gt;&lt;P&gt;var result = me.myDummyInfotable&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2016 11:35:19 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/On-clicking-of-the-button-i-want-to-add-a-textbox-dynamically/m-p/501306#M204</guid>
      <dc:creator>CarlesColl</dc:creator>
      <dc:date>2016-03-08T11:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: On clicking of the button i want to add a textbox dynamically. Whenever i click that button a new text box should be placed automatically</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/On-clicking-of-the-button-i-want-to-add-a-textbox-dynamically/m-p/501307#M205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Carles,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks it helped us. We are able to create it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If we want to create it with rest api service instead of using repeater.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example: &lt;/P&gt;&lt;P&gt;if we have a situation like on selection of different options different different widgets should appear on the screen.&lt;/P&gt;&lt;P&gt;if we have selected one option radio button should come&lt;/P&gt;&lt;P&gt;if we have selected another option text button should come.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;js widget = new js();&lt;/P&gt;&lt;P&gt;widget.addPanel(textBox);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Aditya Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2016 12:10:15 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/On-clicking-of-the-button-i-want-to-add-a-textbox-dynamically/m-p/501307#M205</guid>
      <dc:creator>adityaku</dc:creator>
      <dc:date>2016-03-08T12:10:15Z</dc:date>
    </item>
    <item>
      <title>Re: On clicking of the button i want to add a textbox dynamically. Whenever i click that button a new text box should be placed automatically</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/On-clicking-of-the-button-i-want-to-add-a-textbox-dynamically/m-p/501308#M206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to have different types of rows on the repeater ( on row with a text box, another with a combo, another with an image,...), you will need to record the mashup name on the Infotable, and use this MashupName to load the repeater entries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Carles.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2016 12:35:53 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/On-clicking-of-the-button-i-want-to-add-a-textbox-dynamically/m-p/501308#M206</guid>
      <dc:creator>CarlesColl</dc:creator>
      <dc:date>2016-03-08T12:35:53Z</dc:date>
    </item>
    <item>
      <title>Re: On clicking of the button i want to add a textbox dynamically. Whenever i click that button a new text box should be placed automatically</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/On-clicking-of-the-button-i-want-to-add-a-textbox-dynamically/m-p/501309#M207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Carles&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2016 09:11:43 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/On-clicking-of-the-button-i-want-to-add-a-textbox-dynamically/m-p/501309#M207</guid>
      <dc:creator>adityaku</dc:creator>
      <dc:date>2016-03-11T09:11:43Z</dc:date>
    </item>
  </channel>
</rss>

