Can we Hide Measure Folders from a Read Only Session?

Hi ,
I have implemented security on my workspace by scoping the dimensions and hiding the cubes.It worked.
For hiding measure folders, i did similar to hiding of cubes, but it did not work. It threw an error message :
ERROR: (ORA-34706) ACCOUNT_BW.MEASUREFOLDER is not a valid XPRO_OLAP_NON_AGG.OLAP_NON_AGG!ALL_CUBES.
Iam cannot understand why the OLAP DML is checking a measurefolder in ALL_CUBES .
Can anyone help ?
Sample code of Hiding cubes is below.
Thanks,
Chakri
HIDING_MEASUREFOLDERS
vrb _mfldlist text
vrb _mfld text
vrb _hidemfld text
trap on error
"Initialize
oknullstatus = yes
permiterror = no "Do not throw error when attempting to access scoped data
limit all_measurefolders to all
SQL DECLARE c2 CURSOR FOR -
SELECT distinct cube_name FROM xpro_wh.cube_access -
WHERE user_profile in ( select to_char(xpro_stage.fn_get_vpd_profile -
(substr(xpro_stage.fn_get_connected_emp_id,3))) from dual) -
and expression = 'MEASUREFOLDER'
if sqlcode eq -1
then show sqlerrm
sql open c2
sql import c2 into -
:_mfld then <_mfldlist = joinlines(_mfldlist,_mfld)>
if sqlcode eq -1
then show sqlerrm
SQL close c2
SQL CLEANUP
"Find all the objects that are measures (has the AW$MEASUREDEF property) and is not a permissible cube
limit all_measurefolders to _mfldlist
limit all_measurefolders complement
"Strip the '.MEASUREFOLDER' from the name of the measurefolders
hidemfld = changechars(charlist(allmeasurefolders), '.MEASUREFOLDER', '')
"Find all the measures in the cube
"limit name to obj(hasproperty 'AW$MEASFOLDERDEF') and inlist(_hidemfld, obj(property 'AW$MEASURE_LIST'))
limit name to obj(hasproperty 'AW$MEASFOLDERDEF') and inlist(_hidemfld, obj(property 'AW$LOGICAL_NAME'))
for name
do
cns &name
property 'AW$ROLE' NA
" property delete 'AW$ROLE'
" property delete 'AW$MEASUREDEF'
permit read when false
doend
alldone:
return true
error:
return false

Actually, their should be an easier way - my brain wasn't in full gear yesterday.
Select the file/folder(s) you want to make aliases for and then hold down the command and option key at the same time. Now drag the files/folders to where you want the aliases to be, and hey presto!
Slightly easier than the method I mentioned earlier

