Recently active
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.
I'm getting up to speed on all the great new stuff in 8.5, and have found that since the JavaScript engine was upgraded to Rhino 1.7.11, there's some awesome new JavaScript ES6 functionality available. I have tested arrow functions, filter, map, and reduce. Compose does not look like it is supported. If you're not familiar with this functionality, I highly recommend reading up on them. Filter, map, and reduce are incredibly useful for working with arrays. They can save you a lot of annoying logic. Here's some resources that I've found helpful for learning: JavaScript Functional Programming - map, filter and reduce Arrow Functions: Fat and Concise Syntax in Javascript If you really want to dive into ES6, Wes Bos has incredible tutorial sessions that are worth every penny: Wes Bos: ES6 for Everyone! Have you played around with ES6 functionality in ThingWorx 8.5 yet?
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
Hi, I launched version 2.1.0 of the ThingWorx GitBackup Extension on Github, in the following repository: https://github.com/vrosu/thingworx-gitbackup-extension This release contains a few UI fixes and experimental support for proxy. "The GitBackup extension is updated on a best-effort basis and accepts community fixes, that are best done through GitHub. Please report any troubles via GitHub's Issue system. Important notice: As you might be aware, we have just launched ThingWorx 8.5 and with it a new solution called Solution Central, which is a brand-new cloud-based service to help you package, store, deploy, and manage your ThingWorx applications. This service is supported by PTC and it contains features that seem to be similar to the GitBackup extension, but they are not. They are different type of tools: Git is a source versioning tool, while Solution Central is an artifact repository. When deploying applications between ThingWorx
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?
I have 2 VMs VM1. MS Window Server 2016 with ThingWorx Manufacturing Apps and KepserverEX 6.6 VM2. MS Window 7 with RSLogix 5000 and SoftLogix. These 2 VM can ping each other. In VM.2, I create a PLC program, download into SoftLogix and simulate some data. In VM.1, I configure the tag in KepserverEx and check the data in OPC Client already. In ThingWorx Manufacturing Apps, I add new machine and try to configure the KPI. But in the configuration and setup, when I browse into PLC tag. I cannot see the tag I just add into KepserverEX. I found just the simulate tag, not tag from SoftLogix. RSLogix5000 and SoftLogix KepserverEX OPC Client ThingWorx Manufacturing Apps : Controls advisor Cannot find Tag in Kepserver that added from Softlogix Find Just Simulated Tag in Kepserver. I try to change from Kepserver to Industrial Connectivity, but the result is the same. I'm newbee in this platfrom. please give me a
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
Users of ThingWorx Analytics (TWA) may choose to create a predictive model using TWA or import a predictive model that was created using other software. When importing into or exporting out of TWA, this predictive model must be in a PMML (Predictive Model Markup Language) version 4.3+ format. This post describes how to complete the import and export processes. Exporting: The user may create a model in two main ways inside of TWA: using the Builder user interface, or by using ‘Create Job’ service that exists the Training Thing. Whichever method is used, a model Job Id is created automatically by TWA for that model. It is this model Job Id that is used to identify the model inside of TWA, regardless of what is being done with that model. If a model is trained using Builder, the user may highlight that model, click ‘Job Details’, and then copy the Job ID. This is done as follows: Next, the user will navigate to Browse --> Things --> …TrainingThing. This is the Trainin
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
Hi all, I am using the Industrial Connectivity with PLC Rockwell and I have some TAGs type REAL/FLOAT already communicate work it. So when I try communicated a TAG type String (my addrees is data type string on my PLC) happens the follow error:
Hi I'm using Thingworx with Tomcat, and I'm trying to connect Thingworx Academic Simulator but I encounter this error: Thanks for help
Hello Experts, I have installed TWx 8.4.5 setup and can find the ThingWorx Allocated memory as 274.73 MB. Can anyone tell me how should I can increase it & how much I should put as Max here? Please see the below image for reference.
Hi, I need to bind one property of a thing to another property in 200 or more things. Is it recommended? If not, please suggest a better alternative. I have shared the requirement in the diagram given below. With regards Yedukrishnan
How to get single data from datatable. In my scenario, I need to get sum value and do calculation(divide by 100000). After that, I will put this data into gauge chart.Could Someone help me to fix this problem?
Hi , I am also facing same error message while trying to access the ThingWorx composer. Hence attaching the log files. 1. Setttings.json file is at ThingworxPlatform folder 2. JDBC .Jar files are at <Tomcat>\lib folder 3. Table are created in thingworx database 4. Using Thingworx 8.4.4 with MS SQL server database gone through article Connections could not be acquired from the underlying database Please give your opinions Json file is as : {"PlatformSettingsConfig": {"AdministratorUserSettings": {"InitialPassword": "trUf6yuz2?_Gub"},"OrchestrationSettings": {"EnableOrchestration": true,"QueueHost": "win-5aoe9h447vu","QueuePort": 5672,"QueueName": "256mb","QueueUsername": "flowuser","QueuePassword": "e24bbe712caab365b11a5a4f4b21a0b3","QueueVHost": "orchestration"}},"PersistenceProviderPackageConfigs": {"MssqlPersistenceProviderPackage": {"ConnectionInformation": {"driverClass": "com.microsoft.sqlserver.jdbc.SQLServerDriver","jdbc
Is it possible to show the external .jsp pages in Thingworx Mashup or can we use the .jsp tags/whole jsp code in Thingworx Composer JavaScript services?
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.