Recently active
我使用下列方式將xml檔案匯入,但我查詢log檔顯示錯誤,thingworx裡面也沒有此物件,import option選用source control entities也是一樣問題,請問如何解決?
Problem: Suddenly I can't execute service GetGlobalSessionValues on CurrentSessionInfo.on CurrentSessionInfo. I'm using TWX version : 8.4.2.
Hello All I have created services for each LED in order to visualize the data, services work perfectly but LEDS are updated all the time as you can see in the photo below I added a trigger serviceInvokeCompleted to visualize the updated data but it creates a weird binding each time I try to connect it to my service : Could you please tell me why that happened, and what can we do to solve this issue Thank you for your answers
I Started a new hosted trial and it is version 9.0. I am using the same code I used to connect with the old trial except I changed the app key and URI to match the new hosted trial. I am getting these errors when trying to connect.... 13:03:01.139 [Client-EndpointMonitor-1] ERROR c.t.c.c.c.n.NettyClientConnectionFactory - Exception occurred while connecting to serverjava.lang.IllegalArgumentException: port out of range:-1 and... 13:03:01.139 [Client-EndpointMonitor-1] ERROR c.t.c.c.e.ClientCommunicationEndpoint - Refilling connections on [endpoint 0, uri: wss://pp-2008121712nk.devportal.ptc.io/Thingworx/WS] failed : null13:03:01.139 [Client-EndpointMonitor-1] ERROR c.t.c.c.e.ClientCommunicationEndpoint - Exception refilling connections was:java.lang.NullPointerException: null here is the complete console.... 13:03:00.770 [main] DEBUG i.n.u.i.l.InternalLoggerFactory - Using SLF4J as the default logging framework13:03:00.780 [main] DEBUG i.n.c.MultithreadEventLoopGro
Hello PTC Developer Community, I am looking for Best Practices / Examples how to connect my thing to external platforms like Salesforce where I need to use OAuth 2.0 Client in my Service. Steps I like to perform: 1) OAuth 2.0 with the platform (Here I am looking for examples and best practices) 2) Post JSON with current Sensor Values from my Thing (e.g. could be AnyDataChange or via Timer) (This is straight foward with Contentloader Function and the Guide) see also here: https://community.ptc.com/t5/ThingWorx-Developers/OAuth-2-0-using-Thingworx-Content-Loader-Services/m-p/681073#M47082 @praskumar seems to have a similar question. I started with the Contentloader Function Guide: https://developer.thingworx.com/resources/guides/xml-json-in-thingworx Where I am not sure how I can setup my OAuth 2.0 parameter described here: https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/quickstart_oauth.htm Any hints how to setup OA
Hi , I often get the error "Unexpected error occured on server" when saving service. I cannot save service anymore as long as the error occurs , I have to exit the Edit mode and edit the service again. Even though, the 2nd editing won't assure the save can be successful. I don't see any related logs when the error occurs, including Thingworx platform logs and tomcat logs. It's very boring especially when it happens more than 10 times in one hour sometimes. Any suggestion ?
I have a simple datatable thing that I am populating and editing successfully with the advanced grid. I am not able to get the widget to delete rows. The datatable does have a primary key. Can someone please tell me how to get this working? I am on v8.5 sp4, and I have seen other threads that say this was a bug that has been fixed in this version. ( cc @slangley ) I have tried binding selected rows ->DeleteDataTableEntryselected rows -> DeleteDataTableEntries deleted table ->DeleteDataTableEntry deleted table-> DeleteDataTableEntries None of those seem to work. Thanks in advance.
Hello, it is possible to to isolate an appkey to project or thing on thingworx 8.5.5. If so can you provide a guide please. Thank you.
Hi, I have created an infotable property in a configuration table and I have defined this structure in the data shape assigned also but when I try to view the infotable inside the configuration table it says 'must require a data shape defined'. But I have defined a data shape for both the configuration table as well as the infotable property inside the table. Wanted to know why this is occurring for a nested info table even if there is a data shape defined it says must have a data shape. Hoping for a reply soon. Thanks in Advance With Regards, Srijith
Hi. Can't get my head around one thing. I am using MFG Apps for Planned/Unplanned downtime mashup based on the equipment status id coming from PLC. While the control advisor mashup has expressions for distinction between planned and unplanned downtime it has no means for drilling down into particular reasons within planned downtime reasons for example. I am logging equipment status flag integer into a stream and it displays it in a grid with a timestamp. But I want to create another column with the duration of the particular downtime cause. How would I do that? If I have only the start time. So I assume the trigger event would be the next status change and its time stamp would determine the duration? Or should I use Alert services for that? My final goal is to have a pie chart of the unplanned downtime reason hours. Honestly Mfg Apps should have it along with multiple shift setup. Is there an indication when it will be added? Thanks
How to start with making services based on simple JavaScript on Thingworx? I am able to make mashup,thing and already made some SQL services ,but don't understand why I am unable to make some JavaScript services using simple onclick(),alert(),setTimeout() functions.It gives error i.e., like "-referenceError-<the function> is undefined".Than I got to know that Thingworx using Rhino JavaScript Engine which is not a simple JavaScript. Than how to use my simple JavaScript skill here on making thingworx services.What are the functions that Rhino JavaScript Engine recognizing from simple JavaScript?
Until recently everything worked with the analysis jobs, now the results are not displayed anymore. The analysis model is working and the inputs are right. I tried contacting the support directly but the support website is not working. Thanks Elena
Hi everyone, I have three markers on my map. Each marker is a location of my client. I would like to change the marker for the my client's logo. Each marker will have a diffent logo. Is possible do it? Regards, Leonardo
Hi All, I am having Mashup which is divided into 6 rows( 6 containers). Each row contains labels for key-value pair data and data is loaded using service. My requirement is not to show containers for which we are not getting data from backend service. So far I was accomplishing this by comparing attributes value for each row and if it was empty then I used to call one service which returns the boolean value for each row. This value I am binding with the "visible" property of the Row (container) widget. But in this approach, I face an issue that if some attributes are empty for the middle row, then it shows blank space on mashup. Is it possible to adjust the blank space/ container's property to adjust "top" dynamically? Request you all to kindly help me achieve this solution. Also if some other better approach is possible to load data dynamically and adjust the widget/ collapse widget if it doesn't contain any data. Regards, Siddharth  
Hi, How i can convert Infotable into JSON? Since toJSON() function Deprecated. no replacement @Deprecated @ThingworxExtensionApiMethod(since={6,6}, deprecatedSince={8,4}) public org.json.JSONObject toJSON() throws java.lang.Exception Deprecated. no replacement Any other methods available? Regards, Sathishkumar C.
Hi Folks, @PaiChung @CarlesColl @Constantine I have 500 Things to fetch properties from.And I have already tried fetching the Things first and then query for required properties only. But it still takes lot of time to execute. Is there any other way to fetch larger set of data from Things in a least possible time. Note: Already tried below workaround but no luck. var ThingsList = ThingTemplates["Template"].GetImplementingThings(); var params = { types: "STRING" , t: thingsList , columns: "MachineNumber", expressions: "Things[name].MachineNumber" &
Hi, I'm trying to get the file from remote TW server's SystemRepository to local file system, after calling all necessary C SDK v2.2.1 API functions: twApi_Initialize(hostname, port, (char*)TW_URI, myPasswordCallback, NULL, MESSAGE_CHUNK_SIZE, MESSAGE_CHUNK_SIZE, (char)TRUE); twApi_SetSelfSignedOk();twApi_DisableCertValidation(); twApi_BindThing(thingName); twcfg.file_xfer_staging_dir= (char*) "/home/davmel/stagingdir"; twFileManager_Create(); twFileManager_AddVirtualDir(thingName, (char*) "incoming", (char*) "/home/davmel/stagingdir/transfer/incoming");twApi_Connect(CONNECT_TIMEOUT, twcfg.connect_retries); Here all above calls return 0 error code. But when I try here to get the remote file, I'm getting 1114 TW_GATEWAY_TIMEOUT error code. err = twFileManager_GetFile(systemRepo, "outgoing", sourceFile, thingName, "/incoming", targetFile, 40000, FALSE, &tid1); The remote thing thingName is created as thing based on RemoteThingWithFileTransfer template.
Hi, We are working with the trial version of ThingWorx and we are taking some performance bench marks for data read/write to Things. For read we are using QueryPropertyHistory service via ConnectedThingClient in java sdk. For write we are using WritePropertiesVTQ api on ConnectedThingClient. These reading will be affected by the hosted server's location and the deployment structure of the server (cloud/on premise). So can anyone please help us with the information about where the hosted server is located? Regards, Vaishnavee
Hello community, good to be here, my question:Use-Case: I have a DataTable with orders. A service (receiveNewOrder) is looking for new free orders for my machines. The machines are simulated with the Java Edge SDK. Issue: Every time I run my Application which ist providing all machines in state 'IDLE' with new orders I get the following ERROR when trying to set machine (thing) property (CurrentOrder) to new order (String):2020-08-11 12:57:00.346+0200 [L: ERROR] [O: S.c.t.d.e.DSLScript] [I: ] [U: Administrator] [S: ] [T: TWEventProcessor-4] Asset_M_011001.receiveNewOrder - Error [Line: 16]: JavaException: java.util.concurrent.TimeoutException: Timed out APIRequestMessage [requestId: 13, endpointId: -1, sessionId: -1, method: PUT, entityName: *xxxx_010719, characteristic: Properties, target: CurrentOrder] logger.debug(me.name + ".receiveNewOrder started."); try { var orderStatus = "FREI"; var sortColumn = "Erdat"; // result: INFOTABLE dataShape: "sapOrders" // FY
Hi, I have a device connected over Modbus TCP/IP channel and logs data correctly. OPC quick client shows correct value. Once i turned off device, data quality is bad because of no communication. when i restart a device, there is no good data seen in OPC quick client. I have to delete channel and device and re-add it again along with tags. Once i will do it, it will start showing good quality data. Everytime i can not do that when i am using this during live production. Can you please suggest where i have to focus for this?Sometimes it has been observed in log that it shows error code 10061. 'Socket Error Occured connecting'. Error=10061. 'No connection could be made because the target machine actively refused it'.
Hi All, Iv Just started using Manufacturing Apps 8.5 the trial version as I am trying to build a POC against a competing IIot software package and so far I am very impressed. The question I have is how can you customise the charts to show alerts and frequency per shift
Hi We are trying to update data table during run time and we are encountering the following exception some times. We observed like after 3 or 4 continuous operations we are getting this error. java.util.concurrent.ExecutionException: java.lang.RuntimeException: com.thingworx.common.exceptions.DataAccessException: [1,018] Data store unknown error: [Error occurred while accessing the data provider.] The following is the data table structure snippet, we have 2 string columns as primary key and the max number of records are less than 50 in this data table. The following is the service we are using to update the data table. var params = {tags : tags,source : me.name,values : values,location : location}; // AddOrUpdateDataTableEntry(tags:TAGS, source:STRING("me.name"), values:INFOTABLE(IIOT_EN_DT_ResponsiblePerson), location:LOCATION):STRINGvar id = Things["IIOT_EN_DT_ResponsiblePerson"].AddOrUpdateDataTableEntry(params); It is a show stopper for us n
I have a drop down widget which is dependent on another drop down. So when I select the first drop down the second drop down get's populated respectively.My requirement is that when my second drop down is populated if the list has only one value(i.e 1 row) it needs to get auto selected, but if it has more than 1 value in the list I don't want the auto select option.So I cannot use the "Auto select first row" property as it will not satisfy in case I have a list with more than 1 value.Is there a way to configure my drop down such that it get's auto populated only if 1 value is present in the list.
Hi @nsampat @Elena2 , Has this probelm been solved? I probably meet the same problem. The Analysis Jobs cannot work any more but other modules of Analytics are all OK. we donnot know how to solve this probelm. we will appreciate it if you have some good ideas.
Suppose, if you have uninstalled ThingWorx Flow successfully with appropriate steps. And, tried re-installing which is failing with below error in the flow installation logs, " FATAL: SystemCallError: windows_service[RabbitMQ] (orchestration::rabbitmq line 120) had an error: SystemCallError: The specified service does not exist as an installed service. - OpenService: The specified service does not exist as an installed service." This is due to the registry problem. To resolve this, need to delete the registry key. Following steps are need to be performed: Go to Start-> Search and Run 'regedit' as an Administrator Navigate to 'Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Ericsson' Delete Ericsson key and its sub key Restart your machine Install ThingWorx Flow again and it will be successful. Here is the article link on this subject: https://www.ptc.com/en/support/article/CS328600 Thanks, Vibhuti Angne
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.