Recently active
Hello Developers, I have a mashup and in that i have collection. In collection i have around 12 or 14 images with 2 3 PDF's. I would like to add here the next and previous button so that user do not always have to open and close each image. Currently my implementations are that i have two navigators and i check if its pdf then this mashup and if pic then this mashup and the url / photourl etc i am sending it with mashup parameters. Anyone has an idea or some insights about this requriement would be really nice. I am already doing brainstorming but listeneing to your insights would be great. Collection in mashup when you click on any photo
Hi Developers,I have a service which loads the data on mashup in gridadvanced. I have a textfield which takes searchinput so if (searchinput !== "") {then i run the service to get data for that input which is given in text field} else if (searchinput === ""){means i have not written anything in textfield then i am just showing a complete datatable entries on grid}Now new requirement came that the user can select startdate enddate and get that entries on mashup. Any suggestions for best practices how can i do that? I think i have limited the existing service to run on only in two conditions. how can i expand it. any ideas or suggestions?
We have installed Thingworx Foundation with "ThingWorxFoundationMSSQL-9.1.9-x64" installer with Windows 10 For some other issues, we had reset the entire windows system. So, every software installed in the system removed including Thingworx and MSSQL. Now, I'm trying to re-install again Thingworx Foundation with "ThingWorxFoundationMSSQL-9.1.9-x64". But we are getting an error...There has been error. This version of thingworx foundation already installed. If I'm trying to install some other version of Thingworx... How to resolve this issue and install Thingworx Foundation?
Hello,everyone!Why does the log report an error when using alert as a subscription input?This is the property I entered:Here's the subscription I wrote: This is the log after triggering the subscription:Why is that? Please help me.
Goodmorning.I am following this guide to build a Predictive Analytics Model Guide: https://community.ptc.com/t5/IoT-Tips/Build-a-Predictive-Analytics-Model-Guide-Part-1/ta-p/810137The goal is to complete the "Global System Integrator Program" for the company I work for,I created a Virtual Machine in PTC Cloud Portal and I created an environment just for training.Environment info: ThingWorx 9.3.6 for TE Training-Windows 2019 by Satish Lovevanshi. I followed the installation guide.I saw that there is a separate instance of Analytics Server to be added.I downloaded the installation files in the VM, but I can't run the .exe file because the Windows antivirus blocks it. Even if I am the Admin, I can't disable it or even whitelist it. Has anyone experienced something similar or have any suggestions in general? P.S. Me and my team already have a RockWell partner to ask, and he suggested to come here because he didn't know how to help us.Thanks in advance.&n
Hello.I'm trying to use the Tree Grid, within the Grid Widget.I have created two Infotables. One with Parent Data and another for Child Data.Parent Data Output:UID (Long)Name (String)hasChildren (Boolean)1Parent 1true2Parent 2true3Parent 3false Child Data Output:UID (Long)Name (String)ParentUID (Long)4Parent 1 - Child 115Parent 1 - Child 216Parent 2 - Child 12 Bindings:Data: -> Parent Data TableChildData: -> Child Data TableIDFieldName: UIDParentIDFieldName: ParentUIDHasChildrenFieldName: hasChildrenResult:With the following approach mentioned above, I have 3 rows as output.Row 1 and 2 can be expanded to show the children, but not row 3 as expected. However, if I expand row 1, I have all 3 Child Data Rows in there.If I expand row 2, I also have all 3 Child Data Rows in there. I don't know what to change anymore.Can someone help?Best Regards.
I am trying to write a service that returns the local time offset from UTC. I simply create a new Date() object and run the getTimezoneOffset() on this object. I verified that the date object is indeed my local time, but the getTimezoneOffset() is returning 0. How can I get the offset from UTC? var date = new Date(); // this is returning my local date/time var localOffset = date.getTimezoneOffset(); //this is returning 0
Hi,I try to export requirement with formula writen with latek plugin from our codebeamer. In the general case the extrapolation formula is the following \\ [{Latex \\ \[\Large E_{T} = D_{N} + T*(D_{N} - D_{N-1})/S \] }] word export generate images: When we need to import the word into codebeamer, we need to rewrite all formula. Is there a way to keep a scientific format for export opration?Reqif export convert to image too?
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?
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.