Recently active
Hello, We are trying to implement a hierarchy where a piece of equipment will be split up into assemblies and sub assemblies. What is the proper way to implement this? How does asset advisor or Manufacturing apps do this on the back end? Is it best to split them up into separate things? from a data visualization standpoint, they should all stick to the same "thing." What our current thought is that we have a thing per equipment and then group up sets of properties in different data shapes. Is this an appropriate approach? In order to check if the property is part of a datashape though, we have to use queryImplementingDataShapeWithData which could be performance intensive as it has to check security for every property. What is the best approach going forward here? Is there a process to categorize properties within a thing itself?
Hello, I have a requirement to perform some action at startup (like filling some data tables or running some services associated with Thingworx entities), for that I am using a subscription to ThingStart Event. But I would like to have some more insights on how and when does ThingStart event occurs/triggers. I read in some documentation, that ThingStart event is fired when the Thing is created, so does that mean it occurs only once in the lifetime of a Thing? I tried to look for some detailed information for ThingStart event, but was unable to find it. Another part of my question is what is the provision to have constructor and destructor feature for Thingworx entities, say for example, I would like to associate my Things with a Value Stream, when it is created (so I could do - Create a new Thing, Create a new Value Stream and assign the ValueStream to a that thing). Similarly while destroying a Thing I would like to de-assign the Value stream, delete the thing and delete the va
Hi Team,I hope many of you might be using external DB to store project data as it is huge in size. But you might have faced challenges like writing required queries AddorUpdateDataTableEntries, queryDatatableEntries,PurgeDataTableEntries.1. You had some generic AddOrUpdateDataTableEntries like in thingworx or you have been writing queries specific to each data table operations.2. QueryDataTableEntries - In Where condition some queries might use a single column and in some other queries there might use many columns. Otherwise please confirm if you are using specific queries for each Query of DataTables that contain different fields.As we are in the initial phase of setting that up, it would be helpful for people like us to understand and be prepared for the same.Regards,Radhakrishnan.
Hi everyone, I'm using REST API to automate my application with TW Analytics. I've succesfully uploaded CSV and JSON files to AnalyticsUploadStorage using CreateTextFile service. However when creating a dataset with the uploaded files using /Thingworx/Things/AnalyticsServer_Thing_DataThing/Services/CreateDataset which gives 200 OK, but the job fails with following error in the GetJobInfo api response: ProtocolException: The server failed to respond with a valid HTTP response Creating dataset through Analytics Builder works fine but I require REST API for automating. When I look at the call that the AnalyticsBuilder is using, its the CreateDatasetAMS service of the TW_ML_Helper Thing. Using that in postman also gives 200 OK but the subsequent GetJobInfo returns with the same error. Can anyone tell me what's wrong here...
Hi everyone,We're attempting to create a simple applet in Thingworx that accesses our windchill repo. So far we've been able to create queries that can fetch our available container and folder types. However, we are unable to access the objects (ei. parts, process plans, documents) contained within the folders by using a conventional query.The Windchill extension query service takes:var params = {containerUfid: /* STRING OR:wt.pdmlink.PDMLinkProduct:2559991*/,criteria: /* STRING */,type: /* STRING */,dataShape: /* DATASHAPENAME */};After using our subfolder obid in our queries, we got the following error:Wrapped com.ptc.jws.service.com.ptc.windchill.ws.Exception_Exception: com.infoengine.util.IEException: java.lang.ClassCastException: wt.folder.SubFolder cannot be cast to wt.inf.container.WTContainer Nested exception is: java.lang.ClassCastException: wt.folder.SubFolder cannot be cast to wt.inf.container.WTContainer; nested exception is: wt.uti
Hi Experts, Coluld you pls guide me on steps forTransfer a file(zip) from TW Server to remote JavaSDKI tried something, but not succeeded, using Copy service.With that I cud achieve only copy a file between two folders, both on the TW Server.My need is to copy a file from TW Server to remote JavaSDK.Thanks
Hi, I try to connect a thing (with MySqlServer template) to my db (MySQL), but the property isConnected is always set to false and the service that i create for test the connection give this error: "Unable to Invoke Service <nameservice> on <nameThing>: null". In the thing configuration I set JDBC Driver Class Name and the JDBC Connection String as following: 1) com.microsoft.sqlserver.jdbc.SQLServerDriver 2) jdbc:mysql://localhost:3306;databaseName=dbmesfava_dbo Someone can help me? the version of thingworx is 8.2. Searching for this problem I find solution just for previous versions.
Hi, My Thingworx instance working fine when logging-in using Google Chrome browser but it fails when loads using Internet Explorer browser. Detailed description: Form Login page has login prompt in the center of the web page when loads on Chrome browser. But when I try to load Form-Login page using IE Browser with Compatibility settings,login prompt get shifted to left side of the web page.And it work fine once we remove the Compatibility settings on certain machines but on few other machines,this doesn't work and get shifted to left side of the window with distorted CSS. Please find attached snapshots of IE compatibility settings and Form-Login after doing compatibility settings change in IE. Thanks in advance.
I would to ask if there is anyone that knows how to retrieve the auto generated id value of a value stream entry using a service
Hey guys, I've reviewed some posts in the forums that are relevant to my issue - Such as "How to set image in media entity dynamically?" that was posted by done11. I am currently facing an issue with my dynamic media entity.I have followed this code snippet: var params = { url: 'https://pbs.twimg.com/profile_images/447374371917922304/P4BzupWu.jpeg' /* STRING */, }; // result: IMAGE var image = Resources["ContentLoaderFunctions"].LoadImage(params); var params = { name: 'TestMedia'/* STRING */, content: image }; // no return Resources["EntityServices"].UpdateMediaEntity(params); I have set up a template thing that is referencing a file repository base thing template, then I proceeded to create a thing with the service(baseType ImageLink) mentioned above. I created a "dynamic" media entity that has a corresponding name to my service. I bound the service from my thing to the media entity but I have no image displayi
What is the best way to transfer files between the edge and thingworx if an SDK and websockets aren't available? The FTP extension seems like an obvious solution, however as far as I can tell it only supports FTP, not FTPS, SFTP, or any other protocol which encrypts data in transit. Can the REST API be used to upload files? I don't recall any sections on file transfers in its documentation.
I asked this question in a followup to another thread, but it makes sense as its own as well: what persistence, if any, is offered in a virtual directory? Let's say that I set up an edge device with an outgoing virtual directory, put some files on there, and wait. The server can see the files through the FileTransfer shape. If I delete those files on the edge device, the files disappear from the FileTransfer shape, but were are those files still visible from an upload sent to my Thingworx server? Can I make use of Thingworx Virtual Directory to copy files from an edge device for backup directly essentially, or do I need to have another "BackupThing" which listens for the appropriate event on the Thing that I care about and executes Copy services to move the files being backed up into the always-on "virtual" BackupThing for safe keeping?
Hi Guys, I am loading a drop down list with string values bring from my database, but I need pass that value chosen to one specific thing property, i don't know the way to do this. Thanks in advance.
Hi I am having trouble receiving mail from the Gmail server. I have followed the Gmail instructions on how to set up a mail server from this link below: https://support.google.com/mail/answer/7104828?hl=en&visit_id=1-636573974484421094-922945729&rd=1 I am able to send email from the SMTP Server. But my POP3 server that is receiving mail appears to be the issue. Have followed the Mail Extension Server Guide too. Anybody else had a similar issue? Any resolutions or guidance will be appreciated. Thanks Sean
Hello everyone, i am wondering whether you can retrieve the Header of an Infotable as an JSON file in such a way that it fits the format for TWx Analytics Datasets like explained here. Or maybe the better question is, whether you normaly define these JSON files per hand (since it contains fields like "opType"). I would be already happy if it worked for the required fields only. Anyway, any help and thoughts on this are appreciated very much. Kind Regards, Dominik
Hello,I'm trying to use the Sigfox Extension with Thingworx 8 but unable to see how to integrate both. I know from experience that with Thingworx 7 and older you could pass the appKey in the URL and use the Custom Callback in Sigfox in BatchUrl Channel, but now with the deprecation of the appKey being passed in the URL, and this turning into a header I'm in dire need of assistance to integrate the Sigfox Extension that today is habiting in the marketplace with the newer version of Thingworx.I have made testes and you are able to use the URL channel in the Sigfox Backend, and in fact reaches the Thingworx machine but the Service CallbackDataBatch of the Sigfox Extension becomes useless since the method to be used with the Extension needs to be BatchURL.Do you have a sugestion for the people that are using the newer version of Thingworx and still want to use the Sigfox network? A new extension perhaps?Thank you.António Correia
Hello everyone, i want do add a subscription to a Thing from within a script but i don't seem to be able to do so. I have tried using EnableSubscription which is not what i'm looking for since it simply activates or disables an already existing subscription. I have also tried using AddDynamicSubscription but this subscription is only in-memory which is not what i want. Is there any way to just add a subscription to a thing from a script like you would when using the editor? Thanks in advance!
I imported the Autocomplete widget extension from the marketplace in Thingworx 7.4.After placing the Autocomplete widget in a mashup, it is not shown when viewing the mashup.Anyone who also has this issue and knows how to resolve it ?
Hi, I am trying to connect Azure IoT Hub to thingworx and I am facing a problem when I need to set the environment variable. When I run this line into the shell : set AZURE_IOT_OPTS=-Dconfig.file=C:\Thingworx-Azure-IoT-Hub-Connector-2.0.0.141\connector\conf\azuire-iot.conf -Dlogback.configurationFile=C:\Thingworx-Azure-IoT-Hub-Connector-2.0.0.141\connector\conf\logback I have an error : -Dlogback : The term «-Dlogback » is not recognized as a cmdlet, function, operable program, or script file. Thanks.
Hello everyone, i would like to create predictive model for a simple thing with a few properties i defined. These properties are already logged and the thing has a value stream assigned. My question is, how can i retrieve a Dataset (as CSV) and a Dataset Field Configuration (as JSON) from it? Apparently i need these to files in order to analyse my thing. Or maybe you can tell me if there is anything wrong with my approach in the first place. I would also like to know how much "history" data you actually need to make good predictions. Best Regards, Dominik
I am exploring option to complete work item using a Java or Infoengine tasks. Thingworx has out of the box CompleteWorkItems service. It does not take Voting ( Approve / Reject) as an input parameter. Is there any documentation I can access to figure this out.So I am wondering if anyone has explored completing the workitem with a Vote option from Windchill side. Thanks for your help.Preeti
Hello community , Please does anyone have an example of dataset to predict time before failure ? Regards
So, I am running 6.0 and am trying to parse a CSV file. I have downloaded the CSV Parser Extension and have boiled down the code to the bare minimum and haven't been able to get it to work. In fact, I have a very simple test and my results are the same as when I use the GetCSVFile Method. Here below I am using a very simple example and the result is that I only get the very first column and not the second column. I am certain I am doing something wrong but I haven't been able to locate the documentation for the extension. I have looked through the forum and found links but they are dead links. Can someone help with getting the Description column populated?Thanks in advancevar params = { columnMappings: "Tagname; Description;" /* STRING */, hasHeader: "false" /* BOOLEAN */, longitudeField: undefined /* NUMBER */, dateFormat: undefined /* STRING */, latitudeField: undefined /* NUMBER */, fieldDelimiter: undefined /* STRING */,&n
Hello I'm displaying data from a stream using chart V2 and chart V1 with exactly le same bindings to data. Chart V1 (embeded with THX 7.4) is working fine, chart V2 is static (as loaded with mashup) whatever I do in time picker. The grid with same bindings is working very fine I have an error in application log I cannot understand, I guess it is linked due to the date : [context: com.thingworx.webservices.context.HttpExecutionContext@6ee64f5][message: Entity Not Found : [ ]]
Hello, I have created a Thingtemplate, having certain numeric properties and I have also configured the Alerts for those properties. I would like to know, if I can get the 'Config' of those alerts, in exactly same way as they are shown in Composer. To make my point more understandable about what 'Config' I am talking about, please refer the attached image. I want to show that aspect just for informative purpose. I mean even if I can get that data as metadata for any alert or by any other means. Other option is I can generate it myself, but that would require many checks and validations and I wanted to avoid that. Thanks in Advance Regards Aditya Mittal
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.