Recently active
Hello, community, I am trying to filter my stream using the data filter widget. I wrote a service that outputs values from my stream. I've bound all data from the stream to the data filter widget. Took the query property of the widget and bound it to the grid. Then took the querychanged event from the widget to invoke my customer service. On runtime, I can query using my filter but the result (filtered data) does not appear on my grid. It only shows the number of rows that have been filtered. Please see the screenshot below. How can I solve this? I used this tutorial: https://support.ptc.com/help/thingworx/platform/r9/en/index.html#page/ThingWorx/Help/Mashup_Builder/Widgets/ChipBasedDataFilterWidgetThemable.html Many thanks.
I recently updated thingworx to 9.3.3.When i set the SelectedRows source i get the following error while debugging:13:45:54 ERROR - Runtime exception handling data update for binding {"Id":"097e2722-4c44-48f8-babd-0eaa37bbd51e","SourceId":"GetSelected","SourceArea":"Data","SourceSection":"Things_Jens Test Thing","SourceDetails":"AllData","TargetArea":"UI","TargetSection":"","TargetId":"ptcsgrid-8","PropertyMaps":[{"SourceProperty":"","SourcePropertyType":"InfoTable","SourcePropertyBaseType":"INFOTABLE","TargetProperty":"SelectedRows","TargetPropertyType":"property","TargetPropertyBaseType":"INFOTABLE"}],"isBoundToSelectedRows":false,"nEntries":1}Exception: this.updateSelectedRowsProperty is not a function on line number 1 in file mashup-common-widgets-runtime.js?_v=9.3.3 i put a demonstration file in the attachments. if you change the getSelected binding to the Gridadvanced widget it works as expected. but it doesnt work on the new Grid widget.I am missing something
Hello all, Somebody kindly clarify the difference between Thingworx v9.1 dev & prdn instance license. what will happen if we use dev license for production server instance. Please clarify clearly!!!
Step 8: TasksStep 9: File Transfer ExampleStaging DirectoryStep 10: Support Other Platforms Step 8: TasksIf you are using the built-in Tasker to drive data collection or other types of repetitive or periodic activities, create a function for the task. Task functions are registered with the Tasker and then called at the rate specified after they are registered. The Tasker is a very simple, cooperative multitasker, so these functions should not take long to return and most certainly must not go into an infinite loop.The signature for a task function is found in [C SDK HOME DIR]/src/utils/twTasker.h. The function is passed a DATETIME value with the current time and a void pointer that is passed into the Tasker when the task is registered. After creating this function, it will need to be registered using the twApi_CreateTask function after the connection is created. Below shows an example of creating this function, registering this function, and how this function can be used.#define D
Step 5: PropertiesStep 6: Data ShapesStep 7: Events and Services Step 5: PropertiesIn the Delivery Truck application, there are three Delivery Truck Things. Each Thing has a number of Properties based on its location, speed, and its deliveries carried out. In this design, when a delivery is made or the truck is no longer moving, the Property values are updated. The deliveryTruck.c helper C file is based on the DeliveryTruck Entities in the Composer. After calling the construct function, there are a number of steps necessary to get going. For the SimpleThing application, there are a number of methods for creating Properties, Events, Services, and Data Shapes for ease of use.Properties can be created in the client or just registered and utilized. In the SimpleThingClient application, Properties are created. In the DeliveryTruckClient application, Properties are bound to their ThingWorx Platform counterpart. Two types of structures are used by the C SDK to define Properties when
Step 3: Run Sample CodeStep 4: ExampleClient Connection Step 3: Run Sample CodeThe C code in the sample download is configured to run and connect to the Entities provided in the ThingWorxEntitiesExport.xml file. Make note of the IP address of your ThingWorx Composer instance. The top level of the exported zip file will be referred to as [C SDK HOME DIR].Navigate to the [C SDK HOME DIR]/examples/ExampleClient/src directory.Open the main.c source file.Operating System Command Linux/Ubuntugedit main.c OR vi main.cMacopen –e main.cWindowsstart main.cModify the Server Details section at the top with the IP address for your ThingWorx Platform instance and the Application Key you would like to use. Change the TW_HOST definition accordingly.NOTE: By default, TW_APP_KEY has been set to the Application Key from the admin_key in the import step completed earlier. Using the Application Key for the default Administrator is not recommended.
Guide ConceptStep 1: Completed ExamplesStep 2: Environment Setup Use the C SDK to build an app that connects to ThingWorx with persistent bi-directional communication Guide ConceptThis project will introduce more complex aspects of the ThingWorx C SDK and help you to get started with development. Following the steps in this this guide, you will be ready to develop your own IoT application with the ThingWorx C SDK. We will teach you how to use the C programming language to connect and build IoT applications to be used with the ThingWorx Platform. You'll learn how toEstablish and manage a secure connection with a ThingWorx server, including SSL negotiation and connection maintenanceEnable easy programmatic interaction with the Properties, Services, and Events that are exposed by Entities running on a ThingWorx serverCreate applications that can be directly used with your device running the C programming languageBasic concepts of the C Edge SDKHow to use the C E
Hi, How can I Filter the Things based on Property value ?Thanks,Shashi.
Hi Folks, Whether LDAP or Azure AD will be faster to integrate considering minimum configurations on the Thingworx platform end. Please share if any guide or steps are already there to achieve the same.
Hello, I need a functionality to determine the next execution date(s) of a scheduler based on it's cron and last execution date (or date range) but I could not find anything useable in Thingworx or Java. Having this capability I could provide an overview of the scheduled task to the End user.Is there any tool that could help me to achieve this?
In Collection Widget, when number of rows infotable is changing, the cells are expanding and collapsing horizontally. But I want the cells to get expand and collapse both horizontally and vertically. How to do this?
I am an inexperienced user of Thingworx. We have a pre-existing Mashup which can plot historical data selected using the Date time picker. I would like to change it so that the data is selected based on the Batch Number rather than the date and time (this is a number variable that is already in the data). I am not sure how to do this,
I will trigger service to open particular tab in tab widget. So how to make its tab non clickable physically ?
Hi, I configured TWX SSO using Okta as IdP.All configurations I believe are correct, I can even login to TWX with SSO, I can open Composer and view mashups. But even though I've given SSOAdmins and SSOUsers (My group mappings in SSO) run time permission for Things, to view, run services, subscribe and etc.When I log in through SSO I can't execute any service and nothing more. It's like the user gets in, but it does not get added to the UserGroups defined.I've also given the UserGroups permissions on PlatformSubsystem, EntityServices.Is there some kind of different way to grant permissions to SSO users?I even tested creating a user and adding this user to my UserGroups, and at runtime everything runs fine, I can execute services and whatnot.I believe the issue is happening when logging in, the logged SSO user is not getting added to the respective userGroup mappings. Thanks!
Good day, all. I hope you are well. I have a filter widget that filters through my stream. I want to take all the data in the stream and export it to csv I am struggling to write a service that does this. This link: https://support.ptc.com/help/thingworx_hc/thingworx_8_hc/en/index.html#page/ThingWorx/Help/Mashup_Builder/Widgets/DataExportWidget.html. Speaks of exporting passwords that are encrypted. It does not address my scenario. Does anyone know how I can achieve this? Many thanks🙂
The New and Improved DGIS Guide to ThingWorx Development Written by Victoria Firewind of the IoT EDC The classic Developing Great IoT Solutions guide has been reskinned and revamped for newer versions of ThingWorx! The same information on how to build a quality IoT application is now available for versions of ThingWorx 9.1+, and now, a complete sample application is included to demonstrate these ideas. Find within the attached archive a PDF with high-level overview information on development and application design geared towards managers and business users, so that everyone can understand the necessary requirements, common terms, and key tips on how to ensure an application is scalable and maintainable right from the very start. Reduce your chances of running into issues between PoC and Go Live by reviewing this information today! Also find within this PDF a series of tutorials which teach not just how to use the ThingWorx software, but which also educate on
Hi Developers, Im trying out an example given in this site and Im facing issue in the eclipse as shown below Want to know what is the workaround for this. Regards,Saran
Hi, Was looking for the Best Practice's to purge few logged properties which are logged in the InfluxDB ValueStream, found a Article .and saw the below Comment in the Article: this means InfluxDB data in Value Streams shouldn't get purged ?Thanks,
How to find maximum number of users can be active in thingworx ?
Hi Developers, I had come across a LiveWorx 2017 presentation by Yale Evans describing an effective way to configure Thingworx and Kepware for Dev, QA and Prod servers. I'm trying to look for the complete video presentation for the ppt but I'm not able to access the content from here: https://www.liveworx.com/archive The site is showing some internal error Is the video available anywhere? Regards, Saran
i have a problem with the synchronization of thingworx and opc aggregator.first what have i done:use opc aggregator to read out values from machines, use the default settings.in thingworx i connect with remote thing over industrial connections and use for example following settingsi primarily use "read from server cache" or "cached for specific time", it s ok, but here is my problem....i get values by changed, thats correct, but in a few cases the change does not arrive...the setting "fetch form remote every read" would now make sure to always have the current value, but i continue to work with the values in different places and that would trigger too many read operations to opc aggregator here...at the moment my solution is, manually reinitializing the connection in the opc aggregator, in order to force a current query and syncronize opc aggregator and thingworx.is it possible, to query the current value from the opc aggregator, from thingworx?or is there a possibility to trigger the
At time i do reinitialization the runtime of the connections manually.Is there a possibility, to trigger reinitialization the runtime of the connections, from the outside with a service?
Use the OPC Aggregator to connect to machines via OPC UA to get the signals in Thingworx.Sometimes it is necessary to reinitialize the connection manually, which in my opinion is only possible via the OPC Aggregator. Is there a way to start a service from thingworx that can trigger the new initialization of the OPC Aggregator? If someone from PTC is reading this, is there a chance of getting a feature in the future, new initialization of the OPC Aggregator from thingworx, to automate operations? Thanks for help
when i study the example Connect Raspberry Pi to ThingWorx, i encounter this problem: by the way, my thingworx version is 9.1.12-b1048, is this the reason?
In some way, I want to hide the tab header using CSS. When using CSS, it works properly. In my single mashup, I have two tab widgets, and the CSS is applied for two tab widgets. I want apply below CSS with widget specific. .widget-ptcstabset::part(tabs-header){ display: none; } How to apply CSS without affecting more than one tab widget? Note: Thingworx 9.1
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.