Recently active
Hi everybody, I have some dudes, I want to know what is the best practice for devices that I want record historical data. I have Temperature/Humidity devices and I don't know what is the best practice. I have two questions: 1. Is it better to have streams as devices? 2. Now I have a value stream associated to a template for record historical data because I need temperature or humidity data, It's well done? My objetive later is make a Time series chart with the historical data, what is the best option? pd: please I know this article Difference between Streams, Value Streams and Datatables in ThingWorx but I need to choose which is the best option when I have remote devices that will send to a broker the data and the broker will be comunicate with Thingworx. Thank you in advanced, Luis.
Hi, Currently I used the google map widget to display some data with different color representations, Now I have to add legends for that colors. Is there any way in thingworx to use one widget above another widget using CSS or Z-index ??? Please take a look at this UX for better clarity.... Like in this design, I need to display legends on top of the google map widget...
When I run the UpdateDataTableEntry service, it does not update the source. Why does it not update the source? var currentUser = Resources["CurrentSessionInfo"].GetCurrentUser(); Things["DTName"].UpdateDataTableEntry({ sourceType: "User" /* STRING */ , values: values /* INFOTABLE */ , location: undefined /* LOCATION */ , source: currentUser /* STRING */ , tags: undefined /* TAGS */ }); Initially, I had the source and sourceType set to undefined; however, since it did not update source with the user name, I changed it to currentUser, but it still does not update the source. The service is being executed directly by the user and not by the system user.
If I'm not mistaken, Thingworx is using DHTMLX controls and there is an option for when a checkbox is selected the parent and children nodes are also selected/deselected as needed. I am trying to get this to work but I don't see any option and my current solution is not economical (uploading data to sql server and reloading mashup and reloading the data from sql). I'd prefer to do this client-side or at the least on the Thingworx side. Any suggestions? Click on the second grid's checkboxes to see how three-state checkboxes work. https://dhtmlx.com/docs/products/dhtmlxTree/samples/02_checkboxes/05_tree_checkboxes.html
Hello Team, I have migrated from thingworx 8.5 to 9.0. While designing mashup unable to find layout widget in responsive container. Please do the needful. Regards, Raghavendra
Hi, is it possible to use the integration runtime SAP oData connector to authenticate via a token? The process will be as followed: 1. Request with username/password to endpoint "GetToken" 2. Response is body with json values where I get my access token 3. Use the access token to authenticate to SAP There is something for CSRF token requests. But I am not sure if this is the same thing. Right now my settings are this: Authentication type: Fixed Auth. Server ID: -empty- Rel. URL for CSRF Get Request: /v1/auth/.../token CSRF Token Name: acc_token HTTP Connector Connection Settings: Username & Password for token endpoint Base URL, rel. URL as needed for SAP... It worked for my endpoint where no authentication is required. But for this one I've only get a 401 - Unauthorized.
Hi, I needed suggestion on designing and IOT application. I am going to describe it with an example flow which is similar to my existing requirement. -> Consider there are 2 groups of users with a group head each. Each group have 4 members. -> There are 4 machines and respective 4 things created in thingworx( whose parameters are linked to machine tags) -> Each machine's data, information and related operations will be assigned to particular users from both the groups -> There is one general mashup designed, which will should the respected machine information when the respected user login's to the application. -> And there will be common set of services designed that will be linked to the mashup. Question: How to display data and information of different machines, when that respective user log's in the application(Mashup) on that same Mashup. I have drawn a diagram for better understanding. Now is need some advice on how to
Hi , I am looking to display date in format yyyy-MM-dd , but returned type should be DateTime. var d=new Date();// dateFormat(dateValue:DATETIME, dateFormat:STRING):STRINGvar formattedDate = dateFormat(d, "yyyy-MM-dd"); // parseDate(stringDate:STRING, dateFormat:STRING):DATETIMEvar dateValue = parseDate(formattedDate, "YYYY-MM-DD"); but its returning Date with Time. I need only YYYY-MM-DD. Thanks
Hello, I followed various articles from community forum here as well as this TWX article. and I am still having issues with my code outputting to an InfoTable. I am using an API to fetch Stock Price JSON data and having it be converted to an InfoTable, so it can be displayed into a graph in Mashups. I've attached screenshots of my DataShape Field Definitions as well as the JSON Data Output. The TWX code, with it outputting the columns with "No Data" is below. I've tried playing around with the for loop and doing a data.array.length but that mentions length is undefined. I am not sure if that would output to it being an InfoTable either. Thank you. var restParams = { proxyScheme: undefined /* STRING */, headers: undefined /* JSON */, ignoreSSLErrors: true /* BOOLEAN */, useNTLM: undefined /* BOOLEAN */, workstation: undefined /* STRING */, useProxy: undefined /* BOOLEAN */, withCookies: undefined /* BOOLEAN */, proxyHost: undefined /* STRING */,
Hi, I want to Highlight Empty rows of Advanced grid widget in red color. I wrote state definition for this and give it to Row Format property of grid but it applying to all grid rows. Please let me know how to resolve this. Thanks!
Hi all, I have two types of markers in Google Map Widget that represent two different values of a property (State-based formatting). The problem is for the selected marker, I have no idea how to set two different types of this. Any help? Thanks
Hello everyone, I am trying to manage visibility and permissions in Thingworx 8.5. The problem is that I want to set visibility and permissions on a certain mashup but when I go to that mashup and set the organization, when I then connect to the user who should see that mashup, he sees nothing (see the images). This is a example of the mashup In that mashup I put the organization which contain the user who must have visibility of this mashup. But when I log with the user, the user doesn't see anything. But If the same user is included in de default group SolutionCentralDevelopers in Thingworx 8.5, the user can see the mashup. Is it necessary to include all users in SolutionCentralDevelopers to see mashups with users who are not administrators or system users or I've done something wrong? Thanks in advance, Luis
Last Friday, I deleted a scheduler thing named greenhouseSimulator2_Mixing_Scheduler via Composer. Today, I want to create a scheduler thing with the same name using a service inside greenhouseSimulator2 thing, but this error appears: greenhouseSimulator2 CreateMixingThing error JavaException: com.thingworx.common.exceptions.InvalidRequestException: Thing [greenhouseSimulator2_Mixing_Scheduler] already exists But if I try to search the greenhouseSimulator2_Mixing_Scheduler via the search bar, there is nothing (it should be like that because I already deleted it before). I try to delete using the DeleteThing service from EntityServices but ThingWorx can not find the entity (it should be like that because I already deleted it before). I wonder how I can solve this. I already did these things and all were failed to solve this problem: 1. Restarted the Azure VM containing the ThingWorx server 2. Restarted the Apache Tomcat from Windows Servi
Hello all, I have a button 'show details' in each cell of my collection. Clicking this button should show a detailed overview of my data that you don't see in the standard screen/cell (so the mashup height should increase and there should be details added to the cell). How to handle this in the best way? I need some advice 🙂
Thingworx Platform 9.1 is already supported Open JDK, so I want to change JVM from java oracle 8 to open JDK (I tried with Amazon Corretto 11 and Adopt OpenJDK 11). I have tried to change JAVA_HOME into OpenJDK directory and %JAVA_HOME%\bin to the PATH in System Environment Variable and restart the ThingWorx services, but the JVM used in ThingWorx is still Java oracle 8. And then, I tried to change JVM version directly from apache tomcat configuration by checklist the "Use Default" check box and restart ThingWorx services, the JVM still not change And then I tried to set directory of OpenJDK jvm.dll file on the Java Virtual Machine field in apache tomcat configuration, but I got an error when I tried to start ThingWorx service.Did anyone has successfully change the JVM version on Thingworx 9.1? (especially from java SE 8 to OpenJDK)Thank you
hii i have one database(POSTGRESQL) configure with thingworx 9.1. i have created postgresql thing which contain services(postgresql queries) for eg:- i have one postgresql query which gives me allmembers data but it shows an error "select ch.tcr_id,concat(us.first_name,' ',us.last_name) as member_name,ch.user_id,ch.checkin_time,ch.checkout_time,ch.band_id,ch.checkboxfrom "tbl_checkin_records" as chjoin "tbl_members" as memon ch.user_id = mem.user_idjoin "tbl_users" as uson mem.user_id = us.user_id order by ch.checkout_time desc;" this is my query which gives me an following error:- Unable to Invoke Service getAllCheckinRecordsForMember on PostgreSQL_DB : Execute Query failed: org.postgresql.util.PSQLException: ERROR: syntax error at or near "as" Position: 165 But when i was using i have attached snapshots below for your better understanding
Hi,I work with Dygraph widget but can not understand how to connect a valuestream to PTC.SCA.SCO.DygraphUtils services How to connect input for GenerateDygraphData - Chartseries in mashup. Are there any examples I can look at.
Hi All, I am using progress gauge to show shift advancement as well as machine state. To explain clearly my thought I am taking an example of machine running an 8 hour shift in which runs for 4 hours goes down for half an hour, starves for next half hour and starts producing. So as of now we see 5 hour of machine time which include 4 hours run time, half an hour downtime and half an hour starving time. Now I am looking to shows various states of machine in different color and with respect to advent in the shift time. I am attaching a sample screen shot of my functionality. I want to show this on a progress gauge. I am receiving the machine state as 1-warning, 2-Running, 3-Planned downtime. 4-Unplanned downtime and 5-unavailable. I used a progress gauge assigned data and did state formatting but no luck. Can you Please help me with this? Kind Regards SO
Hi, I have some base 64 content of a PDFs. I want to show them on mashup. Using Iframe I can show it normal html page but, not in thingworx mashup. I have done showing pdf from external URL, pdf from repository but not getting successful using base 64 content. I am attaching few files for the reference. Save as attached file into .htm file and you can see it in browser. I am using same text in TEXT property of "htmltextarea" widget in thingworx (9.1.0-b10877). But it is not showing anything. By inspecting the page I can see it only show html tage with empty body. Regards Shyam
Hi, Where I can find Thingworx Eclipse Plugin & Extension SDK. I've tried in few articles and posts but Not able to find them. Also tried accessing Marketplace for the plugin not able to find. It will be helpful if someone shares the actual file link. Thanks in advance.
I need to have clarity on effects applied and customized which is launched by thingworx about fizos food demo in ptc portal. I have a doubt how hover effect is applied for each container in below image. Can i have code or logic used in fizos food app and also how menu items are arranged in center total customization code of fizos food demo
Hello everyone, If you’re like me, you’re always looking for the optimal or most efficient way to do something. Today, I’ll share a quick trick and two tips to help you develop your awesome IoT solutions with ThingWorx. #1. Trick: Finding Dependency References We are targeting a new “Where Used” Composer feature in an upcoming release of the platform to help you find your references of bindings, properties, mashups, and services. In the meantime, did you know you can get some of that information yourself today with a quick service call? As of ThingWorx 8.5, a new service is present on Project entities; the service crawls the contents of your project and highlights the full external dependency list to help you find references. On any Project Entity, ListExternalDependencies() shows output like this in 9.0: ListExternalDependencies() output For each entity (“A”) in the project, the service calls out any entities (“B”) that it is refere
This is a fairly simple question that I can't find the answer to anywhere. I'm dealing with a DataChange event - Update - and I would like to know what the EntryChangeEvent data shape field definitions 'id' and 'type' indicate in the system. I have a theory that they have to do with specific entry that was changed in the data table, but I can't confirm it.
Dear community, I would like to build a responsive mashup with overlapping widgets. I want to display a text over a circle shape. Label does not work since it is not responsive, so let's go with value display. When adding/copying the value display into a container that already contains the shape I get the error message "Container supports only one responsive widget". I am not sure why this is prevented by the mashup builder, it should be up to the designer how many widgets I want to overlap (using Z-Index). Using Panels does not work as it loses the responsiveness. I don't see any other option than writing my own "shape with text" widget. But then I will have the same issue again in a few weeks when overlapping two other widgets. Thank you Benny
Hi! I want to know if it's possible to modify the default loggin form of Thingworx (see image). Is it possible to modify the style? If the answer is yes, how or ? if the answer is no, have you use another framework like Angular to create a logging page and connect that with Thingworx or exist a extensión or there are other ways to create it in Thingworx? Thank you in advance! Luis
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.