Recently active
In TWX 9.5, the x-axis is not displaying all values. It seems to be skipping every other value. I'd like for it to display all values. I did not see a setting for this in the bar chart configuration. Is there a way to display all values?
Hello All,Can we use AMU without Kepware?Customer does not want to invest in Kepware, so can we have any work around with MQTT or OPC-UA, etc. Use Case: Data will be fetched from a SCADA system and different Dashboard will be developed in Thingworx along with AMU (Asset Monitoring and Utilization).Regards,Javed Akhtar
Hi, wondering if there is a way to pass a button click in a collection widget cell mashup to the collection widget refresh. I have a list of items displayed in a collection widget. There is a 'delete item' button in each item's cell mashup. I'm looking for a way to pass the click event on the button back to the collection widget itself so that it can redraw itself with the new list (minus the deleted item). Currently I manage this by having the delete button set a boolean session parameter to true. In the main mashup I have a timer running (every second) which checks the state of the boolean & if true redraws the collection widget (list). It works, but seems clunky, so would prefer a way to pass the button click in the cell back to the collection widget without having to use a timer. I did try tying a validator to the session parameter, but it didn't appear to trigger when the session boolean changed. TIA K
Hello, I am trying to check the network connection with another server from thingworx , but when i try to run the telnet from command prompt it gives me following error. 'telnet' is not recognized as an internal or external command, operable program or batch file Thanks
In TWX 9.6 , While trying to pass value from collection to cell mashup using MashupGlobalPropertyBinding , observed in cell mashup i am not getting the value , What should I try ?
Hello Community, I have datatable with usercredentials stored in it and one of the field is of password type which i do hash also before saving it. Now the issue is when i import this datatable from thingworx 9.1 to 9.3 and in my code below:= i am unable to get the value from datatable it just does not appear EntryExists.row[0].loginPassword is undefined even though on old thingworx version everything is working fine. let EntryExists = Things[userDataTable].GetDataTableEntryByKey({ key: hashedLoginName }); if(EntryExists && EntryExists.rows[0].hashedLoginName == hashedLoginName && EntryExists.rows[0].loginPassword == hashedLoginPassword){ I have changed nothing but still it just does not work because its not getting it from datatable but on other hand all the fields are showing values. Why its like that My assumption: I think its not possible to import the userpassword which are hashed into another
I am looking for guidance on managing code for custom Thingworx mashups. Is it possible to manage these in code versioning tools such as Github?What are some guidelines on managing changes to configuration of thingworx environments?
Error: Unable to process purgeBetweenNow Request for Test_CM_ValueStream : Another request for this thing is active
Hi! i have read alot of documentation but cant find how to do this in TW9.5 i get succes on everything but it just adds empty lines in my infotable. i have added the json and service below{"station":"station_3","Artikelnr":2053,"antal":46,"vo":767,"Embalage":"Packaging_3","operator":"Operator_4","Antalskort":3} var dataTableName = "Proddata"; var dataShapeName = ".datashape.lucas"; var result = "Success"; try { var dataToAdd = dataToAdd; var jsonData = JSON.parse(dataToAdd); logger.debug("Incoming JSON data: " + jsonData); // Directly access the InfoTable property on the Thing var infoTable = me[dataTableName]; // Directly create a ValueCollection from the JSON data var rowValues = new Object(); rowValues.station = jsonData.station; rowValues.Artikelnr = jsonData.Artikelnr; rowValues.antal = jsonData.antal; rowValues.vo = jsonData.vo; rowValues.Embalage = jsonData.Embalage; rowValues.operator = jsonData.operator; rowValues.Antalskort = jsonData.Antalskort;
Has anyone tried to migrate ThingWorx from Microsoft SQL server to PostGreSQL. Currently we are using ThingWorx 9.4.2 version.
Hi Everyone,I have grid widget which data is populated through a SQL service, and I want to export that data which is in the grid into an excel file , can I do that if so then please share the solution. Thanks and Regards, Lavkush
Dear Community, So below in attachment is my datashape of my datatable and currently i am getting all the entries in one of my service. Is there anyway that with infotable capabilities i can get entries which are created in the last 30 days. As you can see i have one of the parameter qualityCheckTimestamp which records the datetime for the entry. Now i would like to use pre existing function of infotable to get the entries created in last 30 days and if its not possible then i would have to iterate through all the entries to get the desired entries which would might be slow process. so anyone have a clue about it? Thank you 🙂
Hi all, I have a dropdown on my Mashup that gets display data from one of my properties which have an infotable as output and Datashape of GenericStringList. It used to work fine but one day it just stops working and I can't figure out why after troubleshooting for half a day. Any help will be greatly appreciated.Below is the settings for my dropdown widget:Cheers,Deon
Hello ! Background :My application has several mashups that are loaded onto computer screens to display information. These computers start up automatically at the beginning of the day, then a script loads a mashup link. The link contains an Appkey, linked to a virtual user with rights to view the mashup. So these screens have no real user in front of them, they're just there to give information to people looking at the screen.Note that I have several different screens in different locations. Each screen works like this, using the same Appkey, linked to the same virtual user. Problem:After a while (more than an hour), a login pop-up appears at the top of the mashup (see screenshot). The application continues to run in the background, but the pop-up is still there. I don't understand why the mashup requires a login, when it's still working and has an Appkey. Solutions tried :I've tried changing the mashup session ID at regular intervals (every 5 minutes). I thought that if
Hi! I'm trying to post to thingworx. Is it posible without creating the thing via post? Is there an easier way to send JSONdata from a node.js application to ThingWorx? Thanks for the help 🙂
Hello All, I have a datagrid widget in which i am showing some entries as you can see in the picture below i can choose which parameter to show and which do not. when i select the parameters and save changes then it appears and shows me but then when i open the mashup next day again then its again gone and do not show me the parameters which i have selected to display on the mashup in datagrid. I want the parameters which i selected to show me always there until i do changes. anyone has an idea about it?
Good day all, I have a table that contains a timestamp field.I want to replace the values in this field with a specific dataDifference calculation that I make. The two dates that I use to find the difference are inputs.I have written the code below. It seems like the issue occurs when I assign the new timestamp value to the table. if (testMode) { // Get data directly from the property for testing purposes searchTable = Things["ThingName"].ChartData[0].Data;} else { searchTable = data;} let params = {t1: searchTable /* INFOTABLE */};let clonedTable = Resources["InfoTableFunctions"].Clone(params); // Find the row in searchTable with the matching timestamplet searchForTimestampRow = clonedTable.Find({timestamp: currentTimestamp});if (searchForTimestampRow) { // Calculate duration let duration = dateDifference(currentTimestamp, otherTime); // Update the duration fi
Hi Everyone,I have a requirement in which I ahve data like this Now i want to sort data Based on Approved state , Sports Category Mainly Approved State and then want to show the data on line or bar chartso Basically requirement is in the drop down all the approved state will be there and when I select one of the approved state the data will populate in the Bar/ Line chartso how can I implement this pls share your solution ThanksLav
Needed to copy some properties from one Thing to other. To avoid manual work, created Service with AddPropertyDefinition (later wanted to add service to copy values). It creates no error when running first time, but properties are not generated. So, started script - and it answer "Property [name] already exists".Manual refreshing of Thing in web service does not help. Restart Thing by code also makes no difference. Here is sample code: myList = me.GetPropertyDefinitions({category: "MyCategory" /* STRING */,type: undefined /* BASETYPENAME */,dataShape: undefined /* DATASHAPENAME */}); for each (var x in myList.rows) {Things["MyThing"].AddPropertyDefinition({indexed: undefined /* BOOLEAN {"defaultValue":false} */,defaultValue: undefined /* STRING */,remoteBindingAspects: undefined /* JSON */,description: "my desc"/* STRING {"defaultValue":""} */,readOnly: undefined /* BOOLEAN {"defaultValue":false} */,type: 'INFOTABLE' /* BASETYPENAME */,remote: undefined /* BOOLEAN {"defa
Hi, I have changed the port to 80 in the server.xml: When I looked into the Catalina.out, I get the below error: Does anyone know the solution? Thanks,
In TWX 8.5, it was possible to enable sorting for all fields in advanced grid widget without enabling it for each field. In TWX 9.5, the new grid widget requires the sort functionality to be enabled individually for each field in grid configuration. Is there a way to make all fields sortable without enabling it individually for each field in grid configuration?
Dear PTC,We are in the process of planning an AM deployment. The purpose of this discussion is to gain a comprehensive understanding and documentation of the capabilities of PinkFederate and ADFS, as well as the differences between the two.Background Information:We configure an Windchill to Denodo connection on our network utilizing PinkFederate and OAuth2.We seek your expertise in determining the most suitable approach between PinkFederate and ADFS for our requirements and can we do the same setup using ADFS.Thank you for your assistance.
var lastMinDate = new Date();lastMinDate.setSeconds(0);lastMinDate.setMilliseconds(0);var result= lastMinDate;
Hi, I am using a date picker widget on a popup on ThingWorx 9.5, for some reason when I select a data from the calendar, the pop-up closes automatically. Is it a known bug? and is there any work around? Thanks in advance.
I'm currently installing Thingworx server on linux.While installing the database i notices the following: 6. Configure pgAdmin:$ sudo pgadmin4◦ In pgAdmin, click on file->Open postgresql.conf◦ Open /etc/postgresql/x.x/main/postgresql.conf◦ Put a check next to listen addresses and port. The default settings of localhost and 5432 are usually sufficient.◦ Save and close.◦ Click on file->Open pg_hba.conf◦ Open /etc/postgresql/x.x/main/pg_hba.conf◦ Double-click on the database ‘all’ line with address 127.0.0.1/32◦ Set Method to md5◦ Click OK◦ Save and exit◦ Close pgAdmin(Sorry i'm unable to quote!!) I'm not happy that MD5 is used for Hashing. MD5 is not a really secure algoritm anymore and i would like to use Sha-2 (what is current default) if possible! Is this possible? if Not Why...More info on MD5:https://security.stackexchange.com/questions/19906/is-md5-considered-insecure https://www.freecodecamp.org/news/md5-vs-sha-1-vs-sha-2-which-is-the-most-secure-encryption-hash-an
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.