Recently active
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
Hi, How can I pass a result to a property of a Thing? I have a service which executes the stored procedure and returns a output string. I am calling this stored procedure through a subscription so whenever there is a data change in a tag in kepware, a row is updated into the sql. I wanted to set the service output string in the property of that Thing through a subscription whenever the tag value is changed. Propertyservicesubscription Thanks, Shalini V.
Hi Developers, I'm facing challenges while querying a value stream through "QueryNamedPropertyHistory". Challenge 1 : When I gave the Start Date and End Date as input for the service i got an output as shown in "SD and ED given as input" image. I want to map the Type column entries with that of the Data column so that i can filter the data entries based on type. But certain type entries were removed as there were some duplicates. Workaround_C1 : When I set the SD and ED as undefined for inputs and sent them as part of Query input of the same service it gives the desired output as shown in the "SD and ED given as query". Challenge 2 : Earlier i had given the maxitems for the service as 1000000 and got infotable result with 136 entries. but when I set the maxitems as 1000 I'm getting only 3 entries. Workaround_C2 : Since I wanted to give the optimum number for the max items and also to get all the entries I set it as 10000. This service is running
Hi all, I'm starting in the plataform and I'm having some difficulte with mashup's resolution. My question is: How to configure the mashup to open with the same resolution in my devices (smartphone, notebook, tablet...)? I am creating a mashup type responsive (advanced) and I had been tryed with the type just responsive too. Regards.
I created database and tables in postgres, folders for thingworx, after apache server is started the Thingworx war is extracted but it is not deployed. only the thingworx inside the server is not deployed, hitting the URL gives a 404 error. The Tomcat Web Application Manager gives a message like, FAIL - Application at context path [/Thingworx] could not be started no Thingworx logs are created, i have attached the apache logs.
Hi , To update an existing entry, I'll call the two services: 1. GetDataTableEntryByKey 2. UpdateDataTableEntry There may be several users to update the same entry with the different field value at the same time , so to avoid the update last , I think SELECT ... FOR UPDATE should be used. Does thingworx generate such SQL ? If not ,how should I make sure the data consistent ? Regards, Sean
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.