Recently active
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.
Hi TWX Gurus, I have a typical problem-I would like to pass variables from grid(which is on one mashup screen) to another mashup, my grid is populating from database. 1. I have tried creating variable in both the mashup & assign the variable from DB service to navigation panel/as well to local Mashup variables property. But when double click- new mashup is coming but not able to passing values. 2. I tried with creating one thing service and assign the values to property- but that is also not working. Can anyone please tell me - which event to fire to pass the variable to other mashup as well how to navigate. Thanks in advance! ~PC
Hi , I need to implement a java extension to export infotable, it would be feasible if writing the data via FileRepository and download it and then delete it , but it's a little bit tedious. Is it possible to return a servlet OutputStream ? Regards, Sean
Hi, I am trying to convert infotable data into JSON. The fields order available in InfoTable is not same in JSON string. How to reorder the fields in InfoTable? Fields not follow the infotable order in JSON. How to resolve this? My Infotable: Converrted JSON: {"rows":[{"Description":"Demo","AddedOn":1596949613100,"AddedBy":"Administrator","TemplateFile":"Report.xlsx","Template":"Report Demo"}],"dataShape":{"fieldDefinitions":{"Description":{"name":"Description","aspects":{"isPrimaryKey":false},"description":"","baseType":"STRING","ordinal":2},"AddedOn":{"name":"AddedOn","aspects":{"isPrimaryKey":false},"description":"","baseType":"DATETIME","ordinal":4},"AddedBy":{"name":"AddedBy","aspects":{"isPrimaryKey":false},"description":"","baseType":"STRING","ordinal":5},"TemplateFile":{"name":"TemplateFile","aspects":{"isPrimaryKey":false},"description":"","baseType":"STRING","ordinal":3},"Template":{"name":"Template","aspects":{"isPrimaryKey":true},"description":
Hello everybody, has anybody successfully tried the "new" way of developing thingworx extensions based on the twx_wc_sdk? I followed this guide (http://support.ptc.com/help/thingworx_hc/visual_sdk/) up to the step: npm install twx-wc-sdk/ptcs-library This gives me an error: npm ERR! Error while executing:npm ERR! C:\Program Files\Git\cmd\git.EXE ls-remote -h -t ssh://git@github.com/twx-wc-sdk/ptcs-library.gitnpm ERR!npm ERR! Host key verification failed.npm ERR! fatal: Could not read from remote repository.npm ERR!npm ERR! Please make sure you have the correct access rightsnpm ERR! and the repository exists.npm ERR!npm ERR! exited with error code: 128 Seem the repository at github is not valid. Greetings Andreas
Hello, We have added a time series chart widget in our mashup and configured it to see tool tips values (EnableHover property checked), but we don`t see the values when we hover over a marker. Has anyone had the same problem? We are using Thingworx 8.5.2. Thanks in advance,
Hi Team, I have multiple polar H10 heart rate Fitness band, So i want to get this bands data in the thingworx,How can i do that? I have no idea how to get this data in the thingworx i am totally blank.. Polar h10 video link for your help. please suggest the way.
I am currently trying to invoke a service but my params are not being set for some reason. This is the java code... //// Invoking a service on a Thing/////////////////////////////////////////////////////////////// // A ValueCollection is used to specify a service's parametersValueCollection params = new ValueCollection(); params.put("name", new StringPrimitive("testThing"));params.put("description", new StringPrimitive("Here is thing created from a service via Java."));params.put("thingTemplateName", new StringPrimitive("RemoteThing")); // Use the CreateNewThing service from SimpleThing_1 to create a new thing.// This service's result type is NOTHING, so we can ignore the response.result = client.invokeService(ThingworxEntityTypes.Things, ThingName,"CreateNewThing", params, 5000); And the service has this javascript within it... var params = {name: name /* STRING */,description: description /* STRING */,thingTemplateName: thingTemplateName /* THINGTEMPLATENA
Hi everybody, I am not able to set the Cache Method of a Remote Thing Template created via services. I am using the AddPropertyDefinition function. Since there is no option to set cacheTime directly, I included it in the remoteBindingAspects option, but I am not sure the syntax is correct or whether I can even do that or not: var remoteAspects={ cacheTime:-1, }; var params = { // defaultValue: undefined /* STRING */, remoteBindingAspects: remoteAspects /* JSON */, // description: undefined /* STRING */, // readOnly: undefined /* BOOLEAN */, type: me.PressProps.rows[i].DataType /* BASETYPENAME */, remote: true /* BOOLEAN */, // remotePropertyName: undefined /* STRING */, // timeout: undefined /* INTEGER */, // pushType: undefined /* STRING */, // dataChangeThreshold: undefined /* NUMBER */, // logged: undefined /* BOOLEAN */, name: me.PressProps.rows[i].PropertyName /* STRING */, // pushThreshold: undefined /* NUMBER */, dataChangeType: "ALWAYS" /* STRING */, //
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.