Recently active
Above is a general outline of our Thingworx Model we are working towards using Thingworx 8.5.0-b12 with Kepware's KepServer. We start with a base ThingTemplate, then have a set of Thing Templates inherit the BaseTemplate based on the manufacturer or model of the real world device we are modeling. From there, we create a Thing for the real-world device and it inherits from the appropriate model template. We then bind the properties of our Things to the properties of Industrial Things that are made available through our Kepware Industrial Connection. The problem comes when I added an overridable service and subscription to the BaseTemplate. The subscription calls the service on the AnyDataChange event for 'Me'. This works great except for the Things derived from a particular model's ThingTemplate. For the Things that derive from the problem ThingTemplate, I can observe that the properties are changing through the binding to their corresponding Industrial Thing. If I add an
this is an example about that.I want to change Value and target from left side rather than grid. how to programming?
Hi ForumI have a weird problem in thingworks. I have a thing shape with a data change subscription. The script needs to update a property value and as usual i write "me.<property> = <something>" but for some reason the property does not get updated. If i copy paste the code into a service and execute the service it works just fine. I have a logger message in my script and can see that the subscription is triggered but the data is not updated. Even more strange, when i make the subscription trigger the service (that i know work) i can see that the service has run, but again no update to the property.... whaaat.... if i then right after trigger the service manually the property updates. I have no clue why this happens. It used to work on 8.4.x since then i have updated to 8.5.0 and now i have this mess. Hope someone can help me.
Hi everyone, I am creating a mashup that allows users key in their personal records and to upload multiple files via file repository. These data will be recorded into an infotable where another mashup will be generated to display all the records. I have created a column to allow download the files that have been uploaded previously and render it in hyperlink format. In order to get the download link Full path (one document uploaded) :"http://localhost/thingworx/FileRepositories/CustomFileRepository/A.jpg" Full path (multiple documents uploaded) : "http://localhost/thingworx/FileRepositories/CustomFileRepository/A.jpg | B.jpg | C.jpg"The multiple files uploaded are seperated by " | ". Download link in infotable works for a single document, however problem will arise when multiple files are uploaded
I have one thing (School_TH) with 2 properties of infotable type and 1 custom service. The first property (infoTeacher) has the following fields: id, name. The second (infoStudent) has the following fields: id, name, idTeacher. Both have data.The service (GetFilteredStudents) has an input parameter (p_idTeacher) that takes the id field from the line selected in infoTeacher and filters the students as the teacher has chosen.I want to show teacher information in one List Widget and, depending on the teacher chosen, show in another List Widget the students related to that teacher. Here are my steps:1) I created a mashup with 2 List Widget; (OK)2) In the Data session I put my thing (School_TH) with 2 services: My custom service (GetFilteredStudents) and the "GetPropertyValues" service, the latter being loaded when the mashup starts; (OK)3) I bind to the first List Widget (Teachers) the "All Data" of "infoTeacher" property of the "GetPropertyValues" service; (OK)4) I bind with the second Li
I have created a Database thing on TWX 8.5.1 and trying to read data from PostGres. Using Postgres 11.5 running on Debian Linux on a remote serverUsing postgresql-42.2.9.jar on Thingworx/WEB-INF/LIB loaded on Thinworx 8.5.1 server (windows) Configured all settings on my thing, but can´t connect to Postgres, Please, how to enable debug to understand why is not connecting? Any logs I can check for error?
For access to subscribe service on private Mqtt broker is mandatory to notify the IP address of host that will do request to the broker. How can I to identify the Ip address of Thingworx on PTC cloud ? Many Thanks Dimitri
I am trying to enable some subscriptions on a Thing programmatically on ThingWorx 8.4.0. I wrote a simple service that calls the EnableSubscription service, but it keeps giving me the error: Message :: Cannot Update A Subscription That Does Not Exist! - See Script Error Log for more details. Here's an example setup in which I get the error: Thing: 'DummyThingEntity' Property on DummyThingEntity: 'TestNumber1'Subscription on DummyThingEntity: Name: 'Foo' Event: 'DataChange' Property: 'TestNumber1' The subscription simply logs a debug message. Service on DummyThingEntity: 'Ensub' Code: me.EnableSubscription({ thingName: me.name /* THINGNAME */, eventName: "DataChange" /* STRING */, propertyName: "TestNumber1" /* STRING */ }); Do I have something incorrect in the 'EnableSubscription()' snippet?
Dear community, I am experiencing an issue with the Collection widget on our development system. I have a Mashup using Collection widget and it worked fine for several months. From one day to the next the Collection widget (or rather its content) was not visible anymore, the space is simply empty. I have not changed any settings or anything else on the server or environment but cannot 100% guarantee that none of my coworkers changed anything. The Collection widget does not work on any Mashup. I created a new one from scratch, same behavior. This only occurs on the dev system, so far no test or prod system is affected. I exported the working version of the Mashup from prod back to dev - still empty. The bound data is for sure NOT the issue, the good old repeater is working like a charme using the same data source. I observed a similar behavior in the beginning of our project when you first have to check "Enable Beta Mashup Features" on PlatformSubsystem -> Configuration. B
I have the same problem and basically the same configuration as showed. I'm able to see the data on the OPC quick client, I have "logical Non-Blocking" under protocol mode. There's a message displaying "Error pushing property updates to thing" not sure if it's something related to it, Hope you can help me, Thank you,
Hello. I am trying to import a project from a xml file. I get this error in the Thingworx log file " Thing XXX has an invalid thing template [DataExporter] ". I'm looking at the marketplace but I can't find the extension DataExporter. My client use Thingworx 8.33 and I using 8.5. I need someone to help me. Thank's
Cannot see/edit the Widget in Editor mode ... Any Ideas?
Hi Team, please, is possible to bind a thing to a Kepware Alias? I can browse all kepware structure, but can´t find how to bind to alias
Hi, I am using Thingworx 8.4.5, and I have came across a new attribute. While adding Fields in a datashape there is an attribute as 'Friendly Name'. I assume that was not there in previous thingworx version. I would like to understand the meaning and usage of that. Thanks in advance Aditya Mittal
How to create a mashup widget to view excel sheet.My question is where to add the excel view code in IDE and Runtime file.Sample IDE and Runtime is attached below IDE File TW.IDE.Widgets.vvvvfb = function () { this.widgetIconUrl = function() {return "'../Common/extensions/testttt/ui/vvvvfb/default_widget_icon.ide.png'";}; this.widgetProperties = function () {return {'name': 'vvvvfb','description': '','category': ['Common'],'properties': {'vvvvfb Property': {'baseType': 'STRING','defaultValue': 'vvvvfb Property default value','isBindingTarget': true},'Name1': {'baseType': 'STRING','defaultValue': 'This is a value','isBindingTarget': false}}}}; this.afterSetProperty = function (name, value) {var thisWidget = this;var refreshHtml = false;switch (name) {case 'Style':case 'vvvvfb Property':thisWidget.jqElement.find('.vvvvfb-property').text(value);case 'Name1':thisWidget.jqElement.find('.vvvvfb-name1').text(value);case 'Alignment':refreshHtml = true;break;default:break;}return r
Downloaded the .NET SDK and everything works fine on my windows 10 laptop. But when running the exact same bits in a docker container, getting this error. I have tried various images such as microsoft/aspnetmcr.microsoft.com/dotnet/framework/sdk:4.8docker pull mcr.microsoft.com/dotnet/framework/runtime:4.8mcr.microsoft.com/windows/servercore:10.0.16299.1029 com.thingworx.communications.client.TwApiWrapper Error: 0 : Error initializing the .NET SDK. : System.DllNotFoundException: Unable to load DLL 'twApi.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)at com.thingworx.communications.client.TwApiWrapper.twW_SetLoggerProperties(TwApiLogLevel level, Byte isVerboseEnabled, TwLogMessageDelegate onLogMessage)at com.thingworx.communications.client.TwApiWrapper.ConfigureTwApiLogger()at com.thingworx.communications.client.TwApiWrapper.Initialize(ClientConfigurator config) Unhandled Exception: System.DllNotFoundException: Unable to load DLL 'twApi
Hi, I just encountered this problem, when I tried to create some Transformed properties in Thingworx 8.5 and Platform Analytics 8.5, they didn't work. But all those kinds of properties worked fine in 8.4. The transformed properties I created have a question mark, but not a thumb up sign. And I also tried Statistics Calculation and Monitor services, they all worked normally. Is it a bug or I missed any configuration? Thanks in advanced.
Hi guys, I am creating a mashup to create new users. In Thingworx 8.5 it seems that the MaskInputCharacters property has been removed from the Textbox widget as discussed in this post and this article. Anyone have a work around or how to do this?
Hi , Could someone tell me where the "Allow Override" is in Thingworx 8.5 ? I coundn't find it in Service Info.
In this post I show how to use Federation in ThingWorx to execute services on a different ThingWorx platform instance. In the use case below I set up one ThingWorx instance in the Factory and another instance in the Cloud, whereby the latter is executing a service which is actually running on the former. Please find the document in attachment. HTH, Alessio Marchetti
Team,Our customer would like to create a service on the thing template that would allow them to create a thing and also do a remote binding to a kepware device,Please, any code example that we can use for that thing creation and remote binding?TksChris
Hello All I have a date and time format in excel i tried different address ( S0000-S9999 , K0000-9999 and R 0000-9999 ) of the date and time in kepserverEx but still is it not displaying the Correct date and time in kepserverex can anyone guide me to overcome this issue
Hi guys, I am trying to generate a time series chart with a certain property from all the things of that template. I am trying to write a service in a thing that will get the data required for the graph. The service I have however returns all the properties and does not filter on the property infotable as expected. Can anyone please assist with how I can achieve this? My service code is below. //GetDataTrend// today datetoday = new Date(); // if no date specifiedif (!StartDate){StartDate = dateAddHours(today, -24);} if (!EndDate){EndDate = today;} // create infotable to collect datavar params = {infoTableName : "InfoTable",dataShapeName : "EntityList"}; // CreateInfoTableFromDataShapevar propInfoTable = Resources["InfoTableFunctions"].CreateInfoTableFromDataShape(params); // EntityList entry objectvar MotorSpeed = new Object();MotorSpeed.name = "MotorSpeed"; // STRING [Primary Key]MotorSpeed.description = undefined; // STRING propInfoTable.
Hi, I have installed first Thingworx 8.4.5 in my local system and applied license. My local system IP address is dynamic. Currently upgraded to 8.5.1 in same system. In that process, I have deleted all the Thingworx plotform folder and Thingworx storage folder. and also, I have deleted thingworx database from postgre's and created again. Before deleting the Thingworx plotform folder and Thingworx storage folder, taken backup. Now copied same files back Thingworx plotform and Thingworx storage after install the new .war file. Updated plotform setting file based on Thingworx 8.5 version. Also, given access writes to all the Thingworx folders. When I restart the Tomcat server and open thingworx composer, generated licenserequestfile.txt. Its not working with existing license. Also, giving the everytime different device id's in license request file. May I know the reason , why its generating different device id's?. What bases device id's will generate?. Regards, Latha &n
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.