Recently active
I want to run a custom script that will syncronize ThingTemplate property names and types to 2 columns in a DataTable so when somebody uses a mashup with that DataTable as the data source will always see up to date information. The goal is to add columns ThingTemplateName and ThingTemplatePropertyName as Primary Keys and additional columns that will depend of this Primary Key. This way I can add some extra Aspects to each column. I am aware of me.ThingStart(); method, but this only happens on a Thing. Is this triggered when a Thing is saved for the first time and Enabled is selected? What about going from Enabled to Not Enabled, Save action and at some later point Re-Enable and Save it again. Will that again cause me.ThingStart to trigger? But this is not related to Property additions, changes etc. Thanks, Rad
Hi, I have 2 Questions? Question 1: ASPECT_ISLOGGED string is missing from .net SDK. Why? Any way we can still create it on the agent side? I am using this code on Thingworx agent to add a property PropertyDefinition propertyDef = new PropertyDefinition("MyPropertyName", "Description", GetType()); AspectCollection aspects = new AspectCollection(); bool isReadOnly = true aspects.Add(Aspects.ASPECT_ISREADONLY, new BooleanPrimitive(isReadOnly)); propertyDef.setAspects(aspects); I am trying to add "logged" aspect In Java Sdk I can see static strings defined as: public final class Aspects { public static final String ASPECT_ISREADONLY = "isReadOnly"; public static final String ASPECT_ISLOGGED = "isLogged"; While in C# I can these aspects are defined only as empty strings. I am not sure if that is true as this is decompiled code. public class Aspects { public static readonly string ASPECT_ISREADONLY; Can I still use isLogged aspect in
Hi, when I lock out a user in the Composer, this user becomes unlocked after the "Minutes Locked Out" setting in the UserManagement Subsystem. Is there a way to prevent a specific user (not all users) from being unlocked or to somehow permanently lock out a user?
Hello, I have an error when installing the ThingWorx Trial Edition 8.2. (In attachment, the logs files.) Previously, I have installed Docker with no problem. Thanks for your help. Julien
What is the best approach to populate the data table with demo data as part of extension deployment? Any examples would be appreciated.Thanks.
I want to add a custom CSS to my mashup. I tried to follow this document: https://support.ptc.com/help/thingworx_hc/thingworx_8_hc/index.html#page/ThingWorx/Help/Mashup_Builder/Mashups/CustomCSSTutorial.html But this does not work because I cannot see a "CustomCSS" tab. I want to write a small css code just to rotate the mashup 90 deg. Code should be = transform: {rotate(90deg);} but I donot know where to write it in the composer. Thank you
I want to create a data table which will have ThingTemplateName and ThingTemplatePropertyName columns as Primary key with extra few columns like: Score, Scale, Rate etc. I would like to provide extra aspects to each property in ThingTemplate since we are limited to built-in aspects/characteristics of a property (like: name, description, baseType, pushType etc). I will have a mashup where an admin can add extra metadata information about properties and I need to syncronize this DataTable with changes to ThingTemplates's properties. I will initially start creating a ThingTemplate with x number of properties. I will then press Save. I want a service to intercept that save action and call a service that will fill out DataTable with ThingTemplate name and a property name. So I will have x number of rows in DataTable like: ThingTemplateName, ThingTemplatePropertyName, Score, Scale, Rate etc. ----------------------------|----------------------------------------|-
Hi all,I'm desperately trying to understand best practices for creating the platform described below. I can't find an answer for whether to use remote or internal DB, a Thing-centered data structure or traditional tables and whether to develop the front-end on mashups or on an external server with API to ThingWorx.What we're trying to do is:IoT data stream is uploaded at a rate of 10 rows/sec from up to 20 devices simultaneously. we expect 10M rows a year. Would it require an external DB?This data is never displayed raw, but rather is used to calculate additional, much smaller tables, that are the source of our charts. I was told a non-relational DB is the best solution for this kind of data handling (Mongo, Google Firebase etc.) but I didn't manage to understand their compatibility with ThingWorx.We are developing consumer-grade front-end, customizing almost every component. Would't it be easier to develop and run it on an external server and just get the data from ThingWorx through i
In this video we review the different features available in Grid Advanced Extension version 2.0
I need to select row and move between rows in a grid by keyboard up/down key. Once a selected row changes, another attribute table refreshes based on the selected row data. It all works if selected by mouse. However we want to move the row by using keyboard up/down key as well to achieve the same. Tried both grid and dynamiccolumn grid and both of them not working
Hi Team,i would like to how thingworx pricing is positioned. How the clients/companies are charged for using thingworx? If i am planning to use thingworx platform for IOT, what i need to be aware of while selecting the pricing plans.Please let me know if there any links or documents for referring the same.
Hi, I have an webServer in flask and I want to send some values from ThingWorx to the webServer. What is the best way? Is this possible? Best Regards!
Hi, I need to access name of each tag on namespace XML document. sample: <reading xmlns="http://cyantechnology.com/dean/v1"> <link href="https://cyan-hes-vip-master:8000/v1/readings/0b4ca37b-3600-4c6d-bb9f-320ca6db71de" method="delete" rel="delete"/> <link href="https://cyan-hes-vip-master:8000/v1/readings/0b4ca37b-3600-4c6d-bb9f-320ca6db71de" method="get" rel="reading"/> <link href="https://cyan-hes-vip-master:8000/v1/dcus/ade1a127-a301-4d1d-9d6b-2fc697dc2ecb" method="get" rel="dcu"/> <link href="https://cyan-hes-vip-master:8000/v1/meters/2f8c0a92-7427-4250-af0c-803b2f211fb9" method="get" rel="meter"/> <meter-serial-number>20004687</meter-serial-number> <meter-timestamp unit="iso8601">2018-01-16T19:22:39Z</meter-timestamp> <dcu-timestamp unit="iso8601">2018-01-16T19:22:39Z</dcu-timestamp> <rtc unit="iso8601">2018-01-17T00:51:34-00:00</rtc> <configuration_manufacturer>Elster</configuration_manufactur
I want to perform a calculation using entries in the data table when something changed in that row and set that calculated value in another column of the same row. To avoid infinite loop, I want to execute my logic only when a specific property is changed. I was trying to use sourceProperty to determine the column changed. Unfortunately it was blank always. Is it a bug? or Am I doing something wrong? Thanks in advance.
I'm trying to create a service that I can globally put in a ThingShape; then reference inside every new DataTable that I create. This service will find the PK of each new data table and ensure that it is populated with a unique/increasing value. To do this, I need to be able to find the current MAX() value of all data in the data table for the PK field; then set new row PK field to MAX()+1.If I'm simply way out in left field...please reign me in, but I think I'm close.Please provide a sample script for how to query this information from an existing data table.
Hi All, what's the difference between MSSqlServer template and Database template?I mean...can I use both for a SQL Server connection? Is it possible?In my case, I want to know specificaly if I can connect with Database template.Thanks,A.
I have been trying to use addDynamicSubscription(), I understand its non-persistent in-memory operation and it takes a service name as input. After checking the logs I came to know that the service execution failed somewhere and the service was never called.It would be really helpful if someone could explain the basic working flow of addDynamicSubscription(), just to make sure I am not missing something here.Thanks,Chaitanya
Hi, I am also getting same Error while using timeserise chart custom widget, which I have downloaded from PTC marketplace. Error 09:59:04 ERROR - TW.Runtime.Workspace.Mashups.getWidget exception loading widget { name: Error, message: timeSeriesChartV2doesn't exist } Tomcat version: Tomcat 8.5 Thingworx version: ThingWorx 8.2.1-b140 google chrome version: Version 65.0.3325.181 (Official Build) (64-bit) same is working fine in Internet Explorer, I am only getting an issue on Google Chrome explorer. initially, this was work fine on google chrome, but after few minutes it started giving me above mention error. what I did to solve this issue. follow all the instruction which is mention in below support article https://www.ptc.com/en/support/article?n=CS246176 but still, the issue is not resolved.
I am attempting to make OAuth Request/Response calls using PostText (need to send content) but am unable to get a valid authentication. There is the username and password parameters, but these don't seem to be translating into the needed format.I need my user authentication to be passed in the format of "username:password" and have tried various combinations with the parameter fields. As an example, using this with curl, I would pass the authentication as part of the -u parameter as "username:password"Any help or pointers would be appreciated.
Hey everyone!I am currently working on a mashup in which I have to list-widgets as shown below.The first list-widget has two elements, for example: Ferrari and PorscheDepending on which element is selected, the second list-widget should be filled with a pre-defined list of either Ferrari-car-tag or porsche-car-tags.It is like a filter mechanism.Is this even realizable and how?Thank you as always for your help Best regards,Theresa
I have a property for a Thing "WeatherRover" which has a property "Speed". While creating "Speed" property, i mentioned following BaseType info,Base Type: NumberUnits: km/hrMin Value: 0Max Value: 20Now I want to use this Base Type info on the mashup i.e. Units, Min Value and Max Value. How to get this BaseType information provided for each property? I tried using "GetPropertyDefinition" Service, but it doesn't gives all the info needed.I also tried with other services like GetPropertyDefinitions, GetPropertyValues, GetPropertyLogging but none of them giving me the information I am looking for. Any help around it would be appreciated.Thanks,Ketan
Hi, is there any way to access tags with variable? My Sample file is "xmlDocument": <reading xmlns="http://cyantechnology.com/dean/v1"> <link href="https://cyan-hes-vip-master:8000/v1/readings/824cde15-f6b6-4819-abbe-8524d16f2972" method="delete" rel="delete"/> <link href="https://cyan-hes-vip-master:8000/v1/readings/824cde15-f6b6-4819-abbe-8524d16f2972" method="get" rel="reading"/> <link href="https://cyan-hes-vip-master:8000/v1/dcus/969c515f-cf50-4861-8029-3070e891937b" method="get" rel="dcu"/> <link href="https://cyan-hes-vip-master:8000/v1/meters/91b69412-f06d-45e4-83a3-6fce6694c3bb" method="get" rel="meter"/> <meter-serial-number>17254120</meter-serial-number> <meter-timestamp unit="iso8601">2018-01-23T20:26:15Z</meter-timestamp> <dcu-timestamp unit="iso8601">2018-01-23T20:26:15Z</dcu-timestamp> <rtc unit="iso8601">2018-01-24T01:53:54-00:00</rtc> <configuration_manufacturer>Larsen & Toub
Hello , can anybody help me? I am getting the repeated data of perticular characterisrtics but i want data distinctly but not only columns but also a row.If anyone knows the solution then please revert back. I tried using distict but it only give column not rows. for example: I am having following table attached in image now If we distict the table using ProcessID and PartID then table must be attached in image The table must show the same values of the same row. Thanks, Pankaj Phopse
Hi guys,I have problem with parsing the XML get response.I have tried every approach which I could find. (here or anywhere else).It drives me crazy because it is a very simple XML. Here it is.<?xml version="1.0" encoding="utf-8"?><LL control="dev/sps/io/Power/state" value="5.07kW" Code="200"/>I am getting the result with GetXML (LoadXML works the same), but when I am trying parse the Value out of it, it always returns empty (as none). I am accessing the value with resultXml.LL.@value. (.@code, .@control -- all empty). I have tried to iterate and push the results into the array - nothing. XML is not using namespaces. If I use warn.log it is also empty. I have tried different Base types. Nothing. Strange is that if I set the result to XML and use var result = Resources[]..... I can see the result while running service through the REST API, but if I try logger.warn(xmlResult) it is also blank.
Hi All,I want to know how to create a combined chart (bar + line).Any tips?Regards,A.
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.