Recently active
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
Hi, I am looking for some documentation on the data types that are available when using complex tags in Kepware. I need the enum value as well as the name. <Item><Name>name</Name><Value DataType="5">2</Value><Quality>192</Quality><TimeStamp>1000</TimeStamp></Item I would like to know all the options for <Value DataType="5"> and the data type they map to. Thanks, Brandon
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
Hi, My default user login is "Administrator". I want to create multiple user logins with different credentials(eg. User-Sheetal password-Sheetal@1234567). And how can i give permissions to access them. I have created user, also organization and assigned user in organization. What should i do next? How can i do it? Thanks, Sheetal Sable
Hello, I have used collection widget and mapped info table to collection widget Data. I have mentioned the name of mashup in mashup field. I cannot see the mashup parameter in properties. How can i map info table fields to mashup parameter. As in repeater widget it shows all fields in properties. How can i achieve that using collection widget. MashupPropertyBinding:{"id":"Projectid","Name":"ProjectName"}.MashupGlobalPropertyBinding:{"Projectid":"String", "ProjectName":"String"}.
Hi, It is my first experience with TW Analytics, I am trying to upload a PMML model version 4.3 from third part. I created a Provider using the 'AnalyticsServerConnector' but when I upload the model from file using 'Analysis Models' I get the error: 'Invalid Model' and on the ApplicationLog says: 'Unable to deploy model to TW.AnalysisServices.AnalyticsServer.AnalyticsServerConnector'. Do you know if I might solve that problem or if it is for sure a PMML model problem of compatibility? Kiund regards, Marco
Do we have any extension or tools which have a method for get PDF file's content like LoadTxt service from FileRepository?
"ThingWorx-Platform-Full-Installer-postgres-Windows-8-5-0 (802 MB)" gives a password error though the password matches the strength and the installation is terminated. This is an installer for Thingworx + Flow. Kindly suggest a solution or if this is a release error. We have entered a password strength of more than 20 characters.
Hello guys, i have a problem, for 2 days i am trying to install ThingWorx Foundation, but i got the same error every time. I tried to install it on a fresh windows 7 and 2 times on windows 10 , both fresh install, i have installed java JDK 8, i tried also with JDK 13, i have put the path in Enviorment Variables but still no success. You can see the errors in the pictures attached below. If you have any idea why this is hapening i would appreciate it. Thank you very much ! Have a good day/night.
Hey community,we wanted to update our runnig THingworx 8.4 to 8.5 so I had to test everything local on my computer before we update the runnig system.I got the tomcat version 9 and intalled it all, everything is working ... I thought.I wanted to put our customizations in my lokal system and I got some import error. I went to monitoring, to monitoring and to the ApplicationLogg to see what is going on.I found there 2 error messeges that are coming in every minute and I don´t know what is going on there.The first one is "Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections." and I don´t know what is about localhost:5432, because there is nothing running on this port and with 8.4 I did not had this error.The secoud one is "Error Executing Event Handler 'RunScheduler' for event Type.Thing:Entity.PTC.SCA.SCO.KPIScheduler:Event.ScheduledEvent" Maybe someone has an idea what I did wrong or wha
Hi Guys, I'm a beginner with ThingWorx, and have an application where an operator scans in a serial number of a device in need of service, and that number populates a serial number field on a current mashup which then follows the repair ticket through it's process. Any ideas on how I should start this development? At the moment there is a drop down picker which populates a required service. Each service has it's own serial number code which automatically fills in that field and cannot be edited. I would like the have the user select a " repair " option which will then allow them to scan in a serial number which will populate the serial number field. Thanks,
I am having a strange twofold issue with the collection widget in one of my mashups in ThingWorx. The first issue is that I have to press the refresh button for the collection widget to display all of the desired mashups (some of them do not appear). The second and more important issue is that when scrolling, some of the mashups within the widget drop out and go blank. They can come in and out as you scroll back and forth.The data in the widget is coming from a SQL server with a number of services calling it. I'm not sure if that's part of the issue.
Hi all, I have a drop down widget that displays 3 items. These 3 items are defined in a data shape. Users will be required to select one of the 3 items from my main mashup via the navigation widget, which leads me to 3 individual mashups. However I am figuring out how the code should be done. I took reference from https://community.ptc.com/t5/ThingWorx-Developers/Navigation-to-mashup-based-on-input/m-p/616663 Prior to that, I have binded my Name of my field defintions-data shape to my service-input parameter, Name This is my code with Input being a Name(string), and Output result(Mashup Name). if (name == "Item_1") { var result = Mashups["Item_1Mashup"].GetResult(); } else if (name=="Item_2") { var result= Mashups["Item_2Mashup"].GetResult(); } else if (name=="Item_3") { var result=Mashups["Item_3Mashup"].GetResult(); } The error shows "Error executing service queryFORM. Message :: TypeError: Cannot
I have large size csv. It hasn't datetime info and many items and rows. So I will input parameter Start time and interval time. My code is VS C#. I thin it will make store memory added time information by start time and interval. and then send stream to Thingworx. Can someone please tell me the ideal way? Currently my code is sending data based on one row of csv so it takes too long time. I want to create it like a double buffering. I want to send it to the stream at once without sending it several times. Isn't it possible or is there a better way? I would appreciate your reply.
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.