When updating a DataTable entry the source field is not updated in ThingWorx
Applies To
- ThingWorx Platform 9.1
Description
- When updating a DataTable entry the source field is not updated
- When running the UpdateDataTableEntry service the "source" field is not updated to the current user
- Following code does not update "source" field as expected:
var currentUser = Resources["CurrentSessionInfo"].GetCurrentUser(); Things["DTName"].UpdateDataTableEntry({ sourceType: undefined /* STRING */ , values: IT /* INFOTABLE */ , location: undefined /* LOCATION */ , source: currentUser /* STRING */ , tags: undefined /* TAGS */ });