Similar Messages

  • Can I hide certain folders from the 'tree view' under Site Manager - Pages?

    In the above image, is there a way to hide the circled folders from the listing?
    This will help in reducing confusion and possible breakages.

    Hi AirborneAgency,
    unfortunately there is not, educate the admins of this site not to touch these folders instead. That's what I do with my clients and it works just fine.
    Nicole - BCGurus.com   |  http://bcgurus.com/Business-Catalyst-Templates for only $7

  • When I try to print sth I can´t choose my printer. Adobe Reader only shows a printer I used years ago.I aleady deleted and reinstalled the Reader and deleted all other printers from the computer.How can I add a new printer to Adobe Reader?Thanks for help!

    When I try to print sth I can´t choose my printer. Adobe Reader only shows a printer I used years ago.I aleady deleted and reinstalled the Reader and deleted all other printers from the computer.How can I add a new printer to Adobe Reader?Thanks for help!

    Hi,
    I would suggest you to uninstall Adobe Reader using the cleaner tool and then re-install the latest version.
    Adobe Cleaner Tool:- Download Adobe Reader and Acrobat Cleaner Tool - Adobe Labs.
    Latest version of Adobe Reader:- http://get.adobe.com/reader/
    If you still experience the same issue, please share the following information:-
    - Screenshot of Adobe Reader showing printer options
    - Screenshot of Microsoft Word showing printer options
    - Screenshot of control panel- Control Panel\All Control Panel Items\Devices and Printers
    Regards,
    Nakul 

  • How to retrieve data from a read-only Excel file

    Hi Developers,
    I'm trying to retrieve data from a read-only Excel file. I used the same code that I used to retrieve data from a normal Excel file, but it can't work.
    My code is as followed:
    try
    InputStream KpExcel = new FileInputStream("kp.xls");
    HSSFWorkbook Kpwb = new HSSFWorkbook(KpExcel);
    HSSFSheet Kpsheet = Kpwb.getSheetAt(0);
    catch(Exception e)
    e.printStackTrace();
    System.out.println("Exception: "+e.getMessage());
    The error I received is as followed:
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    at org.apache.poi.hssf.record.RecordFactory.createRecord(RecordFactory.java:224)
    at org.apache.poi.hssf.record.RecordFactory.createRecords(RecordFactory.java:160)
    at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:163)
    at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:210)
    at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:191)
    at photoproductionsystem.IncomingWIPPanel.getKp(IncomingWIPPanel.java:118)
    at photoproductionsystem.IncomingWIPPanel.<init>(IncomingWIPPanel.java:76)
    at photoproductionsystem.TabbedDisplay.<init>(TabbedDisplay.java:47)
    at photoproductionsystem.Display.create(Display.java:73)
    at photoproductionsystem.Display.init(Display.java:44)
    at photoproductionsystem.Display.main(Display.java:229)
    Caused by: java.lang.ArrayIndexOutOfBoundsException
    at java.lang.System.arraycopy(Native Method)
    at org.apache.poi.hssf.record.UnknownRecord.<init>(UnknownRecord.java:62)
    at org.apache.poi.hssf.record.SubRecord.createSubRecord(SubRecord.java:57)
    at org.apache.poi.hssf.record.ObjRecord.fillFields(ObjRecord.java:99)
    at org.apache.poi.hssf.record.Record.fillFields(Record.java:90)
    at org.apache.poi.hssf.record.Record.<init>(Record.java:55)
    at org.apache.poi.hssf.record.ObjRecord.<init>(ObjRecord.java:61)
    ... 15 more
    Can someone please help me with my problem? Thanks a lot in advance!

    Madeline wrote:
    how do I ask at Apache mailing list?I wonder why it seems to be a strange idea to some people to look at the software vendor's site for product support. :p
    http://poi.apache.org/mailinglists.html

  • MOVED: Folders Created As 'Read Only' By Default

    This topic has been moved to Off-Topic Technical.
    Folders Created As 'Read Only' By Default

    This topic has been moved to Off-Topic Technical.
    Folders Created As 'Read Only' By Default

  • Can an unique index be created on read only cache group

    Hi
    Can an unique index be created on read only cache group
    Regards
    Siva Kumar

    No, I do not think so. Creating a unique index could cause autorefresh operations to fail if the data being refreshed contains duplicate values that would not be allowed by the index. You can create regular indexes on a table in a readonly cache group.
    Chris

  • Can you force a value into a read-only numeric data member?

    I have code that will force a value into a numeric data member. Unfortunately the numeric data member in question is read-only. Can you force a value into a read-only numeric data member?

    Andre,
    I think you should get together with the other engineers there at NI. I spoke to one on the phone yesterday and he told me that the read-only aspect relates to writing between the database and PLC. I'm trying to write to the database and he told me that I could do it.

  • Can't hide Hidden folders and files.

    Hi All,
    This past weekend I transferred my OS and apps to a newly installed SSD drive.
    During the process I had to move some files around in order to get The OS and Apps on the SSD.
    I used a technique that utilizes the Terminal and the chflags command.
    My issue is now I can not hide the files and folders that are usually hidden.
    I can't remember the exact method I used to unhide hidden folders and files. I can't even find a reference to it in my web browsers history.
    I have searched on the web for solutions along these lines:
    defaults write com.apple.finder AppleShowAllFiles -boolean FALSE ; killall Finder
    chflags hidden
    sudo chflags hidden
    But none of these approaches have worked.
    I have downloaded Onyx, TinkerTool and Show Hide Invisible Files.
    I have used them as best I understand to hide the normally hidden files and folders, but nothing has worked.
    Any Command Line gurus out there have any suggestions?
    Many Thanks in Advance!
    Tem

    Triple-click anywhere in the line below on this page to select it:
    ~/Library/Preferences/com.apple.finder.plist
    Right-click or control-click the highlighted line and select  
              Services ▹ Show Info in Finder (or just Show Info)
    from the contextual menu.* An Info dialog should open.
    ☞ Does the dialog show "You can read and write" in the Sharing & Permissions section?
    ☞ In the General section, is the box labeled Locked checked?
    ☞ What is the Modified date?
    If you don't have read and write access to the item, change the settings as directed here. Note, however, that if one file has wrong access settings, most likely others do as well. If the item is locked, unlock it.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination command-C. Open a TextEdit window and paste into it (command-V). Select the line you just pasted and continue as above.

  • Hide some folders from the "Photo" gallery?

    I use TrekBuddy, a navigation software. Trekbuddy stores map snippets on the phone, hundreds of little images in graphical format (JPEGs or PNGS).
    When I go into "Photos", Under "All"I see thousands of pictures because the phone finds all the map snippets.
    How can I hide the map snippets from the "Photo" galery?
    many thanks

    Hi everyone,
    Is there a way we can send a message to Nokia about this situation. It is really frustrating. I am very happy with the N8 in everything else, but have the same problem that the photo gallery gets fill up of the song/album images, I also have images for a lot of my contacts on my phone and it is frustrating to try to look for pictures in only one folder where I wish to have them. The other ones I would like to have a folder for contact images, songs, etc.
    A lot of  people suggest to use apps like folder hide and similar, but that is not the idea, that you have to mark and move the files and then additionally to input a password. Some people need to hide pictures, I only just don't what them to show on my normal gallery display.
    Does Nokia read this posts on their forum ?
    Will they ever follow users suggestions ?
    This is a problem from long time ago, I had it with the with the Nokia nightmare phone N97 which is their worst phone ever. What a pity because they use to do them so well before. For example the N8 is very good, I would have gone for a 1 Ghz processor and some extra RAM, but who knows who is the crazy guy behind those decisions.
    Hope we find a solution some day to this folder problem.

  • How can we hide userid & password from browser

    How can we hide the userid,password and connectionstring from the address bar of explorer when we run 9i forms on browser

    Ok - I have 9.0.4 and I want to disable this hiding of password, as I have the follwing problem: Forms creates a temporary local file which contains javascript. Per default in xp service pack 2 it is not allowed to run javascript from local file. Is there any parameter in webforms.cfg to disabel the creation of this temporary file?

  • CAN'T SEE SHARED FOLDERS FROM THE PC ON MY MAC SINCE  SNOW LEOPARD UPGRADE

    HELP! Ever since I've installed Snow Leopard on my iMac, I don't see my folders I selected for sharing from the Microsoft PC computer in my network anymore. I can't seem to locate anything. However the PC is able to see the folders from my iMac. If anyone has solutions to this problem, your help would greatly be appreciated.
    Thanks!
    Pat

    Your problem is probably the same one I described in my thread:
    http://discussions.apple.com/thread.jspa?threadID=2133962&tstart=0
    The problem in my case, seems to be that the SL mac is not setting itself as the master browser, so when a Windows PC is switched on, it doesn't update that computer in the finder sidebar.
    You can see if this is the case, by opening terminal, and typing:
    nmblookup -M -- -
    If it comes back with "name_query failed to find name _MSBROWSE_#01" then you've got the same problem as me. With Leopard, my mac would report back as the master browser.
    It's got nothing to do with the firewall (I've tried turning mine off ,to no avail). Also, my workgroup is correct, and smb sharing is turned on for the user.

  • Can't get mail folders from IMAP server, why?

    I set up my IMAP mail server, but i only see the inbox and not the other mail folders in the in the mail server.
    why can i get my other mail folders from ther server?
    Ram

    Allan - Here's the other odd thing. Currently, I have my old mail account AND my new MM account both feeding into and out of Outlook. But since adding my MM acct. - even though I set it as my default mail acct. - the hierarchy tree of Outlook folders is still treating my old acct. as king and my new MM acct. as second class. I know, what's that mean? I have my overriding "Personal Folders" folder, with the sub-folders (in addition to customized ones I added) - all of these at the same level - 'Deleted Items'; 'Inbox' (for my old account); 'Junk E-mail'; 'RSS Feeds'; 'Sent Items' and "Search Folders". Then, below that, but at the same hierarchy level as "Personal Folders", I have my MM's root of an IMAP store folder that has as its name my email address, including the "@me.com". Under that, at the same level of importance as my 'Deleted Items', etc. for my old account is my MM account's "Inbox", "Junk E-mail", "Sent" (which, like I said, I created when I sent the first email from my newly created MM account), and "Search Folders"... that's it. If I delete an email from my MM acct., or am in the process of creating an email in my MM acct., I can only find it in the aforementioned "Deleted Items" or "Draft" folders, as my MM acct. doesn't have these. Is this perhaps one indicator of my sent mail synching problem? Or does one have nothing to do with the other? Does Outlook only provide one each of "Drafts", "Deleted Items" and "Outbox" that all accounts share?

  • How can I copy a file from adobe reader to my contacts

    How can I copy a list of names and addresses from Adobe Reader to my contacts

    you can buy imovie or other 3th party apps to edit videos
    they will then let you import the movies to iphoto if you have osx
    and access the files from my computer where the ipad show up as a camera in windows
    you can't access the ios devices filesystem directly and they can't access something like an external harddisk themselvs

  • Folders on NAS read-only. Can't change

    I have a buffalo linkstation pro duo NAS. It is formatted in XFS.
    It seems that randomly some folders have been changed to read-only, when they were previously read-write. I have one folder that is stuck in a read-only state. The folder contains some files from my XP machine. I wrote these files from the mac to the nas.
    I am trying to delete the folder and cannot. I shutdown the mac, and accessed the NAS though my Windows laptop, and it wont let me take ownership. Any ideas on how to fix?

    I had the same issue and figured out a solution.
    1. Create a folder in your user profile on the mac to mount a network share to. (Example: /chris/mount)
    2. Mount the network share to that folder you just created using this command in Terminal: mount -t smbfs//guest@<BUFFALONAS>/<SHAREDFOLDER> mount (replace <BUFFALONAS> with the IP address or hostname of your buffalo and replace <SHAREDFOLDER> with the smb share on the buffalo)
    3. In Terminal, change into the now locally mounted network share. (Example: cd /chris/mount)
    4. Run the following command in Terminal: chmod -R 777 ./
    **Note: You will get an access denied error on any file that was created by a PC but all the files with "broken" permissions created by a Mac will be fixed.**
    Hope this helps someone out there. I searched for a solution for months before figuring this out.

  • Hp officejet 8600 can't print two sided from adobe reader in Mac 10.8.4

    HP officejet 8600
    Mac notebook osx 10.8.4
    Can't print 2 sided from pdf in adobe reader.
    Print command from file dropdown doesn't open
    Print expanded dialog box at bottom of pdf in adobe doesn't show a 2 sided option
    Thanks
    vso

    Hi,
    Please follow the steps below in order to automatically print two-sided print jobs:
    1. Verify the duplex-printing accessory has been installed properly. To verify this open the System Preferences and go to Print & Fax. Open the print queue of your printer. Click on Printer Setup and from the tab menu choose Driver. Verify the box next to HP Two-sided Printing Accessory (Duplexer) is checked.
    2. On the File menu, select Print. The Print window appears.
    NOTE: The Print window might be minimized. Click Show details to see all available settings.
    Note: If you use Adobe Reader, click teh button to launc the system print dialog.
    3. In the expanded Print window you will find next to Copies the checkbox for Two-Sided. Check the box.
    NOTE: If the checkbox does not appear within the specific application print dialog, skip this step.
    4. To select the binding type click the lowest selection box listed as the name of the program (e.g. TextEdit)
    Will appear as Copies & Pages within Microsoft Office applications.
    5. Select Layout from the drop-down menu.
    6. Set the Two-Sided option as Long-Edge binding (Portrait), or Long-Edge binding (landscape).
    You may save the settings for future use by clicking Presets > Save Current Settings as Preset... Any used preset will remain default till another preset will be used.
    Regards,
    Shlomi
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

Maybe you are looking for

  • How can I choose number of pixels

    How do I determine or change number of pixels in photo for posting?

  • How to format bold text in SENDTASKDESCRIPTION method?

    Hi Gurus, I'm using the SENDTASKDESCRIPTION method of SELFITEM object to send a message to an user's inbox in SBWP tx. The description task has formatted text in bold using <H>Example</>. But at moment to display the message in user's inbox the text

  • DB link error - Complicated

    Hi, I have two databases DB1 and DB2. In DB1 i have two schemas s1 and s2. s1 has procedure proc1 which will be accessing data from DB2 through a database link.So i have given required DB2 access to s1. I have to run proc1 from s2 schema, so s1 given

  • *Please*, how do i run from cmd line??

    I've written a program using swing, on JBuilder6 Personal, and when i run it under JBuilder it runs perfectly. But, how do i run the program from command line? I've tried adding those PATHs and CLASSPATHs but still i can't run the program. I've tried

  • Not able to enter Apple ID

    Hello ! I have bought an Iphone 5 from an auction house in Bulgaria . Unfortunatly this phone is locked to a user with e-mail : [email protected]   . I have wrote this user several e-mails asking for their password , just so I can enter the phone , c