Recently active
Hello, I have a csdk prorgam, i need to search specific element on infotable.I am trying to use the function twList_Foreach(twList *list, twForEachHander listHandler, void *userData) to find and update row on the infotable, but i am not succeeding.Can someone provide me with a sample to use this method please?my infotable contains 4 strings [field A , field B , field C , field D] , i am searching the row where B=='some specific string'if true update the row. Thank you very much for your help
Trying to fetch the outgoing dependencies of a thing as an infotable using the GetOutgoingDependencies service in the PTC.Resource.RelationshipUtilities, but facing this error : Error executing service. Message ::Unable To Convert From org.mozilla.javascript.UniqueTag to INFOTABLE - See Script Error Log for more details. Here: var thingName = "sampleThing"var mxItems = 10;var mxDepth = 2;let params = { target: thingName, maxItems: mxItems, maxDepth: mxDepth}; var relData = Resources["PTC.Resource.RelationshipUtilities"].GetOutgoingDependencies(params);
I am looking to use the API's put method to update an infotable property on a specific thing. Using postman I currently get a 406 - Not Accepted with the message being:JSON Content for HealthAndSafetyReport Was Not ValidProperties. When I use the Get method, I get the following response: { "dataShape": { "fieldDefinitions": { "HealthAndSafetyReport": { "name": "HealthAndSafetyReport", "description": "", "baseType": "INFOTABLE", "ordinal": 24, "aspects": { "isIndexed": false, "isPersistent": true, "isLogged": false, "dataChangeType": "VALUE", "dataShape": "HealthandSafetyReport_DS", "cacheTime": 0.0 } } } }, "rows": [ { "HealthAndSafetyReport": { "dataShape": { "fieldDefinitions": { "Daily": { "name": "Daily", "description": "", "baseType": "STRING", "ordinal": 0, "aspects": { "isPrimaryKey": false } }, "Date": { "name": "Date", "description": "", "baseType": "STRING", "ordinal": 0, "aspects": { "isPrimaryKey": false } }, "Month_
If I am an Administrator is it possible to run a service temporarily on a Thing in a user role that is less privileged? I am working upon a use case wherein the user is not an Administrator. For this I need to keep removing myself from the Administrator's group, check if the mashup/services work, and if they don't request other team member to add myself back to the Administrators group and keep working. I would like to avoid this. Scenario is: 1. User Jack is an Administrator2. When service GetData on a Thing runs it has to do it in a user role which is less privileged than an Administrator3. Jack's user roles should not be affected in any way if this service runs. Thanks,Ashish Tamhane
Hi,How to merge grid multiple headers into one header in thingworx version 9.4.3? (I have attached screenshot need to do like this in grid please check it) or any other for highlighting same featured headers in a grid like apply same css to the same featured headers? I tried to apply css in 9.3.4 twx version but it's not working for headers.Please suggest me asap.
How to Reconnect ThingWorx to Kepware? Translated by the Community Moderation using Google Translate ----------------------------------------------------------------------------------------------- Como Reconectaar o Thingworx ao Kepware ?
I'm currently binding a grid configuration from a service to the Advanced Grid. Everything works fine - except I can no longer see the binding to get the EditedTable. Please let me know how this can be done? Using version 9.3.4
Hi Team, If data is not available in dropdown and after hitting button need to show status message for it how to do?please explain step by step. It will be helpful. thanks.
Hi everyone, I am using a service which is calling windchill data and then storing it in thingworx local database postgres sql now I want to automate this service on a specific interval so that it will automatically execute after a certain time what I am thing is using a scheduler thing template but not sure how can I implement it and the Thing on which this service is present already using database template so I can't use two template in a single thing so please give me a better understanding if anybody's have any Idea. Thanks and Regards,Lav.
Hi , I created a custom script function called GenerateUid. This function generate a unique id(Long type) for every call using the snowflake id algorithm. It works in the backend of the extension, I can see the unique id is generated correctly in debug. However, the last two digits of the value returned to ThingWorx is always "00". For example, the generated id is 569467214119305221, but the value in ThingWorx's service result is In debug you can see the uid is 569467214119305221. but in ThingWorx it's 569467214119305200 ===========Version ========== ThingWorx 8.5.5 Database: Postgresql 10.x OS: REHL 7.6 ======================================Update======================== I changed the return type from LONG to STRING and everything works. so there must be something wrong for LONG ? Regards, Sean
Hi,I am trying to figure out how to display an external webpage in thingworx. I am trying to use an expression which then outputs html as a string of an iframe, The output of that expression is bound to the data property of the value display. I have also tried to enter the html into a textinput, But the value display will only display the raw text and not the page which should render. The value display is set to render the data as html. Am I doing anything the wrong way, if so please advice me how to do.KindlyOskar Berntorp
In Thingworx 9.5 there is one feature of "RowSelection" that is bindable.I want to control the grid property from none selection to multiple selection through this Upon clicking the button, I pass the result as 'Multiple' to the RowSelection grid property and reset the grid on change. The issue is that I am unable to switch to multiselect.
Is it possible to get a list of all bound properties and their source and VTQ on a Thing by executing a service? Ideally I would like to monitor bad endpoints and create some notification to help track and fix any problems. I have tried the getBound Items function with no success, even though I have quite a number of properties bound on my thing.
When selecting the data of the grid using the mouse, random data is unselected as can be seen in below image: Can anyone suggest how to fix this, as the requirement is to select and copy the grid data.
Hi, I had try to disable timeout session by enter 0 in value ..... ( SetPlatformSessionTimeout service in User Management Subsystem )But now, I loose access in Composer and Runtime 😞 Who I can reset 30 minutes ?
Hello Community, We want to have 2 thingworx 9.4 instances and for this process we want to clone/copy a vm that contains the twhingworx installation. We think that in this process we must to also get a new licence with ThingworxDeviceId because is going to be the same. So the final idea is to have a replica. This procedure can be done? Do we must to do something more? Thank you in advance,Luis.
Hi there, Looking to alter a grids information in run time by changing a Boolean value to a colored block. Above is the mashup that I currently have. There is a column called online_status. That is a number that will either be a 1 or a 0. I would like to rather show a block that is green if 1 and a block that is red if 0 Is that possible with the current grid? If so how can I achieve this? Below is an example of what I'd like to achieve (I've blocked out information that may be sensitive): Hoping anyone can help. Thanks in advance.
I managed to install thingworx foundation 8.5 on CentOS using the Red Hat installer. However when I try install the Full installer which includes both foundation and flow or run the flow installer after installing Foundation first, it fails. The following message is displayed: Installing ThingWorx Flow for PostgreSQL 0% ______________ 50% ______________ 100% ######################################## Warning: A problem occurred during installation that may cause an unsuccessful installation. flow Installation Failed Press [Enter] to continue: # ---------------------------------------------------------------------------- Setup has finished installing ThingWorx Flow for PostgreSQL on your computer. Error: There has been an error. ThingWorx Flow for PostgreSQL installation failed. Please check the logs. However no files or logs are found in /opt/ThingWorxFlow-8.5.0. Has anyone else had success with CentOS and Flow?
I have a serial printer and can't use the network interface, and now I need to print out some pages from Thingworx, can you help me?
ThingWorx 9.3.4 Hello there, We experience some issues with sorting columns in the Grid widget. Our grid displays data correctly and, in certain rows, some cells intentionally contain no values. Because of the "undefined" values in the cells, the grid won't sort - e.g. date columns - or partly sort - e.g. number columns -. When we try to sort on a date column containing "undefined" values, the error given on the client side is the following: Columns with a number that also have some cells with "undefined" values start sorting some numbers, then shows an undefined value and the sorting restart with the following rows starting from a lowest value again. What we expect is that "undefined" values are part of the sorting, so asc starts with empty values and desc puts empty values at the end. Kind regards
Hi Team, Can we apply custom css in 9.4.3 version of Thingworx? As of, I know it's not allowing for apply custom css.Please let me know. Thank you
I’m developing an app in Unity and need our users to be able to log in through it as they would on the ThingWorx login page (https://support.ptc.com/help/thingworx/platform/r9.5/en/#page/ThingWorx/Help/Composer/Security/Organizations/CreatingLoginPageFormsforOrganizations.html#).I’m having the same problem at the OP here: https://community.ptc.com/t5/ThingWorx-Developers/Login-Implementation-with-username-password-via-Things-Service/m-p/662474The value I get returned from the server is the HTML for the login page. I have tried setting the Accept header to "application/json", “text/plain”, and “text/csv” but to no avail. Unlike as described in the response by PEHOWE in the above link, I get the same HTML when testing in Postman.My code is essentially the same (but using UnityWebRequest.Post()) as the OP here: https://community.ptc.com/t5/ThingWorx-Developers/C-based-login-fails-with-401/m-p/505077Thanks in advance for any help.
I have 3 drop downs bind to the same service whose output is list of mashups in the project.When i try to change the value of drop down 1 then the value in the other 2 drop downs automatically change to the same value. I need all the 3 drop downs to show values that user has selected.I don't understand how the 3 mashups are connected.Also is there a good way to default the previously selected values when the mashup is loaded.
Initially posted in this topic: Hello @PG_CG , We are also facing this same issue now. Running TWX 9.3 with influxdb hosted in Azure instance. I tried to execute the service you mentioned i.e "ConnectDataSource" but it did not work. Also tested the connection by running "isConnected" (result is false) and "TestConnectivity" (result is "no data"). What can be done here? pls someone suggest.. A restart of both the services is a try-out option ? Pls someone suggest. Thanks in advance
We have a SQL Server Analysis Services Need to fetch data from that server.We have connected with Power BI. How to replicate the same in Thingworx. Power BI Configuration: Datasource: SQL Server Analysis Services Server: powerbi://api.powerbi.com/v1.0/myorg/ptc_thingworx boards group Database: Thingworx Quality Data Authentication with Azure AD Is it possible to replicate the same?
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.