Recently active
Dear,We have a specail case to handle thingwox with datastax.I just want to add measure data set into thingworx and cassandra but data include several measured data such as measured by manual and then this data should be inserted middleware database.Thingworx take this data after updated in kepware through interanl middleware.It means there is two types of times, one is measued time by manual and another is thingworx create time.In this case thingworx insert measure data in storing time instead of measure time.But customer want to see data with measure time. But thingworx insert data with created time.We are about to change createdate but this should be primary key and cannot be changed.How should we resolve this problem? Otherwise do we get hiw to change primary key in Cassandra?
Hi, I need to create a custom PDF extension widget for Thingworx. This widget should be able to export the data ( infotable containing of many rows and columns) shown in thingworx as a PDF. For my testing purpose, I created a sample Json file in my local computer and used that as a source for the java code to get the PDF generated. Now how I have to test using the data coming from Thingworx. Can you please suggest me how can I achieve this? The json data from thingworx should be passed as the input to my java code where pdf is generated. Much thanks..
Hello everyone, I am trying to create a custom extension in Thingworx which will generate a PDF file when a user clicks a button. The Thingworx mashup on which this button exists, will have a table full of data ( assume 100s of rows and 10 columns) which needs to be exported as a PDF report. In the mashup, the user has an option to select the duration for which the data in the table has to be displayed. The source for the data in the table is from a Json file from another system ( if it is relevant ) I have Created a PDF generation code in eclipse that creates a table with sample placeholder data. But I am unable to figure out how the table can be created dynamically based on the data in thingworx. For example, if the user selects report duration as two days, the PDF should contain rows for only two days of data. If the user selects 15days in mashup and click the button, then the report should have table amounting to data for 15days. In short, the table structure should d
Hi All, I just installed the Analytics Server on Windows Server 2016 but i can't connect to it. All of my Analytics Services are running but still can't connect to the server. Any help is appreciated. Thanks! *The word "実行中" means "Running"
Hello, I am a starter with this software and trying to connect KepWare and Thingworx. We followed the manual but caný get connected. We get the following error-message: "Error ThingWorx Native Interface Connection to ThingWorx failed. | Platform localhost:443/Thingworx/WS, error: could not initialize a secure socket connection." See picture Is there anyone who can help us with this?
Hi, The tablespace "thingworx" is created by default if install Thingworx in Posgresql. If the Thingworx server has two hard disks and each one is 1T, is it possible to create another tablespace like "thingworxTwo" in the 2nd hard disk so that Thingworx can make use of the server's storage ? Regards, Sean
Hi,I'm trying to import 'Gantt Chart Widget' extension and I get the following error: Any help is appreciated.Thanks!
Hi everybody, I created a mashup template that contains a layout with value displays and a shape. When I stretch the displayable screen, the mashup is still ok. But when I shrink it instead, scrollbars appears and the mashup is not responsive anymore. Is there a way to make that the value display and the shape get smaller instead? I know that the font size is not scalable, but even if I put it really small, there is still a lot of white space between the value displays, and the scroll bar appears. This is really annoying, I've been working on this for days. There are some old topic on similar problems but they were all left unanswered. Please if someone could help. Thank you
Hi guys, I have a mashup with a collection widget, that widget in this "parent mashup" is displaying a number of different mashups (in order to achieve some level of responsiveness). The parent mashup is passed a THINGNAME and then needs to pass that THINGNAME along to all the "children mashups" within the collection widget so that they can display the relevant information. For this I am using the GlobalParameterBinding within the collection widget, in the hopes that all mashups within the collection widget will receive that binding in the mashup parameters. However, I keep getting an undefined THINGNAME within the children mashups, despite the fact that the THINGNAME being passed is confirmed to exist as a parameter within the parent mashup and binded along the way successfully. When I set the THINGNAME within the collection widget itself (instead of binding) the parameter is then successfully passed... Any sort of solution would be great, if more informatio
Hi, Does anyone has ever set a 0(Zero) as a max rows in their SQL Query service? What type of behavior they have found in setting 0 as a max rows instead of 500(default one)? I tried it and it seems it is returning the n number of rows. (where n is the total number of rows returned from sql database.) I want this type of result where I don't have to set manually the max rows number, which is by default is 500. Can anyone confirm this from ThingWorx Community or PTC team. Thanks & Regards, Shashank
Hi, I have a label in the mashup and I also have a drop down in the same mashup from where I can select the languages I want to label to be converted to. Eg. - If i selected 'de' in the dropdown the label should be changed to German language. Now for this I created a service which will take language(lang) as input and the result is the converted label : var params = {language: lang /* STRING */,token: 'Test_GoodMorning' /* STRING */}; // result: STRINGvar result = Resources["RuntimeLocalizationFunctions"].GetEffectiveTokenForLanguage(params); This service works for one label. But I have 11 labels in the same screen. How can I write one service to convert all the labels? @Charles Can you help with this? Thanks in advance
Hi, In my customer's case, multiple requests may update different fields of a same record of Data Table . I use the service UpdateDataTableEntry to update the record, which means the whole record will be updated, will the second request overwrite the updated field value of the first request ? If so then the first request's data is lost . The same question is also for Stream updating with the service UpdateStreamEntry. Regards, Sean
I have a service which validates the form fields, I display the following Messages using the Status message widget. User Created Successfully ! Error! User Creation failed Error! User Name already exists Error! Employee Id already exists Error! Enter Valid First Name Error! Enter Valid Last Name Error! Password must contain 8 Characters, Atleast one special Charac & one Capital letter ! Enter Valid User Name Error ! Enter mandatory fieds I want to provide a Language translation for the same. I created localization token for all the above messages and but later realized i was not able to add more than 1 localization token of the property message of the Status message. Using ThingWorx Localization concept how can i achieve this ?
Hi, The minimal password length is 14 in ThingWorx 8.4 . How to change the password policy ? It's not necessary to have the password so long in a in company's local network. It's too long for a end user to input, specially when customers access the Thingworx page via mobile device(iPad or phone), it would be a horrible experience. Regards, Sean
Hi, I'm using the manufacturing app to monitor machine availability. My status codes were not working and I realized that when I look at the "Additional Properties", my Boolean data points are not reflecting what's in Kepware, they just say "False". I'm using Kepware where the tags are updating correctly in real time. I have the additional properties bound to the correct tag from Kepware. Any idea why these wouldn't be updating?
I am having a mashup with a List of different Things (Shape.ImplementingThings) and a Tab-Widget. Now I want to hide Tab1 when the selected Thing is not implementing a specific Shape. I tried to put a Value from a dynamic GetProperty datasource to a validator widget and put the output to visibility of the tab. I checked the "name" property against null and undefined, but it was always true. Is there any possibility to get a boolean for a dynamic thing if it does not implement a specific shape? Best regards.
Follow this topic (https://community.ptc.com/t5/IoT-Tech-Tips/Configuring-and-using-Anomaly-Detection-in-ThingWorx-8-4/m-p/613584) I install "Thingworx composer" , "Thingworx analytic" and "Thingworx MFG App". And I can using "anomaly detection" just in "Thingworx composer". How I config "Thingworx MFG App" for setup anomaly detection?
I installed Thingworx Analytics Server on Linux and connected it to Platform so it created Analytics Extension normally.When I enter Analytics Extension> Analytics Builder> Settings> Thingworx Analytics Server Configuration, the Analytics Server field is populated, but when you click Verify Configuration, there is no return from the installed microservice.
Hi, I have two widgets need to use the same javascript library , I tried to put the library under the folder lib/js and add the following line in metadata.xml for the widget which need the library: <FileResource description="" file="../Common/extensions/NSTWidget/lib/js/echarts.js" isDevelopment="false" isRuntime="true" type="JS"/> But uploading the extension will raise error : "[context: Extension Exception][message: com.thingworx.common.exceptions.InvalidRequestException: Illegal Path - Relative URLs not permitted]" How should I reference the js library if it's shared by multiple customized widgets ? Regards, Sean
Hello All, I tried to Set submenu to the Dynamic menu through a program using the below code. Can anyone suggest, where I need to change the code? var newEntry = new Object();newEntry.linkDestination = "Test1"; // STRING - isPrimaryKey = truenewEntry.isDefault = true; // BOOLEANnewEntry.linkTarget = "ACGE_Library_ME"; // STRINGnewEntry.imageURL = ""; // IMAGELINKnewEntry.description = ""; // STRINGnewEntry.linkType = "Menu"; // STRING - isPrimaryKey = truenewEntry.title = "Test1"; // STRINGnewEntry.groupReferences = undefined; // INFOTABLE result.AddRow(newEntry) I Used the menu data shape as "MenuItem". Thanks in advance Regards Sugumar R
@BABA-SHYAM Hi, could you tell me how did you get this properties?I tried opening it in Visual Studio 2017, and all properties I get are MFC Mode and Filename. (check attached image)
Hi All, I have a few mashups. The access to these mashups is role based. As an example, Mashup A can be accessed by Role A and Mashup B by Role B. Currently if role B tries to access Mashup A, I get a message with the prompt "404- Entity not found". I understand that this is due to the visibility permissions I have applied. But from the end user perspective for better readability and understanding, If the user tries to access the mashups he is not permitted to view, I would like to show a message with something like "User not permitted" or "User does not have privileges". Is there any way to achieve this? Thanks And Regards, Madhumita
Hi, I'm having some trouble making my mashup adaptive for different size of screens. I designed a mashup that contains some "Value Display" and a "shape", and I created another mashup that contains a collection of these (I followed the "Organize your UI with the collection Widget" tutorial). I designed it on my PC but it is meant to be displayed on a much larger TV, and I wanted the mashup to be bigger on the TV but they are the same size as on my PC. Is there a way to make these scale with the size of the screen ? I tried to create the "base mashup" static and then responsive, but they both don't scale. The only difference is that with the responsive, the background "panel" will take all the space he can, but the widgets in it never change size. Is there a way to make that happen ? (It doesn't need to be in a collection, I just want to make a "base mashup" that will scale with the size of the screen). Thank you in advance for your help
Hi, Is it possible to navigate to multiple mashup using single navigation button? In a service I am returning a output integer 1 to 19 and based on that I want to navigate to different mashups dynamically using 1 navigation widget. eg: if (ip == 1) { result = 'Home_Mashup' //Navigate to Home_Mashup } else { result = 'Screen1' // Navigate to Screen1 } Please provide some idea. Thanks, Shalini V.
Hi Developers, I have a use case where i have to purge sensor data for a certain time period as well as have to take backup of the same data before its purged. I have gone through the community and support portal and got an idea on the following activities which will be automated through a Scheduler at the end of each day. How to programmatically take backup of Data Best Practices on purging One challenge i see here is that the service have to purge the data only after it gets a confirmation that the same have been taken backup. So when i run the API for taking backup of data i get a message stating as given below. But it doesn't really give the actual status of the backup activity (like the deployment status available for the SCM module of the TWX Utilities). I have to manually check it up in the logs. Data Export submitted for processing. Please check the log for completion status of Task-<some number> I want to know if ther
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.