Recently active
Hi All, I'm Fetching an XML File which is in Windchill, into the Thingworx. How can i Achieve this. Please Help out.
We have various properties that are updating very frequently. What will be the best way to implement this using the .Net SDK? Do we need to create separate threads to update properties? Current code looks like this, which is the default implementation, however for properties that are updating very frequently, what would be the best way? targetThing.setProperty(propertyName, value); targetThing.updateSubscribedProperties(15000);
I have a datatable with productname as primary key. i have two list widgets, one for product name and one for quantity. Now, for examples, if i select a product,say, a PCB and quantity as 2, then my datatable should make 2 entries having product name as PCB only. how do i do that?
Hello everyone, I have a Collection widget set as Table (view), so the repeated mashup fils the whole row. The repeated mashup is advanced/new responsive. I created it such a way that the height of the mashup extend according to the warped widget and containers (yes, containers warp by extended the height without scrolling, thanks to CSS addition). Because of this, when my row get thiner, the mashup warps well but the height of the row stays fixed and a scroll is displayed. I want my cell to be automatically extended with the height of the mashup (the thiner it is, the higher the cell should be). I tried to use the CellHeightField to have a flex height. I noticed that only number is accepted. For example, if I put in the field "200", it is consider as 200px. If I put "200px", the collection displayed nothing. I tried 100%, also doesn't work. I also tried "max-content" (it works in CSS like "height: max-content;") but not taken in account. So I tried to see the CSS of the collect
Hello,can u tell me how to connect mongodb in thingworx? i set up the connections ... then also it is not running... please help me to do that?
Hi, Any idea about why SELECT IF EXISTS command is not working. Thank You! Naeem
Hello I'm working to modify the HTML5 video widget I was able to add an input event "Play" (bindable to a mashup event) that does the play of the video. I'm now trying to add a bindable output parameter that is the length of the video (this is available with the "duration" property of the HTML5 video object) I added this param correctly (VideoLength), I can see this on the mashup and I bound it to a label to see the value), I can set and see a "test" value with this.setProperty('VideoLength', 100); executed when a new video file is set but I don't know how to retrieve the "duration" DOM property ... it should be somethign like this.setProperty('VideoLength', ???.duration???); can someone help ?
Hello, It would be great to get some feedback on the following: Are there any plans for the major rework or deprecation of this framework? How to create Notification triggers from Javascript services? I tried the pair "CreateNotificationContent / CreateNotificationDefinition", but it doesn't seem to create a trigger. What's the difference between NotificationContent and Trigger? How to access and/or update NotificationDefinition objects from Javascript service? The entity collection "NotificationDefinitions" doesn't seem to be exposed in scripting context. We have 5000 things, each one with approximately 10 alerts (each firing once per week on average), and we'll need to configure notifications on them programmatically (users can choose which notifications from which devices they want to receive), potentially resuling in 50K NotificationDefinition objects, each one with a single trigger defined. Does it make sense performance-wise, or this framework is not designed to be used t
How can I set the reportingStrategy of a remote thing programmatically? Since reportingStrategy is a configuration and not a property, I'm not sure how to do this. For thing properties, I know it is something like the following: Things[thingname].propertyname = "some value";
Hi, I am getting the structure from api initially for 3 levels in the tree advanced grid widget. Now, I want to pass the expanded node Id to other service (getting data from api) which is fetching data for 1 levels only and this service, I will bind to child data in the tree advanced grid widget. I tried Selected row, but here if I am selecting the row then only id is getting passed to other service. How to pass the id of the last level selected node to child service to fetch the details. Please let me know how to achieve this!
Hi everyone, As part of a wide-ranging product review for the 9.0 release of ThingWorx, PTC has decided to remove a range of functionality due both to limited market adoption and a continuing effort to harden the security of the ThingWorx platform. Thus, for ThingWorx 9.0, PTC will be removing the following capabilities: • The ability to use rich text in the Composer “Documentation” field (existing rich text will be displayed as raw HTML);• The ability to use rich text in blogs and wikis in Mashup Builder (existing rich text will be displayed as raw HTML);• The ability to edit HTML text in mashup builder. ThingWorx users will still be able to employ a service to import HTML content if desired. Please prepare for these coming changes as appropriate. Thanks!
Hi All, I m trying to install ThingWorx Navigate of Version 8.5.3 but the installation is failed with error - Setting variable validation_result from cmdError running cmd /c "sqlcmd" -S ****\****,**** -U **** -P "****" -Q "****": Sqlcmd: Error: Microsoft ODBC Driver 13 for SQL Server : Login failed for user 'tw1'. Reason: The password of the account must be changed..[14:28:31] - SQL Server connection validation [FAILED] Any suggestion? Best Regards, -Shripad
I tried giving mashup name in 'Name' property of master mashup.But it is not showing up in runtime. Please correct me if I am using it wrong way?
Hi, I'm trying to import extensions into Thingworx8.4.1 but found below errors: I followed the PTC install guide to manually create thingworxplatform folders and the platform-settings.json: After I installed the 8.4.1, I found another 3 folders were created and another platform-settings.json file here: Once I trying to add the "extension policy" parameters to the second json file, I cannot connect to thingworx. In fact, once I modified anything in the second file, I cannot connect. Does anyone know what's going on? how am I be able to import the extensions? Thank you so much!
Hi All, I am using a combobox and a text to set the default value for the combo box. But I have not been able to do it successfully.My model is as follows: Can anybody give me advice on this problem? Thanks and Best Regards
I have downloaded the licence file for Thingworx 8.5. I have put it in Thingworx Platform folder and rename it to licence_capablity_response_bin but after restarting the tomcat server. The name got changed to ignored_license_capablity_response.bin file. Do i have to generate new license file and place it in Thingworx folder or I don't have to make any changes.
Hi , I am looking for sending Infotable data as body part of mail in html table format , but I am getting overwritten data while iterating. please see below code and screenshots too. var result = me.getDataForWeek(); //infotable resultvar tableLength = result.rows.length; for (var x=0; x < tableLength; x++) {var row = result.rows[x];var rowvalue1= row.M_Key;var rowvalue2 = row.PowerFactor;var emailContent = "<html><body>\<table>\<tr><td>M_Key</td><td>Powerfactor</td></tr>\<tr><td>"+rowvalue1+"</td><td>"+rowvalue2+"</td></tr>\</table></body></html>"} Things["EMS_MailThing"].SendMessageWithAttachment({from: " xyz@gmail.com" /* STRING */,to: " abcd@gmail.com" /* STRING */,cc: undefined /* STRING */,bcc: undefined /* STRING */,subject:"Mail with table content" /* STRING */,//content : emailContent,body: emailContent /* HTML */, infotable result: key location sou
I am trying to give border for a layout .But,it's not reflecting.Below is my css code.Please correct me border-bottom-color:red;
hi community, i want to filter the result of queryAlertSummary service by using aanother service that return query ( for example by thingName as a source and sourceProperty as a property: var result = {"filters": {"type": "And","filters": [{"type": "EQ","fieldName": "source","value": sourceThingName},{"type": "EQ","fieldName": "sourceProperty","value": "mesure"}]}}; and i put this result as a query of queryAlertSummary service but I don't know what is the problem. thank you in advance
Can you suggest Thingworx get the values from OSI PI and push the data into Kepware?Thanks in Advance.
We have machine data in XML format and need to feed that data to Kepware. Is there any way to do this?
Hi Experts, I am trying to download PDF using ExportPDF extension but facing issues. When I execute CreatePDF service with required inputs and execute it, the service is showing just executing as status and not giving any output or error. Can someone help me how can I download PDF in thingworx, Is there a way we can download pdf without using ExportPDF extension. Best Regards Lakshmi.
Hi all, We are using Operator Advisor fully implemented at a customer for over a half year now. Yet, there is some error we encouter we do not fully comprehend. Like the title says, the error goes like this: Execution error in service script [GetWorkDefinitionExecutionLog] .... It happens when we update a row in the database. I've looked at the service 'GetWorkDefinitionExecutionLog' and don't see anything why this error could occur. Now I know OA has some Java methods we can not access, and since the error says also 'Missed Context.JavaToJS() conversion', I assume it has something to do with the OA java services. Do any of you guys know what this error is about and how we can avoid it? Whenever it occurs, it takes a few seconds to do the update the row in the DB. Thanks for helping out. Jasper
Hi everyone! I'm having difficult to comunicate one device through from Twx Industrial Connectivity. I have done two test: 1 - Using one PLC local: I have one PLC at my company and I was able to communicated it, through Industrial Connectivity. 2 - Using PLC from my client: I'm trying communicate with device from my client, I have succes with the Industrial Conectivity but when I to check on the Fundation I have the signal "unknow". Images below: Regards Leonardo
I cannot seem to figure out how to pass an infotable as an input to a Thingworx Service using a XML format REST call. I am using Postman with an app key to call a Service on the platform using POST. I am able to pass multiple other basetype inputs like strings, but the length of my infotable My question is How exactly must the infotable be formatted to properly be sent to Thingworx? When I try to get the length of the Infotable, it always gives me 0 rows. Here is an example REST call body that I have tried where the 'content-type' header is set to 'text/xml'. The name of the service is 'TestXMLRest'. There are 2 inputs: a string called 'StringInput' and a 2-row Infotable called 'MyInfoTableInput' using a datashape the contains 2 strings, 'Name' and 'PhoneNumber'. <TestXMLRest> <StringInput>Just a string</StringInput> <MyInfoTableInput> <DataShape> <FieldDefinitions> <FieldDefinition
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.