Recently active
Hi, LocalizationTables["es"].DeleteToken({name: "1-Fire Defect Code 38#" /* STRING */}); Unable to delete token which is in es table using delete token service This token has been create using service AddorupdateToken on es table. Error in script logs : Error executing service DeleteToken. Message :: Token [[1-Fire Defect Code 38#]] not found But this token is present in es table but not in Default table.Please help me with this.
How to decrease the time width of time box and increase the width of date & year in new date time picker ok 9.4 version.
Hi everyone, I have a doubt I am attaching file for detailed understanding I want to use pie chart and in that I want to configure it a way so that whenever I select any section of that pie chart It should render to the source it may be another pie chart or may be a grid data associated with that particular section similarly other section as well Now for that please tell us how can I proceed please also write the service as well for the data I have given it in the attached Image. Regards, Rayon.
Hi, I updated a Thing shape with some new services and properties, and I changed the code from an existing service. This Thing Shape is added to a Thing template, which is used to created several Things based on this Template.On both the template and the derived things, the new properties and services are shown, but the existing service still has the old code instead of the updated code from the shape.I tried refreshing to clear cache, but still the old code is showing. I don't see any errors in the logs and if I try the same code on a new service, it works. So I'm pretty sure the code itself is ok.Is there anything else, that can prevent an inherited service to update?thanks in advance for you tips.
Hi Everyone, My Doubt is like suppose I have a service which store windchill data into Thingworx database from so what is I want is schedule a time on that service so that it will automatically get executed on each specified time interval for that I know there is auto refresh widget in thingworx but How will I get the timing that when this service get executed like I am Thiking to create a property (Date Time) which store the recent time when the service get executed so to to this what I have to do Like any code change or something else please suggest if anyone have any idea. Thanks and Regards,Lav
Given an array of integers, find the length of the longest increasing subsequence. A subsequence is a sequence that can be derived from another sequence by deleting some or no elements without changing the order of the remaining elements.For example: #include <iostream> #include <vector> int longestIncreasingSubsequence(const std::vector<int>& nums) { // Your dynamic programming solution goes here. // Return the length of the longest increasing subsequence. } int main() { std::vector<int> sequence = {10, 22, 9, 33, 21, 50, 41, 60, 80}; int result = longestIncreasingSubsequence(sequence); std::cout << "Length of the longest increasing subsequence: " << result << std::endl; return 0; } I'm specifically interested in implementing this using dynamic programming techniques. How can I approach this problem using dynamic programming, and what would be the C++ code for solving it? Any insights, code snippets, or exp
Hi,Please help on following , I want to get date field from CSV file. If I apply dataShape (Date column as Datetime). will getting error (tried many ways, still didn't get answer). let params = {path: "/PhysicalTestMachineData.csv" /* STRING {"defaultValue":"/"} */,columnMappings: undefined /* STRING */,hasHeader: true /* BOOLEAN {"defaultValue":false} */,longitudeField: undefined /* NUMBER */,dateFormat: parseDate(Date, "DD/MM/YYYY") /* STRING */,fileRepository: "SystemRepository" /* THINGNAME */,latitudeField: undefined /* NUMBER */,fieldDelimiter: "," /* STRING {"defaultValue":","} */,stringDelimiter: undefined /* STRING {"defaultValue":"\""} */,customFieldNames: undefined /* STRING */,dataShape: "Physical_E1" /* DATASHAPENAME */};// result: INFOTABLElet result = Resources["Parsley"].ParseCSV(params); .....>>> Error executing service GetPhysicalTest_CSV_1. Message :: Invalid format: "org.mozilla.javascript.IdFunctio..." - See Script Error Log
It's been a year since this post and there are newer versions released. Is there a solution for this? If it's not the built-in behavior, I'd like to specify that if the new value is null, then set the value to the default value. Why else would there be a default value? I've entered a default, value; I shouldn't need to write a bunch of code for the default value to mean something more than documentation.
Hi everyone,I am getting data from from windchill and then storing it into thingworx locally so what I want is user should have flexibility to refresh the data and it should also showing at the mashup UI like when the data refreshed last time like that so to achieve this what should I have to do like what is happening in the background (Windchiil system) may be some data gets updated so in that case user want to see live data and the time when he refresh so what should I have to do implement this kind of problem I am thinking of a scheduler which should be running after each specified time and also thinking to give user flexibility to see the data refreshed so how can I implement it Regards,Lav
How can I trigger a service in mashup A via a button click and display its output which is an infotable, within a grid in mashup B in Thingworx?
Hi,I am developing a Scanner Widget for ThingWorx using HTML5QRScanner. For some reason it can´t start automatically with the built in api when using the scanner within thingworx.What does work on the other hand is when using plain html/javascript outside of thingworx. So I thougth that this problem would be possible to circumvent with a webframe-widget, but then I would need a way to extract information from the page in the webframe. My question: is it possible to get some kind of output out of the webframe-widget, or to access the page in the webframe from thingworx?RegardsOskar Berntorp
Hi I created one model in thingworx analytics which have 0 lookbacksize and 5 lookahead and calling that model in thingworx service by executeJob() and trying get the 5 output data as there are 5 lookahead but unable to get the 5 output data. Can anyone help me to resolve this issue.
Hello, everyone,I need some advice. My goal is to send telemetry from OSI PI to Thingworx. Browsing the internet I have read various solutions to answer my question. I wanted to ask you, the community, for a solution for data transmission, which is not using the Capula connector, and whether these proposed solutions have additional licensing costs. Thingworx Version: 9.0.3 Thank you
Hi, We created thingworx analytics model with 0 lookbacksize and 5 lookahead now we are trying to create custom datashape to it and trying to add some fields into it but not able to create, after clicking on addorupdate button it is showing an error like "???". Kindly help with this issue. Thanks!!
what is this bank container in tis and how can I remove this
Hi,I'm actually regarding to make a WebSocket connection between ThingWorx and a WebApp using Angular Node.JS (17), the objective is to retrive and display data in real time on the web interface. After looking the ThingWorx Documentation and looking at all post on the Forum, I was thinking "Is this really possible ?", so I'm here to see if some other developers have already done that before ?Thank you for all future person will give me some answer to my question.
I have 100 token created in Localization Table: Default', Now I want to convert and see in runtime whenever changed languages from dropdown in runtime. Please suggest my any service or code which should convert to other languages automatically
I have an integration connector and I am able to filter workflow items by status but when I try to filter by the CreatedOn date greater than a date in the past I get an error message like shown below where the day of the week changes based on the comparison date. I am comparing a set datetime to the created date, neither of which is listing the day of the week. Error executing service GetWorkflowTaskList. Message :: Your route exchange has failed. Service operation failed with status [ - The property 'Tue', used in a query expression, is not defined in type 'PTC.Workflow.WorkItem'.] - See Script Error Log for more details.
Hello everyone, today I came across this strange error. When I try to search a Form for a Project, Group or User, I can't display the entities on my Thingworx server.I can't understand why, has this ever happened to you?
I have created a one thing, inside that thing one service is created and I want to use this service in my react application. I used the following format of API 'http://localhost/Thingworx/Things/ThingWorxTrainingMaintenanceBlog/Services/GetBlogEntriesWithComments' but still facing issue. Please suggest me the correct way of doing this. I'm using Thingworx 9.3
Hello Communtiy, For some time now I have been using the "Export as Source Control Entities" function and SourceTree when I want to save something in our internal source control system. However some of my colleagues use the PTC(?) built Git Mashup for the same functionality. What I have noticed is that when someone has used the Git Mashup for source control, the XML contains a "password" in the <Entities> universal tag.But when I have exported it using the Source Control Entities function the <Entities> universal tag is empty. This causes some quite annoying issues when trying to actually see what has been changed between commits as every single entity now looks changed. Does anyone have any ideas on what causes this? I suppose as a workaround I could add the "password" value in the tags manually. But if possible I would rather not. Thanks,Jens
Hi everyone, Does anyone know how to use SSO in TWX with OKTA as IdP? Thanks in advance, Caio
Hi Team, I am looking to better understand/ best practice of storing PLC tag data from the machine,I am using Azure SQL as a persistence provider. Current architecture.We are logging roughly 100 tags (might scale to ~500) from one machine into the value streamWe have 10 such machines (planning to scale to ~50).We are logging the data in value stream to show data in the dashboard for monitoring like temp, head pressure etcDashboard can show data for 2days Then pushing rest of the data to datalake to have more historical data.With above configuration, we are getting around 3500 tags every min for 1 machine, When we scale to multiple and more tags, this number will surely grow and value stream being a table isn't able to handle. What are the different logic you use for this architecture ?What are best practises?Is having only parallel Azure IOT event hub to push data to datalake? Please suggest!
Hi all, We store images uploaded by the user in a stream. I want to export the stream with images to excel and show the same in excel. Please let me know if any method is there to do the same. Thanks in Advance. Yedukrishnan
I wanted to provide runtime permission to non admin and non member of ComposerUsers group to view the mashup and able to run the application. I have created Organization, in that organization, I have added user group which consists of the user for whom the app should be visible and executable. So as per the article - https://www.ptc.com/en/support/article/CS341872 I have applied the required permissions. But for that user getting error as - Exception in WHR.EngPortal.Base.Thing::GetAdminPanelSections:TypeError: Cannot call method "CreateInfoTableFromDataShape" of null Note - for the Thing - WHR.EngPortal.Base.Thing I have provided the visibility permission, runtime permission and design time permission for that organization and user group. PFA screenshot of the same, but still I am getting this error. And for admin user, it is working fine. Also even when I add this user group or user to the ComposerUsers group at that time also It is working fine. Unable
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.