Recently active
https://ptc.com/en/support/article/CS193947 Hi, Just now I follow this SSL Certificate guide until Step B in Manufacturing Apps. But after that, my original thingworx cannot open and SSL certificate also cannot open. how to figure it out? And how to set my own port number?
Hello. every body. I have a question. I am doing mashup design. First. Entry Picker widget. Second. Button widget Third. DynamicThings thing. Fourth. Grid widget Fifth. QueryPropertyHistory Action. and then I want show Data from selected entry picker. But I can't see result. I want to see the results from dynamically things. Could you help me.
Hi, Is it possible to dynamically chnage or toggle between 3 mashups every 20 seconds? For eg, If I am in mashup1, after 20 seconds, it should navigate to mashup2 and after 20 seconds it should navigate from mashup2 to mashup3 and further after 20 seconds, it should navigate back to mashup1 and the loop should go on. Is it possible to do it? Thanks, Shalini V
Hi Everyone, I have one question is it's possible to display progress bar in side grid cell i.e. according to integer value it should display progress bar instated of value on that respective cell ? if answer is yes then could you guide me on this.... Thanks in advance
Hi, Is it possible to keep the value entered in a textbox in runtime as it is? Even when the page is reloaded, the last value entered in text box should not get disappeared. Is this possible? Thanks, Shalini V.
Hello All, I have few REST API Calls which are available in other server where Thingworx is not installed. The REST calls has published using IIS. I need some guidance how can I call those services from ThingWorx. Thanks in advance. Thanks, Vamsi.N
Hello, I have a strange behavior of QueryPropertyHistory when i try to test it on thingworx services. Im a newbies so i may miss some core functionality of this function. Here is my code: var query = { filters: {type: "LIKE", fieldName: "MSN", value: MSN}};// result: INFOTABLE dataShape: ""var result = me.QueryPropertyHistory({oldestFirst: OldestFirst /* BOOLEAN */,maxItems: MaxItems /* NUMBER */,endDate: EndDate /* DATETIME */,query: query /* QUERY */,startDate: StartDate /* DATETIME */}); I try to fetch properties values from the thing used en second time to generate statistics: the thing store data on valustream database. Scenario: 1- I run this test (1.JPG) As you can see there is rows returned ans there is data on the date 10/30/2019 : 5:30 pm. 2-Now let's do the same test but we change the start date to the current day Result : (No data) The first screenshot show that i have data in this date but when i filter the date i got no rows!  
Hi, I have created a sevice which validates the result based on input. eg: if input date i empty, it brings data for past 10 days. If input date is selected, it brings data for that selected date. I have binded this output to the chart. When the mashup is loaded, the y axis labels shows wrongs, (0 , 2 , 2) the value repeats twice. But when I select the date it shows properly. I have given auto scale of y axis. How can I resolve this issue? Thanks, Shalini V.
I have a python script that's calling a ThingWorx Service. I'm calling a different service elsewhere in the script and it's working, but I'm not sure why this one isn't. The only difference is that this service has an InfoTable input. Here's the relevant code. propNames = { "dataShape": { "fieldDefinitions": { "name": { "name": "name", "baseType": "STRING" }, "description": { "name": "description", "baseType": "STRING" } } }, "rows": [{"name": "Stat_DisplaySpeed1"}] } params = { "maxItems": 500, "propertyNames": propNames, "startDate": startDate.replace(tzinfo=timezone.utc).isoformat(), "endDate": endDate.replace(tzinfo=timezone.utc).isoformat(), "query": "" } headers = { "appKey": PROD_KEY, "Accept": "application/json", "Content-Type": "application/json" } r = requests.post(url, params=params, headers=headers) (startDate and endDate are defined elsewhere in the code) This results in a status code of 406 w
based on my requirement, I need to use LabelAngle. but it not works. May I know what wrong with my input in LabelAngle?
Hello guys, I have seen this post. https://community.ptc.com/t5/ThingWorx-Developers/infotable-pivot/m-p/608598#M36084 But I need a function that allows me to pivot an Infotable with only two columns, one of type number and one of type string. Is there an easy possiblity to do so? Thanks
Hi, I am working on a project where I need to upload a excel file from my system and display its content in grid. On uploading it should direct to a popup with grid and the contents in excel has to be displayed in grid. I tried to use file upload but its so confusing and the tutorial too didnt help me understand how to make my scenario possible. Please provide some help. Thanks, V Shalini.
Hi all, i'm trying to create a widget that has to deal with N inputs. Each input needs an EVENT, that will be fired if the binded input its selected. The problem arises here, in Thingworx you can't add dynamically properties, but you can declare them in the "widgetProperties" function with "isVisible" attribute, and set/unset it. (and it worst as expected) : mdfork.ide.js this.widgetProperties = function () { var properties = { 'name': 'mdfork', 'description': '', 'category': ['Common', 'MD-Components'], 'defaultBindingTargetProperty': 'Value', 'properties':{ 'icon':{ 'defaultValue': 'share', 'isEditable': true, 'baseType': 'STRING' }, 'comparablesNumber': { 'description': 'Aumenta questo valore per aggiungere altri slot di comparazione', 'baseType': 'NUMBER', 'defaultValue': this.prevComparablesNumber, 'isBindingTarget': true, 'isVisible': true }, 'CustomClass': { 'description': '', 'baseType': 'STRING', 'i
I have a CollectionWidget in an Mashup which shows things. Than I made Mashups for selected and unselected entries on which the thingname is passed. After the Loaded the GetAvatarURL() is called which puts the thing avatar to an image widget, therefore i now see the thing avatar on each collection entry. But now when I change the selection sometimes the picture of another avatar is shown as avatar. For example I have Machines "Square","Circle" and "Triangle". Collection: "Square" "Square" "Circle" --> Selected "Square" "Triangle" When I now select the second entry which is a "Square" thing, the avatar of "Circle" is shown/rendered on this item. The difference between red and black square is just a css style for blackandwhite. But as you can see the Thingsymbol changed to the avatar of the squarething 😞 What should/can i do now to fix this behaviour? For me it seems like a rendering latency which is causing this problem.
Hi everybody, I'm trying to configure my .NET Agent to communicate to Thingworx over https (wss), but on the "start" method it gives me back this error. com.thingworx.communications.client.TwApiWrapper Error: 0 : [Error] Error intializing SSL connection com.thingworx.communications.client.TwApiWrapper Error: 0 : [Error] twWs_Connect: Error restarting socket. Error 0 Actually I've Server: I've currently configured out the certificate chain for TW tomcat, and I'm able to use it via Chrome (over https) and it's secure as well (since I've added my SelfSigned CA as Trusted Auth). Client: The configuration on this client is the following: // TLS CertFileInfo serverCertFileInfo = new CertFileInfo(); serverCertFileInfo.FilePath = ConfigurationManager.AppSettings["ServerCertificateFilePath"].ToString(); serverCertFileInfo.CertType = 0; // '0' for axTLS config.ServerCertFileInfo = serverCertFileInfo; config.AllowSelfSignedCertificates = Boolean.Parse(Conf
Hi All, I need to import an excel file into thingworx. Can anyone please help me in writing a code in eclipse to read an excel file just like the CSVParser extension does for csv. I have already installed all the required extensions and plugins in Eclipse. Thanks and Regards, Biswa
Hi all, I am trying to get the number of field definitions from my infotable as shown. In this case, I want the number of field definitions to return 4. I've tried using getFieldCount() but it doesn't seem to work, any help will be greatly appreciated!
Hello, In version 8.3.2, when I select a service like QueryImplementingThingsWithData on a ThingTemplate, next query I can click Edit Query. It open a popup Create Query with a Add Filter button. When I click on the Add Filter button, I can select on a list a field and define my query. OK no problem ! When I do the same on a Thingworx version 8.4.3 or 8.4.5, when I click on the Add Filter button, nothing happen ! There is no list with my fields that is displayed and I can't define my query. For information, in Chrome console, I don't have error. Does anyone have the same problem ? Thanks Julien
Hello, I have troubles with setting the selected text of a Kendo Dropdown List widget. I have tried to bind a string to the 'value' property or even initialize the property with a text but when I run the mashup the list has not a selected value. Do you know how I can fix this problem? Thank you very much, Mariana Mina
Hi guys, I am trying to use a tree widget to display a nested list for options a user can select. Can someone please provide a basic working example? I tried to follow article, this community post and the online video but no data is being displayed in the Tree Widget on my Mashup. Not sure what I am missing. Thanks in advance.
I am trying to update Style Definition through a service and I have done updating background color and font color but unable to update image.How to Update Image in it? I used code below to update style through bindings. (updatePropertyInfo.TargetProperty === 'Style') {var LabelStyle = TW.getStyleFromStyleDefinition(this.getProperty('Style', 'DefaultLabelStyle'));var currentTextSizeClass = TW.getTextSizeClassName(LabelStyle.textSize); this.setProperty('Style', updatePropertyInfo.SinglePropertyValue);LabelStyle = TW.getStyleFromStyleDefinition(this.getProperty('Style', 'DefaultLabelStyle'));LabelStyle = (LabelStyle.styleDefinitionName === undefined) ? TW.getStyleFromStyleDefinition('DefaultLabelStyle') : LabelStyle; var element = this.jqElement.find('.label-text');element.removeClass(currentTextSizeClass);element.addClass(TW.getTextSizeClassName(LabelStyle.textSize));var LabelStyleText = TW.getStyleCssTextualNoBackgroundFromStyle(LabelStyle);element.css(convertStyleToCssObj(LabelStyleTex
Hello, I am trying to bring a custom chart in thingworx, It is a out of the scope of thingworx widgets so am developing it using HTML,JS and viewing through webframe widget. Whenever I call thingworx services it is returning HTML response instead json. Please find the sample code below. <!DOCTYPE html><html><head><script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"> </script></head><body><button onclick="callme()">click</button><p id="results">check here</p><script>function callme(){ $.ajax({type: 'POST',contentType: "application/json;charset=utf-8",accept: "application/json;charset=utf-8",url : 'https://localhost:8443/Thingworx/Things/test/Services/parseData',success: function(response){console.log(response); $("#results").append(response.result);}}); }</script></body></html> Here, The service parseData() is returning HTM
This answers the question but brings up another for the developers: Is there any chance of adding this functionality to the list of Services available to end users? Specifically to change Property Category, Data Change Type, etc. via scripting.
Hi everyone, I am trying to get the hang of getting xml data from a sample website and translate into an infotable. However, I am still getting an infotable without any data. Here is my code. var params = { proxyScheme: undefined /* STRING */, headers: undefined /* JSON */, ignoreSSLErrors: true /* BOOLEAN */, useNTLM: undefined /* BOOLEAN */, workstation: undefined /* STRING */, withCookies: undefined /* BOOLEAN */, url: "https://www.w3schools.com/xml/simple.xml" /* STRING */, timeout: undefined /* NUMBER */, password: undefined /* STRING */, domain: undefined /* STRING */, username: undefined /* STRING */ }; // result: XML var result = Resources["ContentLoaderFunctions"].LoadXML(params); var params1 = { infoTableName : "InfoTable", dataShapeName : "Food" }; // CreateInfoTableFromDataShape(infoTableName:STRING("InfoTable"), dataShapeName:STRING):INFOTABLE(PLANT) var FoodTable = Resources["InfoTableFunctions"].CreateInfoTableFromDataShape(params1); var newEntry = n
Hi , lately I have not been able to see Maps in my Mashups and see errors as 'Oops! Something went wrong. This page didn't load Google Maps correctly. See the JavaScript console for technical details' , On checking the console I could see 'You must enable Billing on the Google Cloud Project at' . To resolve this , I created a new API Key on google platform console and changed the API Key in metadata.xml file in GoogleWidgets extension folder. Restarted the server and cleared the cache of browser as well. Still facing the same issue. And in the console still see the old API Key and not the new one. How to fix this? Thanks, Vikas Tripathi
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.