Hi there,
I am wondering if anyone can tell me where I am going wrong with the below LiveReport. If a user with System Admin permissions runs the report it returns the correct results of Compound Documents (%1 being the container to search against). As soon as a standard user runs the report they get ORA-00904 Invalid Identifier. If I remove the Filter Permissions parameter %2 the report can be run by both standard user and System Admin with no errors. My problem is I need the report to filter the permissions when a standard user is running it.
We are on Content Server 10.5 SP1 Update 2015-12
select dtreecore.*,
kuaf.firstname as FrName,
kuaf.lastname as LaName,
kuaf.name as Username
from kuaf JOIN dtreecore
ON (KUAF.ID=DTreecore.UserID)
where (DTreecore.SubType=136)
AND %2
start with dtreecore.dataid = %1
CONNECT BY PRIOR dtreecore.DATAID = dtreecore.PARENTID
I am new to working with these reports so any help/ guidance would be very appreciated.
Many thanks,
Emma