Recently active
Hi, I have a test case as following var testfile = 'test.txt' me.CreateTextFile({ path: testfile, data: 'Hello, world!', overwrite: true }) // WORKING me.CreateTextFile({ path: testfile, data: 'Good morning!', overwrite: true }) // WORKING me.LoadText({ path: testfile }) // WORKINGme.DeleteFile({ path: testfile }) // NO ERROR, but the file isn't deleted me.CreateTextFile({ path: testfile, data: 'Bye bye!', overwrite: true }) // ERROR ERROR: Wrapped java.lang.Exception: Unable to Create File [test.txt] Cause: Unable to Create File [test.txt] My Bests, Hung Tran
Hello! Perhaps there was already such a question, but still. A service of SQL-query type produces the following error when I try to test it: There is a connection to the database itself, there is a data in it too. As I understand, the problem is that my service is perceived as empty. But I don't understand what could be wrong.
Why does PTC create extensions and not provide any documentation with them, not even an example of usage? I could write a service with named parameters, hide the code and not tell anyone how to use the parameters or what limits they may have. It might not be very useful to anyone but myself. This isn't best practice is it?
Hi, Does Thingworx supports TimescaledDB ? Regards, Sean
I am now starting to study building Mashup in ThingWorx Foundation I create 2 Mashups by have name View01 and View02 I must to press the button from View01 go to View02 If I want to study building Mashup basic, Where do I have to good web start? Thank you
I have a infotable with some columns (timestamp, DT, TEMC, etc;) and values are some null and double. I need to replace the null with previous value. If previous value is also null, then I need to replace with next not null value. Please help me out. Find attachment for my infotable
Hi our customer want to display mashup in iframe so i test that <iframe id="if1" width="1980" height="1080" style="visibility:visible" src="http://<server>:<port>/Thingworx/Mashups/MonirotingService?appKey=2appkeyHere0&x-thingworx-session=true"></iframe> but anything appear I have annotated all ClickjackFilter.It still does not show up. The usage version is 7.3. thank
I have a mashup link: https://academic-educatorsextension.portal.ptc.io/Thingworx/Mashups/sw_make_panel_MrPark?appKey=f254750f-a512-4150-ac0b-5e3fd6b3c1fa&x-thingworx-session=true I'm trying embed this page with this code: <iframe src="https://academic-educatorsextension.portal.ptc.io/Thingworx/Mashups/sw_make_panel_MrPark?appKey=f254750f-a512-4150-ac0b-5e3fd6b3c1fa&x-thingworx-session=true" width="650" height="600" scrolling="auto"> </iframe> but I get empty form:
hi, I am getting repeated values on Y-axis on label chart like 0,0,1,1 if i set to interval 4 and set to auto scale when there is no data present. See the below image for reference.Please provide the solution for this as soon as possible. Thanks in advance, Sheetal Sable
Hi everyone,I want to passing my grid to a pop up mash up to edit some fields inside the pop up. However, the edited fields in my mashup are not saved when i exit the pop up.Basically i passed the selected rows of my data table to a mashup via navigation widget using getdatatableentries service. Then i run service that update the fields inside the pop up, passing editedtable as an input to that service. I was scratching my head for last couple of days, any fresh eyes, and help will be appreciated. Best,
I am trying to create a java code to read a csv file. The file is located in the systemrepository. I am using the below code, but unable to get the result DataShapeDefinition dsd = new DataShapeDefinition();dsd.addFieldDefinition(new FieldDefinition("Field1", BaseTypes.STRING));dsd.addFieldDefinition(new FieldDefinition("Field2", BaseTypes.STRING));dsd.addFieldDefinition(new FieldDefinition("Field3", BaseTypes.STRING)); //mything.getCSVParser csvParser = new CSVParser();InfoTable csvInfotable = new InfoTable();csvInfotable.setDataShape(dsd);_logger.warn("InfotableCreated");try {csvInfotable = csvParser.ReadCSVFile("SystemRepository", "/new 1.csv", "TestDataShape", hasHeader, columnMappings, null, null, dateFormat, ",", "\"");_logger.warn("InfotableCreated after readCSV function");//code to identify the memory usage } catch (Exception e) {// TODO Auto-generated catch blocke.printStackTrace();} The error i am getting is: com.thingworx.common.exceptions.InvalidRequestException
If i understood it correctly, data tags can be used to tag desired time-series data of a property of a thing like tagging data under specified conditions. So, i wish to try it out. Can anyone help me on this??
Hello, We have the same constraint. I asked PTC support if it is possible to have the source code of the existing ContentLoaderFunctions resource to extend the functionalities, but if it is commonly asked by developers, would it be possible to have the status code natively in the future ? Because when requesting an API, sometimes it is quite useful to know if we get a 204 or 401 or a 500 status code.
will you be willing to share your references/code? and did you use leaflet? Re: post
Hi, I am to using TW Industrial Connectivity for connect my TAGs from PLC with TW Foundation, like the imagem below: I have connection with the TAGs from PLC! Now I would like to connect that TAGs with, for example, a pie chart, and when each one of my values change in the value of TAG my pie chart change too. How I make this? Regards. Leonardo
We are trying to import entities from 7.0 to 8.4 The persistence provider is changing but we aren't worried about the data now. Can this be done? Appreciate your help with this! Should we go 7.0 => 8.0 => 8.4 Thanks Sabarish
Hi,I am facing same problem.Data from TWX SQL SERVICE & SQL retrieved values are not matching for one column data. Number of rows returned are same in both cases.Please share if you have any resolution... This is very critical for me.Thanks in advanceSarma
In java sdk, if I set a property more than 100 times and then call updatesubscribedproperties, lets say 200 times. I observe that only 100 values are sent to the server. I assume there must be some buffer size/ stack size which determines this depth of stack. Is there a way I can increase the "buffer" size to more than 100 ? Thanks -Manas
Hi Community, I tried connecting a OPC server to Thingworx using this guide and it already shows "connected: true" in Thingworx. I`m also able to bind the variables with "manage bindings", but the values are not transmitted (all are 0). On the server side the session is activated for a second but then goes over into a endless loop of "Closed by server": [2019-05-23 10:34:44.699 (UTC+0100)] info/network TCP network layer listening on opc.tcp://raspberrypi2:4811/[2019-05-23 10:34:44.800 (UTC+0100)] info/network Connection 5 | New connection over TCP from ::1[2019-05-23 10:34:45.120 (UTC+0100)] info/channel Creating a new SecureChannel[2019-05-23 10:34:45.120 (UTC+0100)] warn/securitypolicy No PKI plugin set. Accepting all certificates[2019-05-23 10:34:45.120 (UTC+0100)] info/channel Connection 5 | SecureChannel 1 | Opened SecureChannel[2019-05-23 10:34:45.224 (UTC+0100)] info/channel Connection 5 | SecureChannel 1 | CloseSecureChannel[2019-05-23 10:34:45.225 (UTC
Navigating from one Mashup to another. Hi All, I am new to Thingworx Platform. I want to develop a dashboard screen where I have a dropdown list with multiple options. Options may include Machine1, Machine2, Machine3 and Other. On clicking 'Other', it should take me to another mashup where user can manually search for an asset. The 'OtherPage' mashup and dropdown list is already ready. How can I link two mashups together so that once I click particularly on Other, it should navigate to 'OtherPage' mashup? Kindly provide a solution. Thanks in advance.
Hi all, I am using following the C SDK guide: https://developer.thingworx.com/en/resources/guides/thingworx-c-sdk-tutorial/sample-code-c-sdk-tutorial At the guide, I am trying to follow the 'ExampleClient' example (step 3). I am building the example code properly, and I establish a connection to the platform. However, when I monitor the 'thing', I see it as an 'unbound', unlike the example. I have tried using the 'Administrator' user for the application key, but it didn't help. What am I doing wrong? Thank you for your time
Hi, I have a set of data coming in to thingworx from an industrial thing via opc aggregator. The data is fine in a Mashup as i can control the number of places of decimal in the mashup control... But when I send this data to vuforia, there is no control of places of decimal so I'm getting huge data values. Is there any way to control this in thingworx to control places of decimal at the "industrial thing" level? Thanks, Paul.
@slangley After successfully logging in using the ThingWorx Default Login page, the user will land on the home page mashup which i have created. If the user clicks on the browser back button while on this home page, we need to reload the page. But if the user navigates to other mashups/ pages and clicks the back button it can navigate to the previous screen. So basically Immediately after logging in i need make the Browsers back button behave like a reload and not allow the user to go back to the login page. How can i achieve this in thingworx??
Hello Community, In this document from page 206 onwards, OPC UA Services are described. How would i use these services in Thingworx? I`m currently looking for an alternative to OPC Aggregator (Kepware Server) to connect a OPC Server running on a Raspberry Pi to the platform and thought I could maybe use the Services? Thank you!
Hello, Is there a way by which we can get certain limited number of rows from infotable, without writing any custom service/code. For example I have 10 rows in my infotable, and I want first 5 rows, is there any service available which I can use to get that? Thanks in advance Regards Aditya Mittal
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.