Michele,
Did you sign off and on to the reporter after making the change in supervisor? If not, then the row restriction wouldn’t be known (unless you have enabled real time security updates, which most people don’t). This has caught me in the past.
The other possibility would be that the customer table wasn’t in your query unless you did step #3. It is important for this scheme to work that the CUSTOMER table be included in ALL queries that your outside users could generate from this universe.
Another thought, what I have done successfully with this type of security is to create an object in Designer that is defined as BusObj User = @Variable(‘BOUSER’). I then create a group (in your case CUSTOMERS) in supervisor, and put the restriction at the group level CUSTOMER.CUST_ID = @Select(BusObj User). Then, I place all users needing this restriction in this group. That way, I don’t have to remember to add the row level restriction to each user.
Hope this gets you on the right path.
Mike
From: Wittal, Shannon [SMTP:Shannon.Wittal@QG.COM] Sent: Thursday, May 17, 2001 4:13 PM
Thanks Michele - see my reply in caps below.
Shannon Lee Wittal
Information System - Pewaukee
REPLY>
I haven’t implemented this but have done some testing. To get ours to work I did steps 1 and 2 but didn’t need to create the universe filter
(step 3).
When you added the row level restriction for the universe did you have the user id selected or the folder that they were in ? SHANNON: USER ID
The WHERE clause that you enter in the universe properties, in the ROW tab
should be
added to any query the user runs. Sign-on as this user and review the SQL
and see if the WHERE is there or not.
SHANNON: THE WHERE CLAUSE ONLY APPEARS WHEN 3 IS IMPLEMENTED
If it is, but, bursting is not
working then check, in Supervisor, to see if you have Business Object properties for documents Do not refresh with the profile of
each recipient disabled (orange
light) If this is enabled, disable it. This setting works backwards, if you
want
to use the refresh with profile this option must be disabled
SHANNON: I DID HAVE THE OPTION DISABLED.
Michele
michele.pinti@standardregister.com
QUESTION>
Previously on this list a few days ago Dave and Cindy gave some hints on
report bursting. I seem to have gotten it to work but I need to be sure I
did it correctly. We want to release some reports to customers where they
can only see their information. Here is how I currently have it working:
- I have a user set up in supervisor called CU000 (this is the customer’s
cust_id in our customer table).
- I then went to the universe and set a row level restriction on the CUSTOMER table that reads CUSTOMER.CUST_ID = ‘CU000’ 3. I added created a filter in the universe - @Select(Customer\Customer
Code) = @Variable(‘BOUSER’)) and I applied this to the report. 4. I sent the report to BCA checking the “Refresh with the profile of each
recipient” and sent it to the users.
This then displays the report rows only for the customer who is logged in to
WEBI. I tried just using 1 and 2 above and that did not work. I had to add
3 to make it work. I believe that if I have 4 customers set up BCA would
produce a report for each customer and send that report to their inbox. If
so I cannot explain why #3 had to be added to the report. If I do not have
#2 BCA doesn’t see a profile and I just get a blank document that must be
refreshed by the user and I’m not sure why this is. Can anyone explain
exactly what is actually happening behind the scenes here?
Shannon Lee Wittal
Information System - Pewaukee
Listserv Archives (BOB member since 2002-06-25)