Recently active
Hi,I am working on an application wherein the real time data having parameters like speed, voltage, frequency is fetched from the kepserver to my Thingworx Composer. The real time data is reflecting in the Composer, and I am binding the parameters to value display widget in the Thingworx studio. The issue is that the real time data parameters are reflecting in the preview but not in the Thingworx view application. Please help me solve this issue.Thanks in advance.
Hello I do not like the login popup to appear.Some mashups have been accessed via the guest account's AppKey.But there were some unexpected issues in the mobile environment.First, the session is not maintained as the URL changes.If you access the mashup in the form of "Thingworx / Mashups / MonirotingService? AppKey = 2ee27c9a-eb20-4231-8bd3-c3ss29cs690 & x-thingworx-session = true", the URL will change like this:'Thingworx / Runtime / index.html # mashup = MonirotingService & appKey = 2ee27c9a-eb20-4231-8bd3-c3ss29cs690 & x-thingworx-session = true' The problem arises here.The format of Thingworx / Runtime / index.html # mashup will also ask the user for credentials, even if they include an appkey.In other words, after accessing the mashup via the AppKey in the mobile environment, the login popup will appear when the Internet browser (Chrome) is closed and then accessed again. Tomcat's web.xml, index.html will be modified so that the session will be retained after a while.
SummaryThingWorx help has a good article on how to configure ThingWorx to allow a mashup to be displayed inside an iFrame on a third-party application. For example, you might want to contextualize business data inside a Microsoft Dynamics, SAP, Salesforce, or ServiceMax work order by including a ThingWorx mashup right there on the work order in your CRM tool. Your users get the benefits of ThingWorx, without having to leave the application that organizes their service workflows.The instructions linked above help you configure what's sent back in the x-frame-options header. The web development community is moving beyond the x-frame-options header, though, and is phasing in the use of Content Security Policies, instead. As I'll demonstrate below, it appears ThingWorx 8.x is moving in that direction, too. ThingWorx now sends a content-security-policy header with a value of, "frame-ancestors 'self'".I've followed the configuration guidelines from the help article, "Allowing Embedded Mash
Hey All, Just wanted to get some advice on and error i am getting trying to install Analytics 8.0 on linux. Background 1. Running Cenots 7 64 bit 2. local install of Postgresql 9.5 I have ran the install script using the a local DB with the following setting port :8097 Host: <ip address> username : postgres (default superuser) password: default postgres Install works fine the and then URL versioninfo works BUT some of the Database tables have not been install , and i would like to understand why and how to fix . Attached a with the output from a "docker logs analytics" command Cheers Paul B
Hi,i have followed each step in Raspberrypi quickstart guide.,after running "sudo ./luaScriptResource" ,, that message shown aspi@raspberrypi:~/microserver $ sudo chmod 775 luaScriptResourcepi@raspberrypi:~/microserver $ sudo ./luaScriptResource[INFO ] 2017-09-12 06:17:39,6 ./luaScriptResource: Using config file: /home/pi/microserver/etc/config.lua[FORCE] 2017-09-12 06:17:39,7 ./luaScriptResource: Starting up ....[INFO ] 2017-09-12 06:17:39,13 ./luaScriptResource: New path is /home/pi/microserver/etc/thingworx/clibs:/home/pi/microserver/etc/custom/clibs:/home/pi/microserver/etc/community/clibs:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin[INFO ] 2017-09-12 06:17:39,92 thingworx.shape: Creating a new shape.[INFO ] 2017-09-12 06:17:39,93 PiThing: -- Configuration -------------------------------[INFO ] 2017-09-12 06:17:39,94 PiThing: scanRate: 1000[INFO ] 2017-09-12 06:17:39,96 PiThing: scanRateResolution: 500[INFO ] 2017-09-12 06:17:39,96 PiThing: taskRate: 30000[INFO ] 20
How to connect Combo box(List widget) field to value display or graph. If I changed the field in combo box then value related to that field should be shown in value display widget.
I have created custom Textbox extension and set TabSequence as 1 to focus on Textbox when Mashup loads. It is working for PC but the same thing is not working on iPad.
Hi,I'm trying to create a function call to a service with javascript.This is my code:var data = "{\n\t\"input\":{\n\t\t\"space\": \"Hki Pa A 109\",\n\t\t\"type\": \"TEMP\"\n\t}\t\n}";var xhr = new XMLHttpRequest();xhr.withCredentials = true;xhr.addEventListener("readystatechange", function () { if (this.readyState === 4) {console.log(this.responseText); }});xhr.open("POST", "https://server-address/Thingworx/Things/PWIMAPI/Services/GetMeasurementPoints");xhr.setRequestHeader("accept", "application/json");xhr.setRequestHeader("content-type", "application/json");xhr.setRequestHeader("appkey", "my-app-key");xhr.setRequestHeader("cache-control", "no-cache");xhr.send(data);If I run this in postman it returns the correct json-content, but when I run it in a HTML-file on the server I get:Status Code:401 UnauthorizedHave anyone had a similar problem before? Any suggestion how to solve this?
I am looking to transfer property values from one thing to another thing at a defined time interval, say every 10 seconds using a service. Is there a way I can use an event to trigger this service every 10 seconds.
Hello! I've developed a java extension for a resource whose services will be called within my thingworx platform. Is there a way to hardcode-set the 'Service Execute' RunTime permissions on this extension's services, inside the .java file itself? The idea is to have the permissions defined in the extension itself, otherwise, the Resources' collective permissions will be automatically assigned to my custom resource. I've consulted the Extension Development Guide , but I could not find out how to do so. I imagine, such parameterization is to be set on the tag '@ThingworxServiceDefinition ' in the java code E.G.: @ThingworxServiceDefinition(name = "GenerateBillingDetailsReport", description = "Generate a pdf file with the Billing Details Report", category = "", isAllowOverride = false, aspects = { "isAsync:false" }) Thank you!
Does anyone have a full example for creating a custom authenticator? I have seen CS244163 and a few other responses to similar questions but the answers glance over the steps involved until it gets to authenticate. For constructor and initializeEntity it just says to create them but no examples.
Hi, I've access a mashup of ThingWorx on my mobile (using Chrome apps ..)After Chrome has been forced to quit (reboot, exit by data manager, etc.) and run again, the login verification popup will appear. I've set the duration of the login session to be fairly long, but I get an authentication popup!Is there a way to not see the login pop-up or let me log in automatically? Once again, if you access Thingworx's mashup from Chrome on your mobile device and then go back to Chrome with the Home button, the login pop-up will not appear.However, if Chrome forcibly terminates for any reason and then approaches again, a login popup appears.I hope the session will be maintained after automatic login or forced shutdown. (On mobile!) I would appreciate your opinions and suggestions. Thank you.
Hello Everyone, I defined an Organization, Usergroup and an User and setted the Homemashup for this User to one of my modeled Mashups. The problem is, when i log in as the User, the Mashup does load but it looks like in the picture below. But it should look like this (when i log in as Admin): I changed the permissions for all included entities (the things the data is read from and all Mashupcomponents -> one Master and two Mashups), allowing the user full access to the 3 permission types. The User also has an assigned Application Key. Is there something i overlooked? Which permissions for which Objects are crucial for such a scenario being able to work properly? Any help is appreciated a lot! Regards, Dominik
Hello, I'm trying to add Custom CSS to a Row/Layout Widget and I can't seem to be able to make it work. My CSS is as follows: .myRowClass1 .widget-layout { box-shadow: 5px 5px 5px #888888; } Nothing appears to happen. I also can't find documentation for all the widget terms and properties anywhere, so I have no idea if I'm doing this correctly. I've looked through the CSS tutorials, but there isn't actual documentation that says "you can change this on this widget". Let me know if there's anywhere I can find this info. Thanks!
Formula 1 is a Demo Application designed in Thingworx.The purpose is to simulate a race within two famous Grand Prix Locations: Monaco and Silverstone.Formula 1 contains 3 mashups: Home Mashup, Track Conditions and Teams Presentation.You can also find attached screen shots and a detailed presentation.Hope you find it interesting.
Is there a way to use JavaScript's navigator object in ThingWorx?A service that determines the OS or MAC address of the connected device is required.We are also considering importing the service as an extension through Eclipse. If you have a good opinion, please present it. Thank you.
Hello,I am trying to get data from the ThingWorx API to display on an HTML file so I can use more custom HTML and CSS. I would like to use the simplest way possible.I have tried using ajax, but am getting an error that says: "Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource." I am not sure how to do this correctly, or if it can even be done.Ideally I would like to do this using ajax and javascript, but am open to any advice and suggestions.Thank you,James
Hi, I'm able to see the build gradle as text file when creating the Thingworx project not as a symbol to build the java file. Now what should I do to build the java code.
Hi, I'm having issues calling a service that I created. The input is not simply strings like most examples I see. It is a datashape containing string, datetime and numbers. I can't find any examples so I hope this would be useful to others also! Would it be possible just to give me an example of the content of the json body so I could use it with Postman and do a POST? For example, service is called: AddPerson And the input is a datashape (named PersonProfile). The datashape contains a Name (string), an Age (int) and a Date (datetime, ex: Jan 1st 2018 14:30). Thank you for your help.
Hi Guys, as title says, I would like to create a service which would return list (infotable) of all UserGroups that given user is part of. So far I was not able to do that. Any ideas?
Hello Everyone, i am struggling with finding out how to get a list of all ThingTemplates (or at least their names) in the TWx Platform. Optionally it would be nice to filter these on "has things that implement template" and "does not have things that implement template". In the Platform API Documentation i found a method on ThingTemplates: getAllImplementedThingTemplates() -> returns an EntityReferenceCollection But i don't know how to invoke this service properly (e.g What is the name of the Entity this service is invoked on?) Any help is appreciated very much. Regards, Dominik
Hi, I just started with the Hello World as I am new to this. I wasted ten minutes trying to find the Data tab before I realised that when you save the Mashup, the GUI jumps to the "info" tab. And to get back, you need to click the "design" tab. The tutorial is omitting this, and I'm sure it must be frustrating many beginners.
Hi, I've installed thingworx extension in eclipse but I'm unable to see in prespectives.
I need to upload thingworx.war into Tomcat for installation. I have the zip file for thingworx platform 8-2. When I unzip it I can see the thingworx.war file there. However I can not save it. When I try to upload the file into Tomcat, it uploads the whole zip file! what can I do?
How can I clean the alert history of an thing?
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.