Recently active
Hello Team, Extension is imported successfully and when I execute the service it is showing the following error. But the jar dependencies(gson) are added in manifest and extension zip already Any help will be appreciated.
Below is my recommendation on Data_table/Stream and Value_Stream. Do you thing it is all right ? Considering we will generate 300,000 everts per day. Data_table is synchronous and we should avoid bombarding this table for any update on existing records or inserting records. Just this is my concern. 2.I am good with Stream table (because this is asynchronous) until we purge it regularly based on certain condition for example incident is resolved in NEOS. 3.Value_stream, because this table keeps logs so also we need to purge this table regularly to avoid decrease in system performance and save disk space.
I'm trying append the csv file in the repository with a service. My code looks like below. var params = {infoTableName : "result",dataShapeName : "WriteDataShape"}; // CreateInfoTableFromDataShape(infoTableNameSmiley FrustratedTRING("InfoTable"), dataShapeNameSmiley FrustratedTRING):INFOTABLE(ds1)var result = Resources["InfoTableFunctions"].CreateInfoTableFromDataShape(params);var newRow = new Object();newRow.ID = ID;newRow.Name = Name;//infotable1Object.rows[0] = newRow;result.AddRow(newRow);var params2 = {path: "WriteFile.CSV" /* STRING */,data: result /* INFOTABLE */,fileRepository: "SystemRepository" /* THINGNAME */,withHeader: true /* BOOLEAN */};// no returnvar result = Resources["CSVParserFunctions"].WriteCSVFile(params2); Could anyone please tell me why the data in CSV file gets overwritten every time I call this service ?
Hello Everyone I have an requirement where i need to display multiple grid( total grid 9) on same mashup with vertical layout. while I did this, I got grid in very small / compressed in size ,so data inside that is not displayed properly. Is there any way to increased mashup size or add scroll bar to layout / mashup ? Or any other possible solution for this ? Thanks, Sheetal Sable
Hi All, I am new to ThingWorx Composer. I need to load the database thing dynamically into the mashup based on the user organization permission. For example: I have two things name called Factory1 and Factory2. Factory1 and Factory2 have the same services and properties but different database configuration. If User1 Login, the application needs to load the Factory1 Thing in the Mashup. if User2 Login, the application needs to load the Factory2 Thing in the same Mashup. Please suggest me on the same.
Hi, I have the same problem, did the issue get solved?
Hi, I have a custom service on a Database Thing. I want to call that custom service from my Java Extension. My first thought is to do something like this Thing myDB = ThingUtilities.findThing("MyDataBase"); InfoTable result = myDB.customService(); Is this the correct way? Thanks, Brandon
Hi, I'm trying to write a services which takes the thing name as input, and provides property values as infotable. The service is working fine but by binding the services to a mashup nothing is displaying. Anyone please tell me how to fix this. Thanks in advance...
Every 10 seconds the following message appears 5 times in the Application Log: Error executing API request message, sending error response to caller! Sometimes it goes away, then eventually comes back. These are the surrounding debug/trace messages: 2019-01-14 11:19:19.633-0800 [L: DEBUG] [O: c.t.c.s.c.j.Jsr356ServerConnection] [I: ] [U: ] [S: ] [T: https-jsse-nio-443-exec-10] Receiving BINARY message [ws session id: 7c0] APIRequestMessage [requestId: -1, endpointId: 2687, sessionId: 1605535143, method: GET, entityName: , characteristic: Unknown, target: ]2019-01-14 11:19:19.633-0800 [L: DEBUG] [O: c.t.c.s.e.DispatchingServerEndpoint] [I: ] [U: ] [S: ] [T: https-jsse-nio-443-exec-10] API REQUEST received [endpoint id: 2979] APIRequestMessage [requestId: -1, endpointId: 2687, sessionId: 1605535143, method: GET, entityName: , characteristic: Unknown, target: ]2019-01-14 11:19:19.633-0800 [L: TRACE] [O: c.t.c.p.m.DispatchingServerCommunicationModule] [I: ] [U: ] [S
I created one Mashup with 3D Model widget. I want to show live sensor data in same model. Is is possible to show data?
Hello, I have uploaded a pmml model to Analytics Manager. Is it possible to transfer this model over to the analytics builder or is there another way to view the model as in the anayltics builder result view menu? Regards, Cedrik
Hi Guys, How to get thingworx host url in thingworx service ? Currently am using ThingWorx Navigate, i want to build a full url, so i need host url. ex: I want below url in service http://hd111m010.ptcnet.ptc.com:8080/Thingworx/Runtime/index.html?mashup Please help me to get this ASAP. Thanks.
Hi, When importing an extension a localization table was inadvertently imported as well. The issue is that this table has the attribute "aspect.isEditableSystemObject="True"" which means that it cannot be deleted from the Composer. In a similar issue the solution was to export the localization table, set "isEditableSystemObject" to false and import it. However this does not work in this case as the importer ignores the new edited file with the message: "Editable Localization Table Already Exists, Ignoring Imported Object Except for Tokens LocalizationTable [xx] " Is there any other way to delete this specific localization table? Thanks in advance, /M
Hello, I would like to know when/how does the Mashup Parameter's changed event is triggered? I have seen that whenever we add any mashup parameter, we also get the 'changed' event corresponding to that parameter. But I would like to know when is that event triggered, is it 'always' or on 'data/value change'. Like for parameters inside a thing we can configure the event by choosing the data change type as value, always, never etc., in similar way is there some way to configure mashup parameter's changed event? I have a case similar to something as in https://community.ptc.com/t5/ThingWorx-Developers/How-to-react-on-submashup-changes/td-p/517353 but not exactly using repeater. Please let me know if some more inputs are needed from my side. Regards Aditya Mittal
I had a consumer in node-red, so I consume all the messages. I noticed in the azure iot hub connector bash the following error: The virtual machine is a Windows server 2012 R2 4 GB Ram Intel(R) Xenon CPU E5-2673 v3 @ 2.40 GHz java = jre1.8.0_92 After 1-2 hours of startup, the connector continues to require so many resources until the error occurs: After the error I have to restart the connector in order to use C2D and D2C messages. Any suggestions???? Thanks Related to previous post
Hi, I have a H2 Thingworx instance and I would like to change the persistence provider to MSSQL. Is there a possibility to add a new persistence package to my current instance without installing the MSSQL Thingworx version? I have tried to configure a new Persistence Package in platform-settings.json but the new persistence provider does appear in Composer. Any advice is appreciated. Thanks, Sebastian
Please Help me to filter it acc. to ware house product name and product id using query filter in advanced grid
Hello Team, After the import is successfully imported while running the service, exception is thrown for the dependencing jar But the above dependency jar is shown in thingworx extension monitor. Using gradle for extension Any help will be greatly appreciated
In ThingworxStorage logs the logger user is different than the user returne by Resources["CurrentSessionInfo"].GetCurrentUser(); The service I have try to set a property to the user: logger.debug(l"Input->PlantUPL-> " + PlantUPL);var user = (UserName!=null) ? UserName : Resources["CurrentSessionInfo"].GetCurrentUser();logger.debug(l "User-> " + user);Users[UserName].LastPlantUPL = PlantUPL; The Script Log shows this error: Line 494541: 2019-01-20 16:39:28.331+0000 [L: DEBUG] [O: S.c.t.d.e.DSLScript] [I: ] [U: U529679] [S: ] [T: http-nio-8080-exec-24] User-> u106949 Line 494542: 2019-01-20 16:39:28.332+0000 [L: ERROR] [O: S.c.t.d.e.DSLProcessor] [I: ] [U: U529679] [S: ] [T: http-nio-8080-exec-24] User does not have visibility permission for u106949 Somehow user U529679 is in the logs but u106949 is the current user in the Resource.
Hi, Is it possible to delete a layout using a button? Thanks, Shalini V.
i am unable to insert data into data table using thingworx rest api, please specify the json parameters and url. thanx in advance.
Hi, Is it possible to open a popup text area on clicking of a date in date time picker and the selected date from dt picker should be displayed in the popup text area. Thanks, Shalini V.
hey i want a value display widget to appear and disappears based on timer : every 20 sec , anybody has any idea how to do that please?
Hello together, I want to exchange some experience on how to model a complex machine in the best way. The machines are produced in higher quantities, with different configurable features. Principal Sketch 1) Real World Model Overview On one hand I can model the whole machine as one ThingTemplate and incoporate all the features via Thing Shapes (for reusability with other machine types that share the common features). Principal Sketch 2) One Big Thing On the other hand I can model the whole machine by using different Things for the parts and use Services to gater the information from all them. Principal Sketch 3) many small things I am not sure what is the best way. Maybe someone can share his/her experience on modelling such a job. Regards Frank
Hi, I have saved image in local system and I want to pass this image URL in source URL of image widget. So how can i do it? Thanks, Khushboo Jain
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.