Recently active
Hi There, i am looking for a service/snippet , when i give a input to it from mashup (number/Text box) i should be able to set state value, using which i will change style dynamically. Do we have something like that which can help me here. Any Solution/Suggestion will be appreciated. Thanks & Regards, Pravin Pradhan
I'm trying to initialize a dropdown type list with a selection already shown. I have a service that returns a list in the following format: returned list with selection When I use it on a mashup with a list item, the "selected" item is not displayed upon list loading. loaded list, no selection How can I make it so the list initializes with the selected rows returned by my service?
Hello All, I am trying to access my temperature sensor reading from my hosted ThingWorx server(which is in trial period). I am able to do so successfully using Postman. Kindly also note that I am behind corporate proxy. However, I am unable to access the sensor readings from a hosted angular 1 js web application(Azure VM). I repeatedly get CORS error. I a not able to understand why this error doesn't arise from postman or my node-red flow. Kindly suggest how can it be resolved. Regards, Aarushi
In the ptc-windchill-extension-1.0.0-14.zip archive there is an extension called infotableselector_ExtensionPackage.zip . This extension enables the use of the Widget called Infotable Selector, which can be used to clear the selection in a grid.For how to use this widget, take a look at the picture:
Here, the problem is with placing widgets on the layout through panel widgets and thus that widget becomes non_responsive and we are having to position those widgets in accordance with the screen resolution chosen. It would be helpful if someone could give some inputs on making the mashup screen more responsive.
How do i go for doing the following things through scripting: 1) Mashup creation through scripting 2) Widget(s) placing on mashup through scripting 3) Property binding to widgets on mashup through scripting 4) Setting/Altering widget parameters on mashup through scripting 5) Creation of media entities & style definitions through scripting
Hi, I wonder when a transaction service calls other transaction services but they don't use the same DatabaseThing to query/store data, are these database transactions managed by a single transaction scope? My Bests, Hung Tran
Hello everyone, so I am wondering whether it is possible to "extend" a thing shape by another thing shape. E.g I have a thing shape called "ThingWithLocation" which just contains a location property and another Thing Shape called "ThingWithState" which contains some sort of state property. Now I would like to create a Third Thing Shape called "ThingWithStateAndLocation" without defining it from scratch (would be a lot of redundant code in case of more complex services contained in the thing shapes). Note: I am aware that you can simply add both Shapes to a Thing or Template, but I would like to extend the "ThingWithStateAndLocation" Shape with mechanism that takes the properties of the different shapes into account. (e.g if the location changes the state changes to "moving") By adding each shape individually to a thing I would have to implement the mechanism over and over again for every thing/ thing template. Any advices are appreciated very much. &n
I keep getting a type error when trying to query a DataTable. Please see my code below: ****************************************************** var params = {NameOfOrgUnit: UserSelectedOrgUnit /* STRING */}; //base type of nameOfDataTable is THINGNAMEvar nameOfDataTable = me.getDataTableNameBasedOnOrgUnit(params); var query = {"filters": {"fieldName": "customerName","type": "EQ","value": UserInputCustomerName //STRING}}; var params = {maxItems: undefined /* NUMBER */,values: undefined /* INFOTABLE*/,query: query /* QUERY */,source: undefined /* STRING */,tags: undefined /* TAGS */}; // result: INFOTABLE dataShape: "undefined"var result = nameOfDataTable.QueryDataTableEntries(params); ********************************************************** I've tried setting the output of the service DataTableNameBasedOnOrgUnit to STRING and THINGNAME; however, I keep getting a script error that says the following: if output is STRING: "[message: Execution error in service sc
I have recently been learned how to connect to kepware and pull in kepware tag data into Thingworx. I am wondering if I would be able to call a service based on a kepware tag reading value change without having to have a mashup open on a screen. Essentially, I would like to take advantage of how quickly Thingworx can trigger events without having to worry about hosting a mashup. Is there a piece of Thingworx functionality that I can look into for more detail about the possibilities of doing this?
Hi, I'm going through the proces of understanding the entire datamodel of OA. I've looked into ProcessingResourceClass. Why does this table have a field called "ThingName"? In my understanding ProcessingResourceClass is just a class for a recource like tools, equipment, workstation type, ... but not an instance in itself. Jasper
Hi, I'm learning how Operator Advisor works and how we can use it in our future projects. I understand when I add properties in the _AP table before I run the service 'CreateTables', the properties are added in de database table. But let's say the project is live, already containing data, and I want to upgrade the data model. How do we do this? Do we add a field in the datashape and add a column in the database manual? Or are there services to update all _AP tables? Because 'CreateTables' goes in error if I try a second time. Jasper
Hi everyone, I have a repeater widget on my mashup and i dont know to know if it's possible to set properties from the mashup that is inside the repeater to different things that are in the same template. The purpose of this mashup is that, the user will set a value to the text box and this value that was set by the user will be sent to the property inside the thing. The problem that i am having is that when i set a value to the text box, that value is being put on both things instead of just one of then. Image of the Mashup below. Thanks!
HI, I want to create custom extension by modifying the widget that I have downloaded from marketplace. can any one suggest the steps to follow.
Is there a way in thingworx to get a geocode with an address? I see that the widgets take geocode as an input but not the address. I'd like to use those widgets but I need to convert the addresses to geocode first.
Hi, How to send the particular column value of selected row of a grid in Mashup1 to Mashup2 label? Please help me achieve this. Thanks, Shalini V.
is it possible to use State-Based formatting in the mashup to change the view of a datetime object. For instance I would like to Display in Red a last checkin value of greater than an hour ago. Display in Red a last checkin value of less than an hour ago
Hi, just wondered if someone could clarify which parameter of the server side thing is used to bind to the remote thing's edge auto bind parameter. Is it the server side thing's name or its identifier that is used for the binding? In the past our server side things have had their identifier parameter and thing name set to the same value so it hasn't been an issue. However, now we have a number of different types of remote thing that we wish to connect. Our plan is to have their edge server auto bind parameter use a prefix (AB.xxxxxx & CD.xxxxxx) so we can tell what kind of remote thing it is before we have to create the server side thing. We will use a different thing template depending on what type of remote thing it is. Some of our remote things' edge servers use the out of box ems with the lua interface but the new ones will be using edge servers created with the C SDK. Thanks in advance. K
Hi , (This thread is a simplifed sample to reproducing the same problem in https://community.ptc.com/t5/ThingWorx-Developers/Subscription-defined-in-extension-doesn-t-work/m-p/593756#M34221) I have the following event, Subscription and Service defined in JAVA extension. Executing the Service raise the event "raiseHelpMe", but the handler helpMeHandler is NOT called. and I didn't find the log "Entering Service: helpMeHandler" . Thingworx: 8.3.4 =============================Code======================================== =====================application log=============================================== 2019-02-18 19:43:22.148 Debug Completed event processing for : Event.helpMe on behalf of c.t.s.s.e.EventInstance TWEventProcessor-14 2019-02-18 19:43:22.148 Debug Completed execution of event : Event.helpMe on behalf of Administrator c.t.s.s.e.EventInstance TWEventProcessor-14
Hi, I created a model with a boolean variable goal. The name of the is Class. After i would like to create a predictive score with additional data that includes the fields that is classified as the most important by Signal. I did not understand the reason why by creating a score including fields in a first case and excluding them in another the values of model output does not change. I used the full range technique in all case. The fields name are: bj_000 and ck_000. An row example case with 2 important fields includes: bj_000 ck_000 class class_mo Feature_1_Name Feature_1_Weight Feature_2_Name Feature_2_Weight errorMessage 0.3828125 1.0 false 0.33333333333333337 bb_000 0.12 az_000 0.08000000000000002 case without important fields: class class_mo errorMessage false 0.33333333333333337 Does anyone have any suggestions?
Can you share the source code please Reference post
Hi Does anyone have any idea how to resolve the following error in Anomaly training: Returning a FAILED state for TimedValue [timestamp=1551249937059, value=29.32]. ThingWatcherMessage [timestamp=2019-02-27T08:45:34.678, severity=ERROR, state=ThingWatcherInternalState [internal=OBTAINING_MODEL, external=TRAINING], messageCode=WAT1001E, messageText=Operation exception. {Throwable=[Trainer.TrainingJobErrorException: Training job with id null entered into an incomplete state [UNKNOWN] unable to process models. Error message: [Job was queued but is no longer being considered.]}]]_com.thingworx.analytics.thingwatcher.exceptions.ThingWatcherOperationException: Error accessing PMML Model URI, cannot download model_ at com.thingworx.analytics.thingwatcher.ThingWatcherInternal.isModelAvailableAfterTraining(ThingWatcherInternal.java:699)_ at com.thingworx.analytics.thingwatcher.ThingWatcherInternal.runStateMachineFor(ThingWatcherInternal.java:460)_ at com.thingworx.analytics.
Hi, By programming, how could i retrieve a list of entities in a project? My Bests, Hung Tran
Is it possible to copy entire row from grid widget or advanced grid? copy paste to excel.
A similar problem was described and solved for previous versions of THX: https://community.ptc.com/t5/Manufacturing-Apps/Control-Advisor-App-Kepware-server-added-but-not-visible/m-p/538017The solution to this issue was to install updates. What can be done in this case? Versions : Windows 7x64 maximum SP1Tomcat 8.5.30Postgres 10.3.3ThingWorx 8.3.3-b937Manuf Apps 8.3.1 ExtensionIndustrial Connectivity 8.3.65 Everything is installed and run smoothly. Connection with TWIC and tags are available in the composer. But the problem I have is that in my App Control Advisor, the list of Servers is empty.Even when I add new server the created server is not displayed. If i try to create the server again in the Control Advisor App a message tells me that the server already exists, which is normal. All screenshots are similar to the post to which I refer. Thank you, Peter.
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.