Help! – Accessing Informaps and securing Libnames/Tables
So looking for some help from the SAS community.
On a project we have focused on delivering content via Web Report Studio and Infomaps.
We now want to allow users to access the content via Office Addin and Enterprise Guide.
But (there is always a butt
we only want users to access data via Information Map, we don’t want them to access the base libnames or tables.
Why you ask, because we have all the business rules embedded in the Information Maps so we don’t want users bypassing these and defining there own business rules on the base data.
Of course if we deny access to the libname then the Infomaps will fail. We can’t restrict access to all data types (i.e tables) in AMO or EG.
So any ideas out there?
Things we are going to try:
- Implement workspace server pooling (grant access to tables trusted user, but not actual use)
- Create a workspace server for WRS reports with full rights inherited and a workspace server for AMO/EG users with linbame rights restricted
But we are pretty sure that neither of these will work.
As the title says, Help!
The Dataset is there but no data is at home
I use Enterprise Guide a lot to model data before I expose it to the SAS Metadata Server to create prototype reports using Information Maps and Web Report Studio etc.
Its often said it is ok to make a mistake, but not to make it twice as you haven’t learnt from your mistakes, well here is one mistake that I constantly make when doing the above process (I blame my failing memory due to age).
Enterprise Guide allows you to create new datasets where the variable (column) name has a space in it. The SAS Metadata Server does not like these at all. The problem is it imports the metadata for the dataset fine, its just when you go to view the data all you see is the number of rows, but no columns and no data.
It doesn’t matter if you access the dataset in Enterprise Guide ( via the Metadata Server of course) or use view data in the SAS Management Console, all you see is blank rows.
But drag the exact same table directly into Enterprise Guide and its all hunky dory.
Of course I then spend ages going through metadata security assuming I have read metadata rights but not read data rights and that is whats causing the problem.
Finally I will work out that I had a space in the column name, fix it and wallah. So I thought i’d blog about it just in case anybody else strikes the problem (or I at least remember to check my blog next time).
Oh and if you try and view data in Data Integration Studio you will get this error:
Warning: No rows returned by columns query for table DIM_ORG , no columns registered.
Warning: No rows returned by columns query for table DIM_ORG_OPERATIONS , no columns registered.
(at least one of the SAS interfaces reports that their is actually a problem, yah DI development team!)