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

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

Display Data table in the Mashup

praveenp
1-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.

1 REPLY 1

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



Top Tags