Recently active
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
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
Hi I want to get the difference between the timestamp value logged when a property updates on a thing. The thing has an valuestream. Do I need to write a service for this? Which snippets would I use? Or is there an existing service which would do this so it can be displayed in a mashup. Thanks in advance.
Without making changes to the mashup itself because it is deployed as a package, is it possible to have a thin informational banner at the top of the Thingworx application in the web browser using tomcat. We want to use it to let users know they should use Google Chrome to view the Thingworx app. We want to do something similar to the license expiration banner in the image I attached.
I have a custom group created - SupportAdminGroup who are less privileged than Administrators group. When SupportAdminGroup member was unable to execute Resources["EntityServices"].GetEntityList(params) I gave the run time permission to read and execute for SupportAdminGroup in "EntityServices" I was able to execute the service as a SupportAdminGroup member . However , I want to use the service Subsystems["PlatformSubsystem"].GetEntityUsageReport();. I have given Run time execute and read permission to the group , yet it errors out with Entity [PlatformSubsystem] service [GetEntityUsageReport] requires Administrator privileges . How do I get to use the PlatformSubsystem services for a non Admin user?
Hi Team, Is it possible to show tree structure in tree grid advanced widget just like normal tree widget? Because tree grid advanced widget displays data in the form of grid. If yes, then please share the solution.
Hi Team, We have a grid populating data from one service as AllData to data and 2nd service for populating AllData to SelectedRows of advanced grid, but it is not showing as selected rows on load. I tried same behaviour with List using SelectedItems property. It is working properly as selected items of list. Please provide the solution as we need advanced grid and not list for our application functionality. Thanks in advance.
Hello, I want to apply below state formatting to label chart .Please suggest how do I apply state formatting??? and please refer below attachment Thanks in advance
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.