Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
Hi,
We are sending the entries to the Data table with multiple user credentials. Now we have to display only respective user posted entries in the Mashup when the user logged in to the ThingWorx. Could you please help me in this.
Hi Praveen,
If you're using the QueryDataTableEntries, it also has a source input parameter.
If you have the SourceType as User then you should have the usernames as the Source there, so you can bind to that property the current user.
You can get the current user in a service containing the code
"var result=principal;"
if I remember correctly.
Otherwise you'll just need to provide a wrapper service around this one.
BR,
Vladimir