Recently active
Hi All I am having an issue connecting to the Azure IoT Hub from ThingWorx 8.4. - The Connector and Thingworx are on the same server - The attached azure-iot.conf file was configured using direction from PTC Using this link When run the azure-iot.bat file from cmd i get the following error. Any help with this issue is much appreciated! Thanks! 14:06:16.812 [NettyClient-NIO-5] ERROR c.t.s.i.t.netty.NettyBytesChannel - Error while establishing websocket connection on channel com.thingworx.sdk.impl.transport.netty.NettyBytesChannel$2@6069b8ae.java.net.ConnectException: Connection refused: no further information: localhost/127.0.0.1:8080at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)at sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source)at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:224)at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:289)at io.netty.channe
I've tried (as admin) changing permissions on ExportImportSubsytem, CollectionFunctions and ExportFile. None of these enables the "From File" or "To File" options in the Import/Export menu: they're still greyed out for the (non-admin) user.Also, if I ever manage to allow the non-admin user to export entities, can I assume that they will only be able to export entities that they already have permission to see?
I have a stream containing "alarms" the source field is the name of the equipment who generated the alarm, like MACHINE1 MACHINE2 .... I need to query entries for all records with two or more source names (not just one) I Use QueryStreamEntriesWithData, keeping source parameter as undefined and using a query with the "IN" syntax, like {source IN array_of_elements} (where each element is a machine name). This query works ... but it is slow if I have millions of rows and searching for many months (I also use time range obviously, and limit result to 2000 records). is the source field indexed ? is this query executed at the database or thingworx layer ? is there a faster way ?
I followed this 2 topics-How to convert JSON to an InfoTable in ThingWorxhttps://www.ptc.com/en/support/article?n=CS179012-About Convert JSON file to Infotablehttps://community.ptc.com/t5/ThingWorx-Developers/About-Convert-JSON-file-to-Infotable/td-p/508236I do-I read the how to about make service to GetJSON from snippet.-I try to create Datashape like JSON format i need to call.I don't know- Where to make GetJSON service execute? Does I have to create the thing first to use service?- how to test result?I think I need start to finish guideline about thisCan anyone show me this how toThankyou
Hi Developers, I'm working on a TWX architecture for a use case as shown below. There are manufacturing plants across different geographical locations. In each plant there are multiple machines and each machine has its own FTP server, where after 10000 recordings are collected from the machine, a csv file with these recordings are generated in the local FTP server. There is only read access to these FTP servers and no static ip is provided. The objective is to provide a cloud based architecture for data visualization of the csv file data. I need help on the following to get me started on the initial architecture: Since static ip can't be given for individual FTP servers, what is the best possible architecture for the use case. With one TWX cloud instance will it be possible to collect data from the FTP servers across different locations or do we need a separate TWX instance for each location. Any help will be much appreciated. &
I want to do some changes to the result which I get from calling the GetPropertyValues() on any Thing. it will be helpful if I get the object structure it methods to manipulate the result value and extract the data which i want.
Hi Everyone, I need to create a Kanban board using thingworx composer. Can someone help me the way I can achieve it or suggest any widget that is available in thingworx. Use Case Requirement : Need to show the remaining quantity of material used in a bin/box from total quantity. Thanks in Advance.
Hi, Is there any way to read many topics using MQTT extension? When I'm using extension for one single topic eg: topic/device_one/readings/temperature everything works fine, but i also need all readouts using topic: topic/+/readings/+ wich should give me all the topics. But extension lets me map only payload (eg: JSON) but what about multiple topics? Is there any way to retrive this in ThingWorx? Much thanks for any help.
I have created example widget provided from ptc developer site and i would like to add a Style property to it and I have gone through documentation of ptc and was not quite getting along so could any one suggest any way. this is IDE code (taken from widget creation in ptc developer page) TW.IDE.Widgets.simplewidget = function () { this.widgetIconUrl = function() { return "../Common/extensions/MyAwesomeExtension/ui/simplewidget/SimpleWidget.ide.png"; }; this.widgetProperties = function () { return { name : "SimpleWidget", description : "A simple example of Widget creation.", category : ["Common"], properties : { DisplayText: { baseType: "STRING", defaultValue: "Hello, Awesome User!", isBindingTarget: true } } } }; this.renderHtml = function () { var mytext = this.getProperty('SimpleWidget Property'); var config = { text: mytext } var widgetTemplate = _.template( '<div class="widget-content widget-simplewidget">' + '<span class="DisplayText"><
Hello Sir/Ma'am, I have been using Thingworx for learning purpose and i am towards my first step. My nodemcu and thingworx portal is working absolutely fine when not integrated. But the data from nodemcu is not updated on thingworx portal to the thing EnvStrobe properties.
Hi, just upgrade to thingworx 8.5, I created a new master page, contains layout widget, every time reload the composer, the master will prompt me message " Your mashup uses deprecated widgets. Replace them now with new widgets? This action is irreversible. ", I selected 'Yes' , but reload again the message still show up. Please help.
Hello, I am trying to create a Factory visualization application on webgl with PlayCanvas/Threejs/Babylonjs . How can I directly import that WebGL content into ThingWorx Studio or Composer or Thingview Webgl. Can you help me out with the approach of how to achieve this. Also I am developing Unity WebGL for the same, If its possible to do the same with Unity without using Rest API, calling data from server and directly using my project into ThingWorx pipeline. Thank you.
Hi, Is there a way for reading the text and then narrating it by clicking any button in ThingWorx. Thanks and regards, Aditya Kumar
Hello! I've got a bit of an unusual problem which probably has a very simple fix to it. I've successfully established a POST request from a React platform onto a ThingWorx service I was trying to run. Said POST request returns all the data I wanted without any problems, however the timestamp coming with that data is unusable... Here is the service being run in ThingWorx: // result: INFOTABLE dataShape: ""var result = me.QueryPropertyHistory({oldestFirst: undefined /* BOOLEAN */,maxItems: undefined /* NUMBER */,endDate: EndDate /* DATETIME */,query: undefined /* QUERY */,startDate: StartDate /* DATETIME */});result = result.ToJSON(); StartDate and EndDate are not required to make the POST call and have a default value of "". I tried setting one of them to the appropriate "YYYY-MM-DD HH-mm-ss-SSS" format but it was ignored and the entire database is still being queried. Here is an example of the returns I am getting (on the React Platform): {"Valu
I'm creating a custom Widget extension that basically just wraps a Javascript library, and it works like this: 1. Create a <canvas> element with a certain ID/class/whatever 2. Attach the library to that <canvas> element 3. Do stuff after that I'm currently creating the <canvas> element like so: this.renderHtml = function() { return ( '<div class="widget-content"><canvas id="' + this.getProperty("Id") + '"></canvas></div>' ); } However, this doesn't work when the Widget is in a Collection Item, since all the mashups within the collection have the exact same ID for the widgets within. The result is that none but the first widget actually display or function. How do I go about making it so my widget can be used within a Collection widget, is there some way to get an ID that is unique to the collection item?
We don’t know how to develop the following in a mashup. We have a multiple choice drop down list with different items that represent a Thing on the platform and we’ll like to call a single service that gets iteratively all the data for each of the selected items to represent them on a time series chart widget. Currently, we’ve developed one service for each of the selected items and we call them one by one, but we understand this is not the way to do it. We’ve developed 4 different services and this way we can visualize data for a maximum of 4 different Things selected on the list, but we have 70 different item to select for. Thanks in advance,
Hi, In thingworx, how can I set a value to a property tag based on the input using services? Thanks, Shalini V.
Hello! I'm running a very simple QueryPropertyHistory Service to obtain the logged values that are defined on the very Thing on which the service is defined. So normally something like this should work? // result: INFOTABLE dataShape: ""var result = me.QueryPropertyHistory({oldestFirst: undefined /* BOOLEAN */,maxItems: undefined /* NUMBER */,endDate: undefined /* DATETIME */,query: undefined /* QUERY */,startDate: undefined /* DATETIME */}); I set up my service to run on Mashup load just to test it out and I get this error (in the console log): Error executing service. Message ::null - See Script Error Log for more details There are no additional details provided in the Error Log, it's actually completely blank. Does anyone know how to properly query all the properties present on the same Thing as the service it is being ran on? Any help will be much appreciated. Cheers! 🙂
Hi, we have several Developers working with local Thingworx instances. The make Mashups, Things, Services etc complete locally. When they are ready we make a Extension with a metadata.xml file and zip it to import it in Thingworx. This works perfectly in the last time. But currently there comes the message "Import requires platform restart." while trying to import.Why does it need to restart the platform? There are no jar files or something else in the extension. Just Entities/ and some Things, Mashups, etc (only xml files). Thanks!
var week = me.GetWeekNumber({ date: when }); // Copied from Stack Overflow, didn't test its correctnessvar month = when.getMonth(); // Zero-basedvar year = when.getFullYear();var correctmonth = month +1;var query = me.CreateValuesWithData({ values: {value: value,Kategory: Kategory,Department:Department,Line: Line,SKU : SKU,KPI_Details: KPI_Details,Target: Target,Other_Target : Other_Target,Other_value : Other_Value,week: week,month: correctmonth,year: year} });query.id = me.ID;var params = {sourceType: undefined /* STRING */,values: query /* INFOTABLE*/,location: undefined /* LOCATION */,source: undefined /* STRING */,tags: undefined /* TAGS */};if(me.ID !== query.id){stop();}var result = me.AddDataTableEntry(params); when I refresh the page, it will auto increment one more empty row in the grid widget. how to fix this problem?
Hi guys. I have a question or ask about kendo scheduler event coloring. I created a mashup for daily action plan. I would like to coloring the events depends on event status (i.e. "Done", "Deleted", "Open", etc.) As I saw, on site description the scheduler widget contains 13 exact named columns or field. I use 22 columns in datashape. I tried to configure the widget through the schema model and resources, but it is not working. I do not no what is the good way to solution. I tried to create template or script, but I am not an expert,I could not solve. Here is the configuration: {"footer": false,"views": [{"type":"day", "selected": true, "allDaySlot": false},"week","month"],"schema": { "model": { "id": "Id", "fields": { "taskId": { "from": "ID", "type": "number" },
Hi , If you set MashupParameterBindings to Collection,for exampe: { "description": "theDesc" }, then the Collection will has a mashup parameter called Event:Description . I bind the Event:Description to a express with auto evaluate and hope it can reflect the change of the paramter, but I feel very confused about the behavior. In the inner mashup, I bind the new value to a expression and bind the expression's output to the mashup paramter, what I observed is: If click via a button then the mashup parameter get changed but the Event:Description's binding expression is not triggered If click via a value display then mashup parameter get changed and Event:Description's binding expression is triggered , but it always reflect the previous value . If you check the debug info you'll see a data change event is triggered before the value display's click event , although the click event is the first action you performed. P
Hi, Chart values are getting cut at the end of x axis. The x axis value is string in this case. Refer the end of x axis With regards Yedukrishnan U
Hi, How to stream video with RTSP. Thanks.
Hello team, I use a menu widget and I want selected menu name on label/header how can i get this? Thanks Gaurish
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.