Recently active
How to pass a query parameter from URL to Thingworx Master? I know we can set a mashup parameter, but is there a possibility to send this mashup parameter to master before the master loads?Also, is there a way to load the master after the service in contained mashup has been completed?Thanks,Su
Is it possible to set line break for Tooltip message of ThingWorx Button widget? Any css available for new line ?
Hello,everyone!Can you teach me how to use the service to increase subscriptions?
Hello,My goal is to give a end user the ability to create a custom report for other end user to use/input data. First is this possible. if so I was thinking about using a collection widget. Some research has shown I could use the Mashup Builder extension to add widgets to a mashup. But I can find this extension or any information on it.
In this article https://community.ptc.com/t5/IoT-Tips/Considerations-for-Handling-Time-Series-Data/ta-p/818763 entity id is defined as this: “ENTITY_ID”, [is] the identifier for an entity, such as a machine serial number. The ENTITY_ID field should remain the same as long as there are no missing timestamps and it is within the same asset but should be different for different assets or asset runs in order to accurately assign history during model training and scoring.""If there are gaps in the time series data, it is recommended to restart the series after the gap as a new entity." This makes perfect sense to me, in order to avoid mixing training data from different machines or different runs you should separate the dataset with the entity id label. In my case, I have only one machine/system, but several different runs spanning a big time window. I would therefore assign a different entity id for each of this runs. My doubt comes when asking for predictions. The
Hello, Is there a method to delete a row from infotable 'twInfoTable' on C SDK.I am able to add row twInfoTable_AddRow, also update specific entry in row using 'twList_ReplaceValue'But couldn't delete a row.I tried this example after add 3 rows in my example datatable (the second row exist 😞twInfoTable* it = TW_GET_PROPERTY(DEFAULT_THING_NAME, "Inventory").infotable; twInfoTableRow* it_row = twInfoTable_GetEntry(it, 1); twInfoTableRow_Delete(it_row); TW_SET_PROPERTY(DEFAULT_THING_NAME, "Inventory", twPrimitive_CreateFromInfoTable(it)); I have a classic c error :Segmentation fault (core dumped) at the last line of code.Thank you for your help.
Hi all, I am using the SetThingPermission service. The aim is to get about 10 things to have authorization to invoke the same services (about 7 services). I do not know what the correct values to pass as parameters to SetThingPermission service to achieve what I want, let params1 = {entityName: "Thing_Name" /* STRING */,entityType: "Thing" /* STRING */,permissions: permissionsTable /* INFOTABLE {"dataShape":"RunTimePermissions"} */,query: undefined /* QUERY */};Resources["EntityServices"].SetThingPermission(params1); As per the above, the permissionsTable requires some fields that I once more do not fully understand how to fill. permissionsTable: permissionsTable.AddRow({isPermitted: true, // BOOLEANname: "GetAlertStatuse", // STRING [Primary Key]resourceName: '', // STRING [Primary Key]type: "Service", // STRING [Primary Key]permissionName: "ServiceInvoke" // STRING [Primary Key]});This gives me an error. Does anyone know how to fill in the
Hello community, I downloaded the csdk , compile it on linux (ubuntu , my host) and it's working fine. Now i want to add a library : libusb-1.0. I am able to install this library on my Ubuntu and it's working fine in my host environment (because it's installed globally) But when i want to cross compile for arm arch, compiler keep exiting with error (cannot find the library !). I see there is a src folder and a subfolder thirdparty on the thingworx csdk package so i copy my library source files in this folder, but it didn't resolve my problem. maybe i have to update my Cmakelist.txt but i don't know how ! I tried to download the library cross-compiled and ready to use (libusb-1.0.so) from official website and then put it on the project but i cannot find how ?! Do you have an idea how to add libusb-1.0 to thingwrox CSDK ? Thank you for your help.
Issue: Audio player widget is not playing if we pass the URL input from serviceIssue Description: In audio player widget there is input property called URL for that URL am passing the input from service but it is not playing the audio. Note: If we give the default value for the URL it is working only when we pass from the service the widget is not playing the audio from the output of the URL which is coming form the service Thing Worx version.8.5.6
Please check my validator code even though i am giving it true input but still it is not working and not returning me true.
Hello Community,I am getting the data in an infotable but i am unable to read it. const SERVICENAME = "getPieChartDataOnMashup"; logger.info(me.name + " :: " + SERVICENAME + " :: Start Service"); let projectName = me.name.match(/^[^.]*/)[0]; let ab; try { ab = Things["V2.MYSQLDatabaseController"].SQLQuery_GetEntriesForPieChart({ lineName: lineName, StartDate:startDate, EndDate:endDate }); logger.info(ab.rows[0]); } catch (e) { logger.error("There is an error in service getPieChartDataOnMashup DataBase service.SQLQuery_GetEntriesForPieChart " + e); } let result = ab; the below pic is for logger ab.rows[0] the below is the output of the service. i am unable to read in logger ioEntries like ab.rows[0].ioEntries the values is 0 but i am getting undefined. Why? i am getting this data from SQL query and i have set the ouput as an infotable with two fields of number.
Hi, I would like to refresh the master. But I do not see a refresh property for master-mashup. Can anyone specify how I could refresh the master? Thanks,Su
Hello,Good Morning, I am trying to use pie chart widget in thingworx mashup, but not able to achieve the output. I have a service which has infotable as an output(Service.png). I have bound all data of that service to pie-chart widget(Binding.png) in thingworx mashup. After viewing the mashup it says no data in mashup(Mashup.png). I have attached the reference images, can anyone help me out with the same. Thanks in Advance. Regards,Aditya Gupta
Hi everyone, I am currently trying to export data to CSV in which I have collected in my LineChart from my mashup. I have seen the following article: Solved: Re: How to Export a Custom Excel file from Thingwo... - PTC Community. In which shows how to import CSV files but I am trying to export that data out and if its possible can is there a way to export in 30 minute intervals?I would be exporting data from a thing in thingworx from a thing group that updates that chart if that information is helpful. I'm using ThingWorx 9.3.5
Hi all, On the menu bar widget, the logo does not expand after I've expanded the bar.(See the images)ExpandedNot expanded How can I resize the footer icon as the bar gets resized? Thank you.
When a user logs into the ThingWorx application, I need to retrieve their user category from the application database. Based on the user's category, specific menu items in ThingWorx should be shown or hidden. Could you please guide me through the steps to implement this? For example, if user1 logs in, Menu--> Item1---> SubItem1, Item2--->SubItem2, Item3--->SubItem3 to be shown. if user2 logs in, Menu-->Item1-->SubItem1, Item3---> SubItem3 to be shown. Thank you.
Hi,What I am trying to do is, when I click on close button it should close the same mashup tab.Is there any way to do it?
Hello,everyone!How to quickly add properties in thingshape?
I uploaded a time series dataset setting the temporal op type to a field containing a ISO parsed datetime and setting the type of this column as a DateTime. I took caution to set the time sampling interval to the correct number of miliseconds (every row was a 1 minute delta so samplig was 60,000) I then trained a time series model with this dataset. No issues there. Now when I try to get a prediction I get the following message:Error executing service predWaterFlowDatetime Message :: Could not process request: [For input string: "2016-03-08T02:00:00.000Z" I'm basing my code and data on this tutorial: https://community.ptc.com/t5/IoT-Tips/TWX-Analytics-How-to-Build-and-Operationalize-a-Time-Series/ta-p/818275 In this tutorial they use a simple integer as the temporal field, I got that working no problem. I've now adapted the code, datashape, dataset metadata and model to use this datetime typed column as the temporal field, but something is not working. I've tri
Hi everyone, I would like to have a breadcrumb functionality that shows me the hierarchy of the mashup that I am currently on. e.g., Main menu item/sub menu item/sub-sub menu item.What I want to achieve is similar to what is highlighted in yellow on the first screenshot below: My service is as follows let result = Resources["InfoTableFunctions"].CreateInfoTableFromDataShape({infoTableName: "InfoTable",dataShapeName: "BreadCrumb_DS"});if(Data){for(let i=0; i<Data.length; i++){let row = Data[i];if(row.linkDestination){let newEntry = {DisplayField: row.title, // STRINGTypeField: row.TypeField, // STRINGURLField: row.linkDestination, // STRINGMashupNameField: row.MashupNameField // STRING};result.AddRow(newEntry);}}} The Data input here is the service output that goes to the menu bar widget. I did this because the menu bar widget has no selectedRows or data coming out from it that I can use to bind to my breadcrump widget. Has anyone ever overcame this issue?&n
I created a Thing Template extension using the Java SDK9.5.0, set the configuration parameters, and wanted to be able to read the configuration parameters to update some of the Template's property values,Thingworx always fails. How do I use the initialization method correctly to update properties or how to use this method correctly.@Overrideprotected void initializeThing(ContextType contextType) throws Exception {// TODO Auto-generated method stubsuper.initializeThing(contextType);}
Hello Everyone, I wanted to give permission access of visibility and runtime to the particular user group for the particular project, but unfortunately it is not working can someone please help me with this. Version used- 8.5 Thanks in advance!!
Hi , Is there a connector/APIs/Integration available for Thingworx to connect to ECS off the shelf MES tool?Is there a study or document please do share. thanks,John
Hi all. I'd like to set up a custom message handler on Thingworx 9.4.3 and I'd like to use telegram. Wondering if anyone has done this before or can provide me with steps to achieving this. Thanks
Looking to make use of the service: GetUserRecipientsOfEvent I am unsure of the input's and what to populate them with. I am expecting to get a list of users from the Test trigger that I've created. Here is the trigger: I've followed this guide to get the custom handler working to a point where I am able to see that the handler is triggered from logging inside the service. I am aware this this guide is for thingworx apps and I am using foundation but it does work. Working with Thingworx 9.4.4. Now I would like to get it fully working by retrieving the list of recipients and then referencing them so that I can actually notify the users included in the recipient list. Hoping someone here has used this service and can point me in the correct direction.
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.