![python kepserverex python kepserverex](https://docs.microsoft.com/en-us/samples/azure-samples/iot-hub-how-to-kepware-edge/azure-iot-edge-connect-ptc/media/kepware-sample-tag.png)
Entries will be put into Info Table for AddItems(). Iterate input rows of tags to create entry for each. Var addTable = Resources.CreateInfoTableFromDataShape(params) CreateInfoTableFromDataShape(infoTableName:STRING("InfoTable"), dataShapeName:STRING):INFOTABLE(KEPAddItems) TagRows - Type: INFOTABLE (This should be the Selected Row(s) from BrowseItems), Datashape: KEPItems (I believe this is the datashape for the results of BrowseItems) KEPThingName - Type: THINGNAME (This is the server to add tags to) This is the second time I've tried getting this to work I just took a different approach, but it's the same problem I had at first. It seems like maybe there's some sort of ghost entities messing with things. Then if I go into Manage Bindings again (without cancelling the Thing edit) multiple "undefined" rows show up. If I go into "Manage Bindings" in Properties on the KEP Thing and add the tags as Properties, it won't let me save the KEP Thing and gives this error: where KEPServerEXthing is the Thing that the AddItems service is executed on. My problem is that although running the service seems to execute as it's supposed to, the Application log is flooded with Errors that say:Īn Invalid Property Value Was Sent To So I've tried writing a service on the helper Thing to accomplish this. I want to add functionality that allows you to multiselect tags from the BrowseItems grid and use the AddItems service to attach them to my KEPServer Thing in Thingworx.įigure: Left grid displays the results of 'BrowseGroups', Right grid displays the results of 'BrowseItems'.įor some reason, I'm not able to directly use Connections in mashup builder to connect data from 'SelectedRow(s)' from BrowseItems to the 'Parameters' for AddItems. I know that this functionality is working. I created a helper Thing to assist with navigation on the mashup and whatever other services I need to write. I've bound 'All Data' from their returns to 2 grid widgets, 1 for BrowseGroups and 1 for BrowseItems. I've created a mashup to browse the groups and tags available on a KEPServerEX instance using the given 'BrowseItems' and 'BrowseGroups' services available with the 'RemoteKEPServerEXThing' Thing Template. Sorry this is a long post, but giving as much info as possible! I'm using Thingworx 7.1 with the KEPServerEX extension to connect to a KEPServer instance.