Recently active
How QueryAlertSummary work in ThingWorx? Where does these data coming from? DB or memory?
I have to develop a solutions that involve supervision of the model performance over time, and compare the production model against other models with different algorithms or trained with different data. The flow could be analogous to the below image, were the Production Model is the main one, but if any of the other models gets better results, e.g. Challenger 3 then it takes the position as the new champion.
Hi, I'm having trouble fetching the value from the service parameter, I have this in my code [ThingworxServiceParameter(name = "Name", description = "Name", baseType = "STRING")] string name but when the value Is sent from thingworx, I don't get the value in my application
I have the Kepware tags, but there is no data from tags, is there a way to generate Random data from the kepware software based on the tags, some kind of simulation?@c_lowy can you help me out with this?
Hi All, I follow this guide(https://developer.thingworx.com/en/resources/guides/connect-kepware-server-thingworx-guide/bind-industrial-tag) to step 4 In step 4, I found that the Industrial Thing I created was not connected to Kepware Server. According to the Guide, I have set the Base Thing Template and Implement Shape of Industrial Thing The thing used to connect Thingworx and Kepware server is also successfully connected. I want to know why I operated completely according to the guide, but the industrial thing shows no connection. How should I solve this problem?
I have a testUser inside a userGroup inside myOrganization I configured SMTP Mail Server for Outbound Messaging (using outlook) To test Service I use SendMessage method. It works fine My problem comes after using reset password inside myOrganization login form. I get the following messages: Warn User [testUser] is a member of [myOrganization] and has confirmed their personal information - sending reset email SuperUser S.c.t.s.a.ThingworxFormAuthenticator https-jsse-nio-8443-exec-56 then Error Error sending email to the following invalid addresses: null S.c.t.t.m.MailThing https-jsse-nio-8443-exec-56 and finally Error retrying to send an email to valid recipients after invalid ones caused a failure, or failure to send an error email about this event: 501 5.1.7 Invalid address_ S.c.t.t.m.MailThing https-jsse-nio-8443-exec-56 &
Original Post Date: June 6, 2016 Description: This is a video tutorial on creating a DataTable with a DataShape, and adding and retrieving an entry.
I am trying to conditionally style a checkbox widget, box background when both the box and any other part of the checkbox widget are hovered over. However I am unable to override the default background color. Through Google inspection tool I can disable the background color being applied and my styling apply as intended. How can I override the defaults using custom CSS? A theme with the custom css and a checkbox mashup have been attached for recreation. As well as pictures showing current behavior. Note, screen shots did not capture cursor hovering over checkbox label.
Hi , after bindings done to Grid in Mashup. i wanted to remove one field from Datashape which is connected with Grid. anyway i removed specific field from DataShape but facing below issues.. 1. Still deleted fields are showing in Grid. 2. Not showing at 'Configure Grid Column' of grid . but Showing at Grid in Composer or Runtime. FYI-I tried reloading the page and reloading the bindings. Thanks
Hi, Does anyone have a code example for connecting to thingworx with the .net sdk? I'm new to thingworx and the documentation is kinda of confusing. Just looking for a example that shows how the connection work.
Sunshine, beach chairs & ThingWorx 9.2. What more could you need for your summer essentials? Targeted for June 2021, our next release features intelligent one-click deploy with Solution Central*, new web components, and an enhanced IAM integration! Let’s dive deeper into each. Deploy an entire solution in one click with Solution Central’s intelligent one-click deploy.Good news: you followed a modular design pattern and broke up your application into smaller libraries and components. You can now enjoy easier maintenance and re-use of your app. Bad news: your app now has 10 different dependencies, with differing versions, each with a required order to import into ThingWorx. Now, try to share these modules with colleagues, or use them on environments where code may already exist. Not exactly a day at the beach, right? Fear not, one-click deploy has you covered. You click the button, we spin through and find the right dependencies, the right versions, the
Our problem is Communication between Focas 2 CNC / PMC data window control libraries on the Device and the KEPServerEX Fanuc Focas Ethernet Driver. We need to use SERIES 0i I read the problem topic upload by @Kate "Connecting the robot and KEPSereverEX" and all chat with @stmarchessault https://community.ptc.com/t5/Mfg-Solutions-Apps/Connecting-the-robot-and-KEPSereverEX/m-p/545373#M605 And the next topic https://www.ptc.com/en/support/article/CS281557 My SO is Windows 10 Home Single Lenguage, 64 Bit, X64 proccesor We have bought the FANUC libraries FOCAS 2 (A02B-0207-K737) We did the next steps: Run the setup.exe Rename all files to UPER CASE (included the extension, except the letter i) Copy the DLLs like this: C:\Windows\System32\ FWLIB32.DLL : CNC/PMC Data window control libraryFWLIBE1.DLL : Processing library for TCP/IPFWLIB30i.DLL : Processing library for 30i/31i/32i/35i/0i
Hi Team, Hope everyone is doing well. I would like to know how will I throw my custom event each time a user logs in and logs off ThingWorx. Thanks in Advance.
To create a user programatically there is this script: var userParams = { password: somePassword, name: someUserName, description:someDescription};Resources["EntityServices"].CreateUser(userParams); How to include user fields like Name, email and telephone programmatically?
hi, I need to controll the length of infotable, but it doesnt work. tried: if(infotable.getRowCount()==1){ .........} How do you do?
Hi,This the code that I'm using to convert base64 code input into an image output, I have gathered this code from the community itself but it is not working for me... Showing No Image Available error.var input;var binaryString = "";for (var i = 2; i < input.length; i += 2) {binaryString += String.fromCharCode(parseInt(input.substr(i, 2), 16));}var result = base64EncodeString(binaryString); @Constantine
Hello Experts, I retrieves information in json format using rest api service and i need to show the result in the mashup!, any idea... I created a property of type info table called OPJ that has a datashap with few attributes that i need to retrieve from the output(json) and i use the following code: let params = { headers:{ "Content-Type":"application/json","Accept":"*/*","Accept-Encoding":"gzip, deflate, br","X-HP-HMAC-Authentication": "***********","X-HP-HMAC-Date": "*********","X-HP-HMAC-Algorithm": "SHA1"} /* JSON */,url: "********************************" /* STRING */,content: {"aaa-org-ids" : ["ed8eb542-5a5e-46b0-80bd-a1768cc43da8"],"start" : "2021-05-03","end" : "2021-05-09", "active" : "false"} /* JSON */, }; // result: JSONlet dj = Resources["ContentLoaderFunctions"].PostJSON(params);logger.warn(dj.length); for(let i=0;i<dj.length;i++){me.OPJ.AddRow({printed_date:dj.data[i].printed_date,build_unit_serial_number:dj.data[i].build_unit_serial_number, proces
Hello everyone, i want to use the collection widget for showing the same mashup with the same service but different service parameters. I did this tutorial here: https://developer.thingworx.com/en/resources/guides/collection-widget-how-to/create-thing-cwht But here it is using the service once and saves the results in to a infotable where each row and the corresponding columns represent one mashup in the collection widget. I am not saving the data to the infotable. I want to show timeseries data to which will not be possible if the data is only provided by an infotable. I am using multiple ones. One for timeseries data and one for some statistics.
I like to implement QR code reader on mashup so It should get user's QR, timestamps and other few string prop as a input. Someone please let me know if there is any widget for QR code or please suggest me the best method to achieve this. Thanks in advance.
I want to achieve a custom(or inbuilt) queue processor. The objective is to have a admin user who has Write permissions to write to a stream. Other non-admin users can queue write operations which later get processed by the admin user. I tried the same using event subscription and scheduler but the security context is passed on to the final service call and as the final service doesn't have the permissions set for the non-admin users, they are not able to execute. I hope my understanding of using the internal event queue is correct. Is there a way to use the event subscription queue be processed by a specific admin user? What would be the best way to implement and manage a queue using a single admin user who performs the write operations? Is there any option that the platform supports already? Note: For custom queue implementation concurrency, synchronization could be potential issues.
Can I put one stream data into two persistence provider as replica?i would like to stream data into two persistence data storage (one for master, one for backup or testing)Can I ?
Hi, We're going to implement a download function which is triggered from the server side , the code would like: String headerKey = "Content-Disposition"; String headerValue = String.format("attachment; filename=\"%s\"", downloadFile.getName()); response.setHeader(headerKey, headerValue); // obtains response's output stream OutputStream outStream = response.getOutputStream(); byte[] buffer = new byte[4096]; int bytesRead = -1; while ((bytesRead = inStream.read(buffer)) != -1) { outStream.write(buffer, 0, bytesRead); } inStream.close(); outStream.close(); The question is : how can I get the HttpServletResponse with Java SDK ? Regards, Sean
Hello, I have this scenario wherein I have to configure the Thingworx Directory Service settings programmatically. So, when a user specifies a setting from the UI, I need to update it into the respective configuration table on the Directory service. However, I need to call these services from inside another thing. When I invoked the services from another thing, all services from my Directory Service entity errored out with - Error executing service <serviceName>. Message :: ReferenceError: "DirectoryServices" is not defined. For example even the GetConfigurationTables services gives an error - // result: INFOTABLE dataShape: "EntityList"var result = DirectoryServices["Test.ActiveDirectory"].GetConfigurationTables(); Is this the default working for directory services in Thingworx or is there anything I am missing ? Any help is highly appreciated. Thanks! Note: Thingworx version is 8.5.6.
I am running the following code in the Expression, but there is no output from the Expression. Does QueryNamedPropertyHistory work in Expression? DataTable = Things["ThingName"].QueryNamedPropertyHistory({ propertyNames: { "rows": [{ "name": "PropertyName" }], "dataShape": { "fieldDefinitions": { "name": { "name": "name", "aspects": {}, "description": "", "baseType": "STRING", "ordinal": 1 }, "description": { "name": "description", "aspects": {}, "description": "", "baseType": "STRING", "ordinal": 2 } } } } /* INFOTABLE */ , maxItems: undefined /* NUMBER */ , query: undefined /* QUERY */ , maxDataItems: 500000 /* NUMBER */ , startDate: startDate /* DATETIME */ , endDate: endDate /* DATETIME */ , oldestFirst: true /* BOOLEAN */ , dataQuery: undefined /* QUERY */ }); if(DataTable.rows.length === 0) { Output = "No Data"; } else{ Output = " "; } Thanks,Shashi.
I need to capture logged in user id(through session) before mashup loads.
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.