1 Reply Latest reply on Apr 29, 2015 10:22 AM by vladimirros RSS
    praveenp Explorer

    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.






      • Display Data table in the Mashup
        vladimirros Creator

        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