Recently active
Hi, I want to load some other application webpage into a Mashup and used Webframe widget for the same.But whenever I try to load mashup,getting below error. “Refused to frame 'https://myWebsite/dashboards' because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self'". As per the suggestion (Display Mashups from external Browser - PTC Community) uncommented the filter in tomcat web.xml and now getting new error as shown below. "Refused to display 'https://myWebsite/dashboards' in a frame because it set 'X-Frame-Options' to 'deny'. Specs: Thingworx 8.5.4 Chrome Browser
Hi , I want to delete and add rows in grid with Custom service using selected Rows property of grid. i have infotable service which is returning infotable with Datashape. how to use selected rows and delete the rows from grid? Thanks
Hi, TW version 9.1 I want to add a button to a mashup that will close the mashup on click The expression=close() does not seem to work anymore or can anyone mention how to use it correctly. Thanks in advance.
Hi, ThingFlow keep hanging when launching it , I've checked the article https://www.ptc.com/en/support/article/CS323653 , but still doesn't help. could be any other reason ? ===================================== ThingWorx 9.1.0 OS: REHL 8.2 Regards, Sean
Hi I am looking to close mashup tab on button click but i am unable to do with expression function..please see below screens and help me to make it works. Thanks
Hi Team, Suppose I have a below network hierarchy:- A1(Type Apple) B1(Type Banana) C1(Type Cheeku) C11(Type Cheeku) A2(Type Apple) B2(Type Banana) C2(Type Cheeku) And I select node C1, then I want to change the font style of all its parents only i.e. B1 and A1 to 'Bold' and don't want to touch the styles of A2 and B2 nodes (as C1 don't belong to that sub-hierarchy). What I used the approach of making all three fruit type style definitions from Composer and then updating those via script as bold, it created one issue that it updates all the Apple and Banana Type nodes (like A2 and B2) as all are having same style definition using state definition rules (rule is on Fruit Type). Could somebody help me with the logic of how to update parent node styles only in particular sub-hierarchy and not in the entire network hierarchy. (on selection of every
Hello, I am looking to get the minimum column value from an infotable using the aggregates function. The issue is that the aggregates result, it only retrieve the min value. I want to know how retrieve the entire row of the infotable that the aggregates selected as a result. ¿Is that possible?This is my code: var params = {t: infoTable /* INFOTABLE */,columns: "RD_MP_PRED" /* STRING */,aggregates: "MIN" /* STRING */,groupByColumns: undefined /* STRING */}; result = Resources["InfoTableFunctions"].Aggregate(params );The result variable is a number.
Hi, I am going through one requirement where I want to have notification feed for all Module(in my case Menu items). and as per selected Module related Notification should be displayed..but I have doubt that where to put Notification bell icon/button that is in Master or for each Module mashup?? when I put it in master then how can I display notification for each module and if I put it in each module is it good approach?? please need help Thanks
Does anyone know if it is possible to format a number value in a grid such that whole numbers will be displayed as integers and decimals will be displayed as decimals? We have a use case in which almost all numbers are whole numbers, but every once in a while a decimal value is needed. In order to improve the readability of the UI, we would like to be able to show those decimal values accurately without requiring all whole numbers to be displayed with unnecessary digits, such as "5.000".
Hi, I am trying to load report expert application in webframe but am getting the following error and runtime says refused to connect. Unable to fetch license file with device id cf7a4080-f958-40db-9ba6-e64d7e572e72 Failed communicating with the license server. Status Code: 400 How can this be resolved? Thanks in advance, Shalini V.
Hey all, I have created a service that does some data preprocessing on sensor data. In the end, I have two one dimensional arrays of length n that I want to store and eventually visualize. One array includes the x-Axis values and the other one the related y-Axis values. When I run the service and put the array as a result and set output to JSON it shows me the array values (see screenshots for x and y array example with n=5). Now, the question is how do I efficiently store this (assume n=1000 and consider that I would have the (x,y) data for several points in time)? Should I use an Infotable? And how to set up the datashape for the infotable considering that I have a 2x1000 matrix of values for a point in time. If I put the array as a result and select INFOTABLE as output with NumberArrayElement datashape it gives me an error Error "executing service. Message ::Unable To Convert From org.json.JSONArray to INFOTABLE - See Script Error Log for more details.". Any tips
Hi Team, Suppose I want to write a service which take any node of a network as an input and check whether that input node has any parent exist or not (i.e. Boolean Output), then what would be the snippet to be used? Please help me the logic or provide some in-built PTC api service. Thanks in advance.
I am trying to connect to a mysql database as user A but I get the following errors: "message: Not authorized for ServiceInvoke on IsOrchestrationEnabled in WorkflowSubsystem" "message: Not authorized for ServiceInvoke on GetDaysRemainingInLicense in LicensingSubsystem" I tried to give the specific permissions to user A but the changes doesn't save. If I try as administrator it's connecting. Do you know how to fix this? Thankyou!
Hello community! I have a number property on a thing with two in range alerts (0 <= value < 2; 2 <= value < 4). When doing the following steps I sometimes miss the AlertReset events in the Alert History. Init: value = 0 1) value = 1 2) value = 2 3) value = 2.5 4) Ack 5) value = 3 Why might this be happening and how to narrow down the problem? Any suggestion is welcome!
Hi, i am getting an error after importing the Three Model Viewer Extension from https://github.com/ptc-iot-sharing after updating to Thingworx 9. (https://github.com/ptc-iot-sharing/ThreeViewerWidgetTWX ) The error message is included in the attachment. The error occcurs on opening any mashup, so the designer is not even loading at all. Are there any new properties or settings to apply to achieve compatibility in this TW Version? The validation check was fine. Can anyone help me? Nice regards, Patrick
When data is Queried through the "QueryNamedPropertyHistory", I am getting data as shown in the following table. But if do with following code: var result1 = ThingTemplates["Temp_DemoThingTemplate"].QueryImplementingThingsWithNamedPropertyHistory({ propertyNames : { "rows": [{ "name": "WaterPump", "description": "propertyDescription" }], "dataShape": { "fieldDefinitions": { "name": { "name": "name", "aspects": {}, "description": "", "baseType": "STRING", "ordinal": 1 } } } }, nameMask: undefined /* STRING */, maxDataItems: 50000 /* NUMBER */, dataQuery: undefined /* QUERY */, startDate: StartDate /* DATETIME */, endDate: EndDate /* DATETIME */, oldestFirst: undefined /* BOOLEAN */, tags: undefined /* TAGS */ }); result = result1; //QueryImplementingThingsWithNamedPropertyHistory I am getting no data in info table
Thingworx 8.5.2 : I see white space for each tab even after applying background color through properties.is there any way to achive it using css.If so,please let me know as I tried and couldn't achieve it.Please check the snip below.
I have an Mashup(Temp), which has an TextBox, When ever I enter an Value it is getting updated in the service(Demo). But the values are not getting stored in the INFOTABLE, it's just updating the present value of the TextBox in the Mashup(Temp) to the Service(Demo) InfoTableNote: I want to store all the data entered in the textbox of the mashup in to an INFOTABLE, Service Code: var params = { infoTableName : "InfoTable", dataShapeName : "Temp_DemoDataShape" }; var result = Resources["InfoTableFunctions"].CreateInfoTableFromDataShape(params); var newEntry = new Object(); newEntry.WaterPump = me.WaterPump; // STRING result.AddRow(newEntry); Mashup:
Hi, I have mashup which uses Collection widget to display multiple inner mashups. I just found the page cannot scroll in Android Pad + Chrome. In the development mode there is a toolbar on top of the screen which allows you to adjust the screen size, the responsive mashup cannot scroll if it's "Full Screen", it can only works if set it to others like "iPad Landscape". In the production mode, there is no such toolbar , I've set the screen size to "iPad Landscape" in Thingworx composer , but it doesn't work. It seems that the page always act as "full screen" size. I also tried the other combination, like Android Pad + Firefox , iPad + Safari, iPad + Chrome. The page can scroll well for all of these combination even though the page size setting is "full screen" in composer. But my customer only use Android Pad and Android Pad + Firefox has some other issues (like the click event of value display widget doe
Hi, I have installed Thingworx version 8.5.1 with MSSQL server 2017 as default persistence provider. I have one doubt on thingworx database creation on SQL. Do we need to add the name "twschema" under thingworx database?. I have not added twschema name but schema tables are created when I run the below schema command. Refer the attached screenshot for schema thingworx tables after running the schema script. I have created manually database name "thingworx". thingworxMssqlSchemaSetup.bat -h <server> -i <server-instance> -p <port> -l <login-name> -d <thingworx-database-name> -o all Regards, Latha
Hi, I am unable to set Styling for alternate cell in Collection widget. please see below snap for reference..when i view mashup cell is not affecting as i styled below. Thanks
Hello, When moving from Thingworx 8.x to Thingworx 9.x, I can see there are many changes starting from the database schema to widgets in the composer and performance. Almost all the modules and subsystems are impacted. I would like to know what has changed majorly in terms of product technology which has led to so many changes. This is just to understand so as to continue development with better knowledge. Release notes points to very specific cases. Is there any technical documentation which can help us to understand this? Thanks Aditya
I used DeleteDataTableEntries service to delete entry . I got 1 remainder : Does not have an event trigger defined for service. But there is no event available for that. Please let me know how to resolve this issue. Thanks in advance.
Hi, I have to set alert when row value changed in grid. i will have one service to get which row has made changes. i want to have alert for specific value changed in grid. how we can do it in TWX ? Thanks
hii, i have one API contains a data, now i want to get that api data in json format how i get this data? i have call the POSTJson service from snippets and i have give that api in url parameter but i didn't get the data it's just showing empty header . here are some output snapshots and a script snapshot please refer for better understandings output snapshot:- script snapshot:- var params = {proxyScheme: undefined /* STRING */,headers: undefined /* JSON */,ignoreSSLErrors: true /* BOOLEAN */,useNTLM: undefined /* BOOLEAN */,workstation: undefined /* STRING */,useProxy: undefined /* BOOLEAN */,withCookies: undefined /* BOOLEAN */,proxyHost: undefined /* STRING */,url: "http://<IPADDRESS>/Thingworx/Things/<Thingname>/Services/<ServiceName>?Appicationkey=<Value>" /* STRING */,content: undefined /* JSON */,timeout: undefined /* NUMBER */,proxyPort: undefined /* INTEGER */,password: undefined /* STRING */,domain: undefined /* STRING */,username: undefined
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.