Recently active
Hello.I am implementing mashup for a client and he wants to display on screen various bar charts, similar to those you see in the picture. I used Themable Bar Chart in Thingworx 9.3I used collection widget, each collection cell has only has this single chart widget.The problem is that client screen has small resolution and I can not allow to widget to have 32px padding. (see picture)Is there a way to remove/modify this two CSS rule (:host{} and [part~="chart-layout"]) from Shadow DOM?Thank you.Illya.
Hi,I am currently working on a project where we want the pageNumber to be controled via a session variable.When for example selecting an item and then clicking back, we want the last viewed pagination page to show. The property pageNumber is updated correctly when switching pagination page. But when clicking an item and back, it is not taking into account the last pagination page,How to solve this?// Oskar Berntorp
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 ?
Hello! I'm configuring a PLC device inside a local network (a S7-1500 with endpoint opc.tcp://192.168.0.190:49320) and already configured a NAT device to translate the local IP for a public IP at the VLAN (10.10.230.235). From my server I can ping the NAT but when I try to configure it into Kepware (installed at the same server) it doesn't find any available endpoints. I tried also to configure it using "Discovery Server" function. Any ideas in how to configure a endpoint behind a NAT address? Thanks in advance!
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?
How to include custom string under the values. Example:{|#each VALUES|"variable": CONSTANTSTRING,"|TAGNAME|_realvalue": |VALUE|,"|TAGNAME|_quality": |QUALITY|,"|TAGNAME|_timestamp": |TIMESTAMP|,|/each|}
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?
Trying to pull data from an AB Plc using Kepware without having a TAG in the Kepware Database. Looking for a way to just pass-through the READ request. I know the below code snippet works just fine, however, the tag "YourPLCTag" needs to be in Kepware DB. I just want to access "YourPLCTag" without the tag being in Kepware. var serverUrl = new Uri("opc.tcp://localhost:4840");// Connect to the OPC serverusing (var client = new OpcClient(serverUrl)){client.Connect();// Read PLC valuevar nodeId = "ns=2;s=YourPLCTag"; // Replace with your PLC tagvar value = client.ReadNode(nodeId);// Do something with the value...client.Disconnect();}
Hi everybody, Assuming that I have a configuration of one machine in one channel.What is the optimal number of channels on KepServerEx? When should you think about turning on a second KepServerEx server?how to distribute overload on one KepwareEX? Is a Master/slave hierarchy recommended for several KepServers at the same time?Thank you for answers. BR,Jan
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.