Recently active
Hello,I have built the different doocker image.When i try to run my docker-compose-postgresql.ymlI have an issue stating: postgresql-init_1 | psql: error: connection to server at "localhost" (127.0.0.1), port 5432 failed: Connection refused postgresql-init_1 | Is the server running on that host and accepting TCP/IP connections? postgresql-init_1 | connection to server at "localhost" (::1), port 5432 failed: Cannot assign requested address postgresql-init_1 | Is the server running on that host and accepting TCP/IP connections? postgresql-init_1 | [06-09-22 13:03:33] [INFO] Postgres is unavailable - Waiting... My PostgreSQL server is running and i can even connec to It using pgAdmin4 on those port.Does anyone have a clue?
As per this thread- same issue: Hi @PaiChung I am doing the exact same exercise. I've already changed the property aspect to Always. Still my property values do not update. Is this a permissions issue? Do I need to do something differently? Many Thanks
I am new to Thingworx and thought the requirement below must has been solved many times before. Is there sample source code or documents I can review? Requirements: I would like to build a dropdown box (for user to select 5 production lines) in Thingworx: when user click “Line 1”, Line 1 data is shown on the rest of screen; when user click “Line 2”, Line 2 data is shown on the rest of screen. Questions: (1) how can I populate dropdown widget with “Line 1”; “Line 2” etc.?; (2) how can I populate the rest of screen data when user select “Line 1” or “Line 2”, etc.? Thank you!
This UNC path is a shared network drive which is given full control permissions.When I started the Tomcat, The tomcat application is started after sometime its stopped, I saw the logs of tomcat but it doesn't show any errors and also the Thingworx logs and other folders which is usually created under the ThingworxStorage is not created on that UNC path. its appreciated if any having solutions on exactly what i have to do to run the application, and i must have to use shared network drive as my Storage and file root repositary.
Hello Team, Thingworx Composer free trial (30 days) link doesn't appear on PTC university site, Earlier it was there and it's very useful for beginners. So could you please help me out on this. THanks
Hi, there I have converted my JSON object to string (by means of the .parse) so that I could split the values. Now I want to update my thing properties with the values from my JSON object.This JSON object and the thing properties are all on one thing. I only managed to update the value at [0] index. When I try index [1] or higher, it throws an error.Could you direct me if this issue has been solved already or any suggestions on how to achieve the updating of thing properties with the respective json values? Much appreciated.
Hi all,I am facing the issue of after a certain no. of devices I am not able to connect more devices to ThingWorx. My application structure is as belowDevices -> proxy server(nginx) -> connection server -> ThingWorx.Each device will have 872 properties. We were able to connect around 3800 devices but after this count, devices will not get reflected on Thingworx. After checking logs found the below warning at the connection server.[vert.x-acceptor-thread-0] WARN i.n.channel.DefaultChannelPipeline - An exceptionCaught() event was fired, and it reached at the tail of the pipeline. It usually means the last handler in the pipeline did not handle the exception.java.io.IOException: Too many open filesat sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method)at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:422)at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:250)at io.netty.util.internal.SocketUtils$5.run(SocketUtils.java:110)at io.
We have a Test mashup which is opened in runtime and we restarted the Tomcat and the ThingWorx is down. Can we automatically reload the Test Mashup in runtime once again after the ThingWorx is up and running again? Is there any way to do so?
Hi, Is it possible to trigger the tablet PC camera when a button is clicked? Is there any service that can be used to achieve this use case?
Hi Team, I have to implement one functionality in which if I click on google map open tooltip should close. Is it possible in thingworx?
On starting ThingWorx and InfluxDB instance simultaneously QueryNamedPropertyHistory service is giving below error:Execution error in service script [QueryNamedPropertyHistory] :: com.thingworx.common.exceptions.DataAccessException: [1,018] Data store unknown error: [Error occurred while accessing the data provider.] After running the ConnectDataSource service in the Persistence Provider configured to connect with InfluxDB the issue gets resolved. But with every instance start, the issue is reoccurring. Also if the InfluxDb instance is started ahead of ThingWorx this issue does not occur.Has anyone faced a similar issue?Any inputs would be very helpful.
As per this thread - same issue: Hi @CGinus , Facing the same issue, can you help with css ? Thanks,Shashi.
Hi,How to configure "ThingWorx Foundation File Storage" for HA cluster? I am using twx 9.3 (HA) on windows 2019 and "ThingworxStorage" folder is available on different VM (Shared over the network and have proper read/write permissions to the NETWORK SERVICE which runs the tomcat). I have configured the parameter in platform-settings.json as below."Storage": “\\\\W19PRD004\\ThingworxStorage”, I am getting below error in tomcat logs.error trying to initialize Platform storage [setting: \\W19PRD004\ThingworxStorage\database] Can anyone help me on this? Note: In ThingWorx 9.3 High Availability clustering is now supported on Windows 2019 as per this article,
Hello, Im trying to get the response body from a Resources["ContentLoaderFunctions"].PostJSON(params) call. When I try the POST call from Postman I get the following as a response in a response Headers and Body: HTTP/1.1 200 OKContent-Type: application/json;charset=ISO-8859-1Content-Length: 15Server: Jetty(7.x.y-SNAPSHOT)RC: 1 SuccessWhen I try the same call from Thingworx PostJSON I only get the headers JSON object of the request as the response object looking like this (xxxx = the auth code): {"headers":{"Authorization":"xxxx"}}Anyone now why? And more specifically how I get the RC: 1 Success value from the response body?Using ThingWorx 9.1.8-b845
Hi all,I have created a user and an appkey with the user reference name. I want to restrict the user from executing the service which is bound to the mashup from mashup. The user should be able to see only the mashup but when he tries to execute any service should give some kind of error. In order to achieve so, I gave restrictions on service execute from the permissions for that thing, but I am getting errors in the mashup. Thank you!
Hi As per the original thread. Seems like what I am trying to do is similar. I want to write a service to output the values that are inside of my json object. I also have a subscription that calls this service. I have attached screenshots of my code below. Unfortunately I do not get the desired output. Any suggestions on how to fix this?
Hi all, I want to send alerts via SMS.I want to know how this can be achieved without Twilio extension. Thanks,Sujith
I created a template with a button that drives the page to other pages (like a home page button) and I included this in a mashup template. However when I use that template to create new mashups, it makes the buttons invisible. I tried changing the style with no luck. Is there a fix to this? or do I have to make a new function and a new button for every single page I want to make?
Hey Guys, Can anyone tell me how to apply custom css to date picker widget to change the background color of the buttons inside the date container(Done & Today). Please refer the attachment. I wanted to change the default color to red . Thanks,Jan
Hi @slangley , I am not able to navigate to a new mashup using navigation in TWX 9.3.2. I tested with the mashup files in this post. Please look into it. Thanks, Kaushik
Hi! I have a large value display that is cutting off the label text at the top. The widget is definitely wide enough but the text is not the length of the value display. How do I extend it instead of it showing the ellipses(...)?
My use case is to display how many persistence providers are connected to ThingWorx.In my Application, using PostgreSQL and Influx DB persistent providers. I tried using IsConnected and GetConnectivity services of persistent providers however it is returning true only. It would be really helpful if anyone suggest some other option to check persistent provider connectivity.
Hello, I want to monitor the application keys and their expiration date I tried two ways to list the application keys: using GetEntityList() from EntityService var result = Resources["EntityServices"].GetEntityList({ maxItems: 10000, nameMask: undefined, type: 'ApplicationKey',}); But this give me an infotable with the following fields:avatar, description, homeMashup, isSystemObject, name, tags Then I tried SpotLightSearch:const result = Resources["SearchFunctions"].SpotlightSearch({maxItems: 1000000,types: { items: ["ApplicationKey"]},aspects: { isSystemObject: false },maxSearchItems: 1000000});This give me an infotable wtih the following fields: delete, description, id, isEditable, isEditableExtensionObject, isEditableSystemObject, isExtension, isSystemObject, lastModifiedDate, name, parentName, parentType, read, type, update So my problem is that both returned infotable that are not matching the ApplicationKey DataShape.
Hi, I'm Trying to get filter the search result by using another search inside the result table in thingworx Navigate like in Windchill. Looking for suggestion, how can i achieve this requirement or any workaround for this. thanks, keerthivarman
Hi, I have a Remote Thing and Property defined and binded properly.When I try to update the Property by the sample lua code in EMS setup files, it is working properly.But I need to fetch the data from elsewhere instead of hardcode and update in the remote property.I am trying to update the property value from EMS by fetching the value from some a json stored in lua file in EMS.Below is the code I used to fetch and Update the Value to remote property.Property binding definition in Template file is as below.properties.address_address1 = { baseType="STRING", pushType="NEVER", handler="script", key = "RemoteProperties/getRemoteBindPropValue" } property Update Lua file code is below.require "json"require "utils"require "tablex"local deviceInfo = require("scripts.deviceInfo")function getRemoteBindPropValue(method, path, headers, propertyInfo, data) local deviceInfoArray = deviceInfo.getDeviceInfo() for key,value in pairs(deviceInfoArray) do if key == proper
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.