Recently active
Hi, Is there a REST API or Swagger where I can input the Part number and know if it has a part structure? Use Case: If a part has a part structure, display the part structure in Thingworx Dashboard, or else display just the part info. For this use case, I need to know if there is an API, I can ping and understand if the Part has structure or not. Thanks,
I have 35 rows populated in collection widget. We are viewing all of them using scrollbar. If i clicked microsoft edge browser print functionality, i can see only 12 rows in first page. Remaining rows are not coming in second page of print pdf. Any properties need to be fixed in collection widget? What is the workaround for this issue?
I'm trying to follow this tutorialhttps://community.ptc.com/t5/IoT-Tips/Perform-Statistical-Calculations-with-Descriptive-Analytics-Part/ta-p/834663I already did until I created the service to put the numbers into the timed values table. but my timed_values not updating. There was no data there. I also dont understand how below code could put the numbers I set in numbers into the timed_values table since the propertyname is "numbers" not me.numbers me.timed_values = me.QueryTimedValuesForProperty({ propertyName: "numbers", maxItems: 10, startTime: me.start_time, endTime: me.end_time });
I tried to use descriptive analytics using tatisticalCalculationThingShape and StatisticalMonitoringThingShape but i cant find it on my thingshape. I want to use this for FFT. Could you show me how to use FFT on my thingworx analytics and provide a step by step tutorial. Thanks.
Hi, AllI have one question on Thingworx9.2.0 as follows;(1) Create a Infotable include 3 rows (2) Create a mashup using AdvanceGrid and Infotable as follows (3) Show the mashup then 3 rows are displayed on the AdvanceGrid.(4) Edit a cell value.(5) Immediately, other 2 rows are deleted from AdvanceGrid and Infotable.(6) This is correct or something wrong? Regards,
Hi, Am trying to get only manufacturing part when user searches for a part number and am trying to use existing services from NavigateSearchThing - GetSearchResults(). But this gives me all the parts, so I tried to put some navigation criteria but ended up with JSONArray issues. I tried examples from PTC docs but still no luck. Can some help me here with navigationCriteria? thanks
Hi Everyone, We are trying to POST a request to an external REST API via https. All the ThingWorx documentation provides information only on making http request. Is there any way to make a https POST request from Thingworx to external REST API?
How to upload files from TWX systemrepository To S3 Bucket by using TWX service?Do we have any API for uploading Files from systemrepository TO AWS S3 Bucket.
In ptcschipdatafilter widget, instead of chosing the condition for string and number datatype, can we populate all the unique values of that column in dropdown format inside filter widget?
Hi, I have requirement where I need to display custom date filter/picker next to filter that is available out of the box from grid. please check the attachment.Is it possible to add UI items/widgets in such a way. Please check the attachment. The boxes marked in red are the ones where i would like to show 'from date' and 'to date' filters.
Hi all, I'm trying to pass selectedRow as Input to the new grid in Thingworx 9.4 which is not working as expected Steps to reproduce issue : Step 1: Bind Data and SelectedRow Data to Grid Step 2: Set RowSelection to Multiple Step 3: View Mashup in Runtime Default values not selected As a workaround, I'm using an older version of the grid. But is there any way to fix this issue or am I doing something wrong here? /VR
I am getting this error while installing Thingworx at the stage of DB installation.When following the steps to install thingworx, pgAdmin is giving an error in browser, not able to create DBs and login into the pgadmin.
Hi. I am new to Thingworx. I want to show my alert list assigned to my thing . The alert list data has child infotable in an parent infotable as received from generic GetAlertDefinitions service. I am unable to show child data in my grid in my mashup. I am confused whether I need to join the child infotable to the parent infotable with service (if there is solution to this, please advice) or I need to make some changes in configuration in my mashup. Does anyone knows the solution to this?
Hello everyone Could anyone help me hide the horizontal scroll bar in Grid? Thingworx Version: 9.4 /VR
Hi Everyone I am trying to create UI in Thingworx 9.1 or 9.2 , to select country values like India, srilanka, Nepal etc based on its continent's selection Asia..So can anybody knows which widgets and logic to pass values to widgets please help me.please check below reference. Some thing like this i need to create
Hi developers, I have a PTC Textfield widget binded to a datasource which usually has a big name but i have limited space on mashup.I need to make it multiline but its not giving an option in properties.On clicking wrap, its still not taking data in next row. Please suggest.
I am calling rest api(thingworx url) from java eclipse but throwing error in java.Below is my code String b64 = Base64.getEncoder().encodeToString(bytes);//Construct jsoninput body//JSONObject params=new JSONObject(); params.put("path","/Motivation.pdf");params.put("content", b64); //Load pdf to Thingworx repository//String url = "HiddenServerurlforsafetypurpose/Thingworx/Things/komal_FileRepo/Services/SaveBinary"; URL obj = new URL(url); HttpURLConnection con = (HttpURLConnection) obj.openConnection(); //add request header con.setRequestMethod("POST"); con.setRequestProperty("Accept", "application/json"); con.setRequestProperty("Content-Type", "application/json"); con.setRequestProperty("appKey", "removedforsafetypurpose"); con.setRequestProperty("Body", params.toJSONString()); // Send post request con.setDoOutput(true); DataOutputStream wr = new DataOutputStream(con.getOutputStream()); wr.flush(); wr.close();&
In Thingworx 9.4, the localization of some texts in the Chip Based Data Filter in Toolbar Widget does not work. For example, the text of the buttons of the filter (Image 1) are not translated as well as conditions used to query the data(Image 2). Moreover, it is not possible to set the localization manually in the properties. Does anyone know about a possible solution?Image 1image 2
I cannot change the value of INFOTABLE during the Advance Grid feature of Thingworx 9.2.0. The operation as follows;1 create a DataShape for INFOTABLE.2 create a ThingShape includes INFOTABLE properties defined by the created DataShape.3 Create Thing and set default values in INFOTABLE properties.4 Create a Mashup with Advance Grid Widget as follows. (1) Bind INFOTABLE to Data of Advance Grid Wiget by getProperties service. (2) set all columns to be editable on the setting grid column of Advance Grid Widget context menu. (3) check EnableEditButtons in Property tab of Advance Grid Widget,5 show created widjet.6 click the edit button.7 change values of cells.8 click the save button.9 Chaned values are displyed on the grid, at this point, looks so good!10 click edit button again.11 cells are not changed.(same as default values)Please show me something wrong.Regards,
Hi, I have a collections of infotable as shown below. Each table has different column structure and no tables are same. Now I need to iterate through each infotable and export the data as a excel report.using the snippet.let params = {infotable: undefined /* INFOTABLE */};// result: STRINGlet result = Resources["InfotableExporterFunctions"].ExportInfotableAsExcel(params);Kindly assist
I have 3 infotables. How to export one excel sheet which having 3 sub sheets to add each infotable data in each sheet of excel. (or)How to export all 3 infotables in same file by differentiating each infotable separtely. Note: There is no common column present in all the 3 infotables.
Hi,I'm new in Thingwvorx and java script.I'm trying to take a single text file and split it into chunks by a specified chunk size. In my example, trying to split a single file into 1MB chunks.Example;source file will be available in the Repository.File test.txt in repository is 5MB.chunk size mentioned is 1MBProgram need to split and create five new files in repository with each file have 1MB size.Please help me to achieve this.
How to make numeric entry widget non-editable?
I added wrong additional data to my data, and retrain it. How to delete the additional data without deleting whole data?
In ThingWorx v 9.3.9-b1648, developed a mashup with a bar chart widget to show the data and on-click of a single bar, it should pass the data the Navigation function of popup type. I believe there is a bug with Bar chart widget. However the bar chart widget doesn't seem to send the selected bar data as a mashup parameter to the Popup function. I've set the 'selectedMode' property to single, also tried with default and multiple modes. Whereas when using the Grid widget, the data is getting passed to the popup function as a mashup parameter. I've followed the below steps: Create a popup mashup and add mashup parameters to it, for binding it in base mashup.Create a base mashup, add bar chart widget and configure the widget properties accordinglyAdd data to the bar chart widget. Use a service that returns infotable type result, and the service will have "All data" and "selected row(s)" values. In the Base mashup, Add Navigation function with Popup
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.