Recently active
Is it possible to generate a barcode for the product in CWC?
We are setting up a new instance of ThingWorx, but this time without the Manufacturing Apps, so we no longer have PTC.FactoryConsole which was a place for users to see all the mashups they had access to. Is there a new prebuilt solution that can handle this, or what would be the best way to achieve something similar? Running 9.4.1 on prem
All environments mentioned : ThingWorx 9.1.14-b1128 In a development environment i am trying to package a project where I have all entities being DataShapes for then import the solution in the production environments. Nevertheless, the package seems to not include all entities though in production cannot update as it seems to be deleting already existing and in use DataShapes. Came across some cases resolution to restart the environments, package and import again, restore possible missing files, but nothing worked. Even in production after importing the package solution, checking the repository i do see the mentioned DataShapes in the error are indeed not present when downloading the .zip file.
Hi, Is it possible to display some kind of figures/points on a line chart to mark end of a deadline.
It appears that the mashup onload function is not setting the start and end time in time before the service call that gets the data for the time series chart widget.Is there a way to control the execution sequence for the onload bindings so the start and end times are definitely set before a query is called?
Hi,I am developing a widget snd I get the bellow error, as I can´t find an obvious explination, I wonder if anyone here knows what it means:An error occurred while calling destroy for NovotekQRCodeReaderWidget, Id = "NovotekQRCodeReaderWidget-8". TypeError: property "eventHelper" is non-configurable and can't be deleted
Hi all In relation to this article: https://community.ptc.com/t5/IoT-Tips/DataShape-Nuances-Tips-Tricks/ta-p/817583?search-action-id=107104588871&search-result-uid=817583,How can one find the number of fields in a datashape?I have tried this: let result = infotableData.DataShapeName.fields.length;However this is the error I keep getting: TypeError: Cannot read property "fields" from undefined. Thank you.
Hi,I am trying to display an base64 image with the image widget, but the base64 string seems to hang the mashup builder when saving it. Questions:- Is there a max length of the sourceURL property?- How to get arround the mashup builder hanging when saving?- Another option would be to have a html widget and in it have a ordinary img element, can that be done and how? // Oskar
let params = {resource: '' /* STRING */,name: '' /* STRING */,permission: '' /* STRING */,type: '' /* STRING */}; // result: BOOLEANlet result = Resources["SecurityServices"].EvaluateRuntimePermission(params);I couldn't find any documentation for the parameters, Can someone tell me the meaning of each item in the params ?
Hello,I implemented a remote service on c sdk. the service have a xml parameterservice(XML param) when i run the service from edge, i use twInfoTable_GetString function.: enum msgCodeEnum implementedService(const char* entityName, const char* serviceName, twInfoTable* params, twInfoTable** content, void* userdata) { char* param; int res; TW_LOG(TW_TRACE, "implementedService- Function called"); if (!content) { TW_LOG(TW_ERROR, "implementedService- NULL params or content pointer"); return TWX_BAD_REQUEST; } /* Get properties read into local variables */ twInfoTable_GetString(params, "param", 0, &param); ......... ........... } It worked until I put as parameter a long xml text (5000 characters).The twInfoTable_GetString truncate the text and i cannot have the whole parameter.Do you have any idea how to get the whole param even when t's too long ?Thank you for your help
I am reading several read only properties from a kepware opc server and I have them configured to read from the edge on start. Whenever I reset the thing it works fine but it fails to read them on server reset. Is that working as intended? And if so how can I read the edge values on server restart? Thank you
I have infotable but i would like to send infotable to MSSQL External database. Now I try to use jdbc connector extension but i don't know how to send infotable to MSSQL External database. please suggestion me thank you.
Hi Community,I need to access following information from ThingWorx Number of users logged in and their time. For this I am trying following service: "QueryAuditHistoryWithQueryCriteria" following ptc article: https://support.ptc.com/help/thingworx_hc/thingworx_8_hc/en/index.html#page/ThingWorx/Help/Composer/System/Subsystems/AuditSubsystemSearchAuditData.html#Could you all please help me provide correct json input as filter I should provide for same. Attaching screenshot for same. json query: {"filters": {"type": "LIKE","fieldName": "Audit","value": "Login%"}}Error: Unable to Invoke Service QueryAuditHistoryWithQueryCriteria on AuditSubsystem : com.thingworx.common.exceptions.DataAccessException: [1,018] Data store unknown error: [Error occurred while accessing the data provider.] Thanks,Sid
Hi all, I want to use dropdown widget as a data filter for my grid advanced widget data for that I created a Thing then an infotable property and a service to call that info table property and now in my mashup I added a grid widget and bind this service to grid data now I want to filter my data based on some criteria by using dropdown widget so how can I bind it like I tried to bind the same service all data property to the data property of dropdown and then in dispaly option of dropdown I selected the filter option but I am not getting the result please help me how I can bind properly or if any other way to filter the data Regards, Rayon
Hello everyone, I am using MQTT extension in Thingworx and I have the problem lately that I don't get or see the configuration tab in any of the entities that is using one of the extension's templates. I updated the extension to the latest version which is 3.0.1 and I tried different things in the permission but none of them worked. Any idea how to solve the problem?
Hi,I am at the moment implementing a QR Code scanning widget with the help of the github project HTML5 QR Code reader. I am using the Eclipse Extension plugin and the Eclipse Extension sdkHow and where should external javascript and css files be referenced, I know that they should be kept in the ui folder, but I do not know where to reference them, the code i have found it this (append the script in the head):$("head").append("<script type="text/javascript" src="../Common/Extensions/QRCodeExtension/ui/qrcode_widget/scanner2-core.js"></script>) Kindly Oskar Berntorp
Hi Team, Is it possible to set the default value on the grid Add row button for a certain column? Thanks in Advance Vipul
As per the original post. Hi @VladimirN , I am also facing similar issue accessing ThingWorx Flow Dashboard. I have 1 doubt wrt port details. While installing ThingWorx Foundation is installed and configured on port 8443 and for ThingWorx flow I provided port address as 443. Will it going to have any impact on accessing Flow Dashboard? I am able to access Foundation url but for flow getting white screen even before user authentication. Regards, Siddharth
Hi Community,I have installed Integration Runtime on my system and trying to connect to windchill using custom Integration connector. I have configured Integration Runtime following ptc support "https://support.ptc.com/help/thingworx_hc/thingworx_8_hc/en/index.html#page/ThingWorx/Help/Composer/IntegrationConnectors/InitialSetupofIntegrationRuntimeServiceforIntegrationConnectors.html#". Post this I created custom Odata connector and provided fixed authentication. But connection fails while executing "ValidateConnection" service. Also error log shows initialization failed error.Attaching Screenshot of steps I followed to configure Integration Runtime and creating custom odata connector. Kindly help.Regards,Sid
Hi, I have installed Thingworx and was able to access it on the localhost:8443/Thingworx/When restarted after a few days, I could not access the same localhost:8443/Thingworx/ when checked on the Application Logs... Thingworx up and running: Where can I check on which Port and URL is running? Thanks,
Dear community, I am using textfield widgets to support building a SQL statement, including the where clause. Unfortunately textfields show a weird behavior when entering "<>", the characters seem to be interpreted and replaced by other characters. The replacing characters consume more space, the rest of the text is visibly moving to the right. This reminds me of MS Office where for example a dash automatically starts a bullet list. This could be nice in some cases but here I certainly do not want any kind of this interpretational behavior. Not sure whether this is a bug or a feature going the wrong direction. I am working on Release 9.3.9. Screenshots "<" works fine: Screenshot "<>" does not work: Many thanks for any pointerBenny
Hi Community, I have installed ThingWorx Flow and configured it with Windchill Server. For Testing purpose I tried creating a sample Workflow which will use GetViewables to retrieve windchill visualizations as 3D thumbnails. Could you please suggest how I can display this on ThingView Widget?What should be next step to retrieve list of CAD Documents and Parts and display it on a ThingWorx UI. Thanks,Siddharth
I am also interested in how to structure a query to InfluxDB with the Flux API, mainly for the time grouping and functions that are available OOTB. If anyone has a sample of a PostJSON that is working, it would be great to see, I think the issue is how the fluxQuery part is structured, I have tried multiple formats with the same failure result. Below is a sample of what I am trying, but the response I get is "An internal error has occurred - check server logs" // Construct the Flux query as a string let fluxQuery = "data = from(bucket: \"thingworx\")\n |> range(start: -60m, stop: -1m)\n |> filter(fn: (r) => r[\"_measurement\"] == \"Winder_Thing01\")\n |> filter(fn: (r) => r[\"_field\"] == \"KibbleWinderAmps\")\n |> filter(fn: (r) => r[\"valuestreamname\"] == \"Winder_Thing01_VS\")\n |> aggregateWindow(every: 1m, fn: median, createEmpty: false)\n |> yield(name: \"median\")"; var headers = { "Content-Type": "application/json", // Correct the Con
I have a parent mashup where there are two mashup containers. One of the mashups in the containers have custom CSS. However, this custom CSS is also affecting the other contained mashup. How do i prevent that from happening? This is the CSS is one of the mashups: rect { fill: rgba(0, 0, 0, 0); !important } I just want to hide the rectangle in that certain mashup, but it ends up hiding the other rectangle in the second mashup too.
To download Thingworx Scriptlog.log file and DatabaseLog.log from repository, kindly share me the URL. The below attempts failed to download the ThingWorx repository fileshttp://localhost/Thingworx/FileScriptLogs/logs/ScriptLog.loghttp://localhost/Thingworx/logs/ScriptLog.log
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.