Recently active
Somebody posted this question previously, however, it is still valid today.In order to implement a simple 'change your password' feature, a user must have associated visibility under a particular organisational unit which he/she must be a member of. A curious user can modify url to something like 'https://myapp.twx.com/ThingWorx/Users' and see the list of ALL users corresponding to that organisational unit. I'd be grateful for your help. Thanks.
Hi,I am trying the SteamSensor example available in the C SDK folder. But on finally running the exe file I get the following error:I am using the 30 day trial online composer whose address is : https://pp-180103xxxxxx.devportal.ptc.io/Thingworx/Composer/index.htmlIn the main.c file I set:#define TW_HOST "pp-180103xxxxxx.devportal.ptc.io"#define TW_APP_KEY "18ecb3d9-xxxx-yyyy-zzzz-ab6b29dc21a8"What could be the problem? Any help is appreciated
Hi, I am working on custom authenticator and I would like to store some auth key (from external system) in given user extension property directly in Authenticator code.In normal service I can use following code:User user = (User) EntityUtilities.findEntity("Jacek", RelationshipTypes.ThingworxRelationshipTypes.User);user.setPropertyValue("lastName", new StringPrimitive("Gralak"));And this works great. However when I am using the same piece of code after fire of successful login event in authenticator User object is null (EntityUtiilites are not able to retrieve user object):AuthenticationUtilities.validateEnabledThingworxUser(USERNAME);this.setCredentials(USERNAME);AuthenticationUtilities.getSecurityMonitorThing().fireSuccessfulLoginEvent(USERNAME,SharedConstants.EMPTY_STRING);User user = (User) EntityUtilities.findEntity(USERNAME, RelationshipTypes.ThingworxRelationshipTypes.User);user.setPropertyValue("lastName", new StringPrimitive("authentiocator"));Here user object is null.Any hint
Hi,I am following the instruction on ThingWorx to connect my RaspberryPi with ThingWorx. But I got some error while trying connect. Could you please help me?My Config.json:And here is the outcome while I trying to use ./wsems:Looking forward your help...Kenn
Hi, I'm facing a problem with an InfoTable parameter in my Java Extension.My service has an InfoTable parameter, which it self contains an InfoTable, in the picture on the right:configuration (InfoTable) --> QueryTypes (InfoTable), ServerLocation(String),...I wired a result InfoTable to configuration.QueryTypes. When I try to access the given parameter in my service the InfoTable is null. The code looks like this:ValueCollection row = configuration.getFirstRow();InfoTable it = (InfoTable) row.getValue("QueryTypes");'it' is null!I also added an extra parameter 'queryTypes' (InfoTable) and wired the same result InfoTable to it like before. In this case with no cascading InfoTables 'queryTypes' is not null, like I expected.Has anybody an idea to explain this behaviour?Thanks,Keijo
Hi, does anyone know any services or methods in which we can get all project names from Composer?
Hi all,How to run a http client request like GET,PUT, POST into an Experience in the ThingWorx Studio?Iam doing the thingworx studio trial tutorials.Best regardsHari
Hi,I'm trying to use the ThingWorx OPC UA service but running into some problems. I can create an OPCUAEndpoint thing and connect the OPC UA server to ThingWorx, and in Composer I can see the OPC tags as remote properties under "Manage Bindings", but when I try to save the endpoint thing after adding a remote property I get the following error message in Composer:"save failed, status: Internal Server Error message: JSONObject["baseType"] not found." Any ideas why I can't save the remote properties?Regards,Greg
Be prepared for the upcoming community platform migration by reading the Lithium Migration "Getting Started" Guide that is posted in the Lithium Migration Essentials group. As a reminder, we are migrating to a new community platform on Monday, February 12, 2018. Contents of the Getting Started Guide include:URL of the new communityHow to log inPreferred browsers for Lithium communitiesDefinitions of labels, categories, nodes, tagsAccepted solutionsDifferences between Jive and LithiumTips on posting to the communityGlossary of Lithium terminologyIf you have questions about the migration, please visit the Lithium Migration Essentials group where you can read the FAQ, get up to speed on the timeline and changes, and ask any questions you may have.
Hi,I have a database table were I keep the values of several parameters from aa machine on the shopfloor: temperature, current, quench flow, cycle time, etc. and a timestamp. Something like this:idtimestamptemperaturecurrentquenchflowcycletime1valuevaluevaluevaluevalue2valuevaluevaluevaluevalueI have a simple SQL query service that return the data in an Infotable with a simple SELECT statement. And, if I send this result directly to a Time Series chart (I use the timestamp column for the X axis) I can plot the data for all the variables in the same graph.This is OK as test, but I´m wondering if I there is an option to provide a way to select just one of the columns from the SQL query, perhaps in a list and then use this to feed the Time Series chart and show only the data for that field.I can iterate the Infotable, assign the values to the properties of a ThingHelper, mark this properties as logged to a Value Stream and after that I can use a QueryPropertyHistory service to get the dat
Is there any event based logging for the below events:1)when users are created2) when users are assigned or removed to groups3)when a user logins 4) when a user logout5) when a group is edited and by whom.Is there any reports regarding this which can be pulled down in periodic intervals to check access rights of a user?
Hello ThingWorx wizards,In my mashup I execute a service every ten seconds, and then use the returned InfoTable to render a Repeater. The data changes are rare, so in 90% of the cases the returned InfoTable is the same.My problem is that the repeater gets visibly re-rendered every time the service returns, even if the data didn't actually change. Is there any reasonably elegant way to avoid refreshing the Repeater in this case?/ Constantine
Is it possible to determine what a entity is?I will explain myself:I would like to make a service which has both as input and output a string.I insert the name of a entity and it returns"This entity is a Thing""This entity is a Data shape""This entity is a username"Is this possible?
Hi Guru'sWondering if someone can suggest how I could get a mashup to do the following:I need a user on the mashup to have the choice to select EITHER checkbox1 or checkbox2 or input a number. They can only do one of these.The reason being is that I need to do a calculation based on their selection; i.e.checkbox 1 = 10checkbox 2 = 20custom = xxxxMy server will multiple a predetermined value by one of these selections to give me a result.I hope this makes sense.Thanks in advance.Darryl
hi i'm SeonHoI am preparing POC using MQTT extension.I need to configure the Thing's Configuratoin to publish the data.If i set the topic, Publish works well.I want Topic to be automatically formatted like a Subscribe.Or I want to add or modify configuratoin through the service.Please reply.thanks
Hello,Is there a service which can be run in a mashup to determine what user is currently signed in?Thank you,Mike
Hello AllI have installed Thingworx 8.1 war on 64 bit operating system. Now, I want to use Thingworx Azure IOT Hub Connector to connect the Thingworx to Azure IOT.I am getting an error as follows whenever I am trying to run the azure-iot.bat file of Thingworx Azure IOT Hub Connector :Error in custom provider, java.lang.RuntimeException: Error initializing azure cloud storage account at com.thingworx.protocol.azure.iot.AzureIotGuiceModule.getDeviceExportBlobStorageAccount(AzureIotGuiceModule.java:165) at com.thingworx.protocol.azure.iot.AzureIotGuiceModule.getDeviceExportBlobStorageAccount(AzureIotGuiceModule.java:165) while locating com.microsoft.azure.storage.blob.CloudBlobClient annotated with @com.google.inject.name.Named(value=DeviceExportBlobStorage)Caused by: java.lang.RuntimeException: Error initializing azure cloud storage accountat com.thingworx.protocol.azure.iot.AzureIotGuiceModule.getBlobClient(AzureIotGuiceModule.java:186)at com.thingworx.protocol.azure.i
I am attempting to create a user using Entity Services in the SDK.I'm using the following code and it keeps throwing a NullPointerException:String user = "jpublic";EntityServices es = new EntityServices();try { // Create Tag and Add to Collection TagLink tag = TagLink.fromString("Users:Mashup"); TagCollection tc = new TagCollection(); tc.add(tag); // Create User es.CreateUser(user, "John Q Public", tc, "ABC123");} catch (Exception e) { // Log Errors _logger.error(DateTime.now() + " -- Error: " + e.toString()); _logger.error(DateTime.now() + " -- Failed to Create User: " + user);}Any ideas on what I'm doing wrong?
I need to create a progress bar widget has shown below, is there any way of creating the progress bar widget??
Hi All,I have problem to get the StreamEntryId of last record inserted into a stream. I'm using AddStreamEntry to add the new record.Following the list of steps :1) search information2) add the information to the stream using the AddStreamEntry3) If I use QueryStreamEntriesWithData with last timestamp used to add the record (#2) --> no data found4) If I use GetStreamEntries (oldestfirst=false) an StreamEntryId is returned but it is not the last inserted (not the one I need)How can I get the StreamEntryId of the last added record ? These instructions are all part of the same service inside a loop, and the StreamEntryId is needed to refer the correct record.BRDimitri
Hi everyone,I'm trying to expand a footer when a service returns true and collapses when a service returns false. I see that there features on the footer but I'm not sure what event I should use to trigger this. I would appreciate any advice. Thank you
Hello guys,I have a thingworx client on a gateway pulling data from several machines and sending them to thingworx composer. Next step is to add tunneling to this system. I setup everything, downloaded wsadapter.jnlp and run it. Connected to localhost:{port} via putty. Connection succeed, tough only thing I got was a black screen. I got back to thingworx composer and called GetTunnels method on tunnel subsystem. It says tunnel was establish however there was an error with code 700, which apparently means I exceeded max number of tasks. I searched online what those tasks might be, yet came out empty-handed. I only have 7-8 properties and about the same amount of services defined in my thingworx client. I did not specify any tasks to be run, at least not consciouslyMy thingworx client runs on a gateway. I am connected to this gateway's internet. Thingworx server runs on a cloud. I want to use tunneling from my computer. As a second scenario, I disconnected from gateway's internet connect
Hello all!I am struggling with the EMS configuration on the Customer side, especially Tunneling.ThingWorx 8.0.7-b74 HTTPSEMS 5.4.0 OPENSSL Windows x86-x64Configuration file:{ "ws_servers": [{ "host": "###", "port": 443 }], "ws_connection": { "encryption": "ssl" }, "logger": { "level": "DEBUG" }, "appKey": "###", "certificates": { "validate": false, "allow_self_signed": true }, "http_server" : { "use
Hi. I joined this community just a few weeks ago because i'm currently working on a project among which basically consist on transfering some kind of information to a clud using a Raspberry pi device.I'm currently dealing with the Quickstart tutorial, but i'm having next problems while trying to validate that my EMS has been succesfully connected:[INFO ] 2017-12-20 18:42:56,583 ./wsems: Using config file: /home/pi/microserver/etc/config.json[FORCE] 2017-12-20 18:42:56,583 ./wsems: Starting up ....[FORCE] 2017-12-20 18:42:56,584 ./wsems: Initializing EMS ....[FORCE] 2017-12-20 18:42:56,584 main: Using config file /home/pi/microserver/etc/config.json[INFO ] 2017-12-20 18:42:56,584 ./wsems: Creating the WsEms proxy.[INFO ] 2017-12-20 18:42:56,584 ./wsems: Starting HTTP Server.[INFO ] 2017-12-20 18:42:56,585 ./wsems: Initializing the ThingWorx REST interface.[FORCE] 2017-12-20 18:42:56,585 httpServer: starting http server port=8080[DEBUG] 2017-12-20 18:42:56,585 httpServer: http server bou
Hi,I'm trying to let users add gadgets to their dashboards based on gadget visibility.Is there a way to have an add gadget selector that is not based on a predefined mashup? Select by magic picker would be just fine.EDIT: I created a new mashup. It has dashboard, group and gadget picker lists (using DashboardResource services) and a button to add a gadget to a dashboard group. This kinda works but there are 2 downsides: I need a master mashup to show this popup, and the dashboard does not automatically refresh after a gadget gets added. Any ideas how to refresh the dashboard?Thanks!
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.