cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Display Data table in the Mashup

Newbie

Display Data table in the Mashup

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.

Tags (1)
1 REPLY 1

Display Data table in the Mashup

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