Change the dn.performerid clause in your SQL to “dn.performerid= %3” and in the dropdown for “Param %3” choose “UserId”
Best Regards,
Marko
From: eLink Discussion:Open Text Live Reports Discussion[mailto:livereportsdiscussion@elinkkc.opentext.com] Sent: Thursday, September 16, 2010 4:36 PMTo: eLink RecipientSubject: livereports parameters
livereports parameters
Posted by sandesh.s.nair@accenture.com (Nair, Sandesh) on 2010/09/16 17:31
there is a sql query in livereports select dt.name, dn.auditstr, dt.createdate, dt.modifydate from dtree dt, dauditnew dn where dt.dataid = dn.dataid and dn.performerid = 11111 and dn.auditdate between %1 and %2 and dn.subtype in (144) order by dt.modifydate, dt.name here 11111 is the userid. as we have entered the userid hardcoded in the query. If this live report is executed by some another user who has the permission to this report he can view the data related to user 11111. How we can dynamically pass the userid so that the the person who is running the report his OBJECT_DATAID or user id automatically used in the query instead of value 11111
[To reply to this thread, use your normal E-mail reply function.]
Discussion:
Open Text Live Reports Discussion
Livelink Server:
knowledge-wlweb01
To Unsubscribe from this Discussion, send an e-mail to unsubscribe.livereportsdiscussion@elinkkc.opentext.com.
there is a sql query in livereportsselect dt.name, dn.auditstr, dt.createdate, dt.modifydate from dtree dt, dauditnew dn where dt.dataid = dn.dataid and dn.performerid = 11111 and dn.auditdate between %1 and %2 and dn.subtype in (144) order by dt.modifydate, dt.namehere 11111 is the userid. as we have entered the userid hardcoded in the query. If this live report is executed by some another user who has the permission to this report he can view the data related to user 11111.How we can dynamically pass the userid so that the the person who is running the report his OBJECT_DATAID or user id automatically used in the query instead of value 11111