Layer (Hide / Unhide) Dashboard Objects

I have a dashboard with three main categories. Instead of making the user scroll up and down to view each category object I want them stacked and layered on top of each other. I have command buttons at the top of the dashboard that allow the user to select the results category they want to view. In effect, this will make the selected section visible, and make the other two categories Not Visible. Below is a code I developed. Problem...it's not working.
How can I get this to do want I want it to? Are there errors in this...how do I get it to work?
//Make Visble Home View:
TextLabel6.Visible=True;
Chart2.Visible=True;
Pivot2.Visible=True
//Hide Other Objects on the Dashboard:
TextLabel2.Visible=False;
Chart1.Visible=False;
Pivot1.Visible=False
TextLabel7.Visible=False;
Chart3.Visible=False;

The simple and direct answer: JavaScript is case sensitive. Check this out:
var tRue = 0;
var False = "anything";
Console.Writeln((new Boolean(tRue)).toString());  //  writes "false" to the console window
Console.Writeln((new Boolean(False)).toString());  //  writes "true" to the console window
Console.Writeln((new Boolean(false)).toString());  //  writes "false" to the console window
Console.Writeln((new Boolean(true)).toString());  //  writes "true" to the console window
Console.Writeln((new Boolean(True)).toString());  //  generates error: True is not definedThe solution I use is to separate the object groupings onto different dashboards. Each dashboard has a tab strip (just pictures and textlabels) along the top. My "tabs" are textlabels with appropriate names and text:
lblDash1.Text = "Dashboard 1";
lblDash2.Text = "Dashboard 2";
lblDash3.Text = "Dashboard 3";
lblDash1 on the dashboard named "Dashboard 1" has a different colored background and font than the other two labels, to indicate that Dashboard 1 is what is being displayed. The script for each of the labels:
ActiveDocument.Sections[this.Text].Activate();

Similar Messages

  • To hide Services for Object in Purchase Order screen

    Dear Experts,
    Is it possible for me to control Services for object to a group of user only in ECC 6.0 ? or How to hide the icon for unauthorized users ?
    Thanks in advance.
    Moktar

    Hi,
    Did you resolve this issue.
    If so can you please let me kow how to Hide/Unhide services for objects ?
    Thanks.

  • How to Hide / Unhide iGrid Applet

    I'm attempting to develop an irpt page which will feature two grids / applets.  The topmost grid will be visible upon initial load of the page.  Upon selecting a record from the top grid, I'd like to then unhide the bottom grid so that a user may select a row from it before then calling another page.
    I've tried all of the following methods to hide / unhide the grid but none appear to be working:
    1)  Set the style.display of the applet to 'none' and then set it to 'inline' after row selection of the top grid.
    2)  Set the column widths of the bottom iGrid to 0 and then use the document.iGrid-applet.ColumnWidths=x,y JS command after row selection of the top grid.
    3)  Set the initial width of the iGrid applet to 1 X 1 and then use the document.getElementById("applet-iGrid").style.width / height = 'xxxpx' after row selection of the top grid.
    None of these solutions work.  It appears that once the iGrid applet is loaded, none of these properties may then be utilized to change it's appearance.
    How can hide upon load and then subsequently unhide an iGrid applet??
    Thanks in advance,
    Randy

    Thanks Udayan - this worked. 
    Only other tidbit was that it appears you first have to set the style display to inline in the div tag (to ensure all subsequent object references to the grid are valid). 
    Then in the function called by the update event of your top iGrid applet, you have to hide the bottom iGrid/applet with the style="display:none" command.
    Then in the function called by the selection event of your top iGrid applet, you have to unhide the bottom iGrid/applet with the style="display:inline" command.
    This ensures the applet is first displayed (so that all references to the grid object are valid), hide it when the first (top) grid is displayed, and then unhide it when a row is selected from the first (top) grid.
    Thanks again,
    Randy

  • Hide unhide rolemenu in web with only one link

    Hi together
    is it possible to hide unhide the role menu in web with only one link by using command urls?
    Regards,
    M. Erbil

    Hi Memo,
    use something like this:
    <!-- BW data source object tags -->
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="SET_PROPERTIES"/>
             <param name="TEMPLATE_ID" value="ROLEMENU"/>
             TEMPLATE PROPERTIES
    </object>
    <HTML>
    <HEAD>
    <TITLE>Rolemenu</TITLE>
          <link href="/sap/bw/Mime/BEx/StyleSheets/BWReports.css" type="text/css" rel="stylesheet"/>
         <script type="text/javascript" >
    /* This function switches the attribute HIDDEN (alternate Tablestyles) for item mytable 
    1. Get actual value for attribute  HIDDEN
    2. Send Commando with new attribute to BW Server  */
            function switch_visibility(mytable) {
             var prop = SAPBWGetItemProp(mytable);
             var visibility='X';
             if (prop != null){
                      for(i=1;i<prop.length;i++){
                                if (prop<i>[0] =="HIDDEN") visibility = prop<i>[1];
                if (visibility =='X')  {
                               visibility=' '
                else
                            visibility = 'X';
                SAPBWOpenURL(SAP_BW_URL_Get() +'&item=' + mytable +'&HIDDEN=' + visibility);            
         -->
         </script>
    </HEAD>
    <BODY>
    <P> <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="ROLEMENU_1"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_MENU"/>
             <param name="WIDTH" value="335"/>
             <param name="GENERATE_CAPTION" value=""/>
             <param name="TARGET" value=""/>
             <param name="HEIGHT" value="285"/>
             <param name="IFRAME" value="X"/>
             <param name="IFRAME_STYLE" value="X"/>
             <param name="HIERARCHY_COLOR" value=""/>
             <param name="DIFF_ICONS" value=""/>
             ITEM:            ROLEMENU_1
    </object> </P><!&mdash;Include a button in HTML with id mybutton1. By clicking on link the function switch_visibility for item ROLEMENU_1 will be executed &agrave;
    <table class="SAPBEXBtnStdBorder" cellspacing="0" cellpadding="0" border="0"><tr><td>
    <table>
    <tr>
       <td class="SAPBEXBtnStd"   id="mybutton1" > <A href="javascript:switch_visibility('ROLEMENU_1');" >show / hide menu</A> 
       </td>
    </tr>
    </table> 
    </td>
    </tr></TABLE><!&mdash;  call function set_button, to set the correct style class for button  mybutton1 &agrave;
    <script type="text/javascript" >
    <!--
          set_button('ROLEMENU_1', 'mybutton1');
    --></SCRIPT>
    </BODY>
    </HTML>
    Regards,
    Adem

  • Looking for simple "hide/unhide" method...

    Hi,
    I'm looking for a way to hide/unhide specifically targeted divs.
    Example :
    <a href="hide_div1, hide_div2, show_div3">Link</a>
    <a href="hide_div1, hide_div3, show_div2">Link</a>
    <a href="hide_div2, hide_div3, show_div1">Link</a>
    <div id="div1">Test 1</div>
    <div id="div2">Test 2</div>
    <div id="div3">Test 3</div>
    Know what I mean?

    You are correct, the problem was not what I thought it was. It was a z-indexing issue, which I've fixed. So the link you provided ended up being great for my purposes.
    Now, how difficult would it be to add the fadeIn/fadeOut jQuery behavior to this?
    Current code :
    function HideContent(d) {
        document.getElementById(d).style.display = "none";
    function ShowContent(d) {
        document.getElementById(d).style.display = "block";
    function ReverseDisplay(d) {
        if ( document.getElementById(d).style.display == "none") { document.getElementById(d).style.display = "block"; }
        else { document.getElementById(d).style.display = "none"; }
    http://api.jquery.com/fadeIn/
    http://api.jquery.com/fadeOut/
    I honestly don't know enough about jQuery to integrate the fade intelligently (or in any way that would actually work).
    In other words, when hiding an object, don't have it instantly disappear : have it fade out. When showing it, same thing : fade it in.
    This would be all kinds of awesome.

  • How to Dynamically Hide-Unhide Report Details

    Is there a technique to hide/unhide data?
    I am creating a report that summarizes transaction data. The users want the opportunity to review the details behind the summary as the report is being reviewed.
    Is there a way to hide the detail data while providing a mechanism for the reviewer to view the detail as desired?
    TIA

    I have implemented this in BI Publisher enterprise and using the desktop version and I don't get this error..
    I did come across another thread that discusses this error. R12: Namespace prefix 'dhtml' used but not declared.
    Not sure if that addresses your setup and issue.. You can send me your template to [email protected] if you would like me to take a look.
    Thanks!

  • Why can't I open the filter gallery in Photoshop CC 2014? I've converted the photo layer into a smart object, but the filter gallery selection is still grayed out.

    Why can't I open the filter gallery in Photoshop CC 2014? I've converted the photo layer into a smart object, but the filter gallery selection is still grayed out. How do I make it active?

    Please go to Help, System Info and Copy then paste here.
    Benjamin

  • How to scale objects in a layer while keeping each object in the same position

    I have a map with symbols on it, placed precisely where they need to be. Is there a way to scale all of the objects in a layer or group so that they are larger, but without treating them as a layer that is stretched out to scale proportionately? Basically, how could I make each symbol larger as though each is being scaled from their centers?
    I've tried to select a layer so that each object is selected, then transforming them (specifiying a scale percentage). As a result, the objects are enlarged, but this produces the same results as a normal click and drag from the corner registration point. Any ideas?

    Yes, o.k., sort of. But you are not allowed to select individual objects that are parts of a group or groups. It's also quite all right to select, say, Same Fill Colour and Transform Each will work as long as the selection does not contain parts of groups.
    To my way of thinking it would be better if it worked the other way, with anything selected with the Direct Selection tool, because sometimes you want to transform things even though they are parts of groups. But that's just the way the Illy cookie crumbles.

  • Hide/Unhide Button on a Custom Form?

    Hello!  I am looking for some ideas regarding the ability to hide/unhide a button on a custom form.  Ideally, I would like to create an authorization group, if a user is a member of the authorization group, they can see the button, if not, the button is hidden.  Is this something that can be done?  If not, does anyone have another way of doing this?  Thank you.

    Are you asking specifically for Smartforms, SAPforms, Interactive Adobe forms? Or generally about UI programming?
    Generally yes, this is possible and is also often done to give the user a more friendly interface to work with (without having to click on buttons, only to discover that they cannot use it anyway).
    Many standard transactions are developed in this way.
    Cheers,
    Julius

  • Hide/Unhide Column in WAD via Button

    Hi,
    I would like to create a Button in WAD that hides or unhides a certain column (key figure) from a DP in the WebReport. What is the INSTRUCTION to Hide/Unhide a column?
    Thanks for your help!

    Hi Andreas,
    Use Generic Navigation Block to hide or unhide a keyfigure.
    Use generic Navigation web item
    Assign the report to the data provider
    After execution select the navigation block and select the keyfigures and uncheck the check box for the keyfigure to be hidden.
    Regards
    RaM

  • How to hide/show dashboards for user/groups

    Hi,
    Please help on how to hide/show dashboard menu/sub menu to users/groups based on their profile settings.
    thanks in advance.
    regards,
    kumar.

    Hi Jinu,
    1) Do some or all of those subreports span multiple pages?
    2) Do each of the Subreports start on a new page?
    If yes, for both, then here's what you need to do:
    1) Create a formula (@True) with this code:
    shared booleanvar SetStatus:= True
    2) Create another formula (@False) with this code:
    shared booleanvar SetStatus:= False
    Drag and drop the @True formula on the details sections for which you want the Page Footer to be suppressed.
    Similarly, drop the @False formula on the details sections for which you want the Page Footer to show up.
    Then, go to the Section Expert > Select Page Footer c > Click the formula button beside Suppress and use this code:
    shared booleanvar SetStatus;
    -Abhilash

  • HOW DO I HIDE & UNHIDE APPS PURCHASED IN APPS STORE PURCHASES LIST ON MY MAC

    HOW DO I HIDE & UNHIDE APPS PURCHASED IN APPS STORE PURCHASES LIST ON MY MAC? MAVERICKS 10.9.5...

    You need to reach level 3 (500 points) to add a custom avatar.
    As you collect reputation points, your status level increases and you receive additional privileges.
    Level
    Points
    Privilege
    1
    0
    2
    150
    Report posts
    3
    500
    Upload a custom avatar
    4
    1,000
    Attend conference calls
    5
    4,000
    Create User Tips
    6
    8,000
    Access the virtual MVP lounge. Attend in-person Communities meetups.
    7
    20,000
    8
    35,000
    9
    50,000
    10
    80,000+

  • How can I convert a layer into a smart object with Adobe Photoshop Elements 10?

    How can I convert a layer into a smart object with Adobe Photoshop Elements 10?

    That feature is only in PS. Elements as you buy it has only limited support for smart objects. If you use File>Place to add something to your image it will come in as a smart object (within the limits to which PSE understands smart layers). However, if you know someone who can write an action for you in PS you can install it in PSE, or you could look into something like elements+ from simplephotoshop.com.

  • Hide/Unhide Email Account

    I think there are many times in one's life where it would be great to be able to hide/unhide an email account (without actually deleting it). For instance, when one is on vacation and doesn't want to be "in touch" with what is going on at work via your mobile device which we often use for both work and personal purposes. It would be great if this feature were available with the next iPhone OS update. I think many people would find it of benefit. Hopefully this will get done!

    ?? You can already do this. In settings, just go into the settings for a particular email account, and turn it off. When you launch the mail app and it updates, any account turned "off" will not show up. To get it back, just go back into it's settings and turn the account back "on" (it's just a slider switch).
    Unless I am completely misunderstanding what you want.

  • Video layer on a 3D object

    I have creative suite 5.5 ext.
    How would I put a video on a layer of a 3d object (3ds file) in after effects and then move around it with the camera?
    For example, I have a 3d model of a flat screen tv that i can import into photoshop and save as a psd. I would like to import that 3d model into after effects and then have a video that I created in premier showing on that TV's screen layer as I move the after effects 3d camera toward and around the flat screen tv while the video plays. How do I size that video to fit perfectly on the 3D objects front screen? I think I have all the pieces, I just don't know how to put them all together
    Thank you for any help.

    Thank you both for those comments. I understand a little bit more now that what I ask isn't really that easy. I see that effect everywhere so I thought it was moderately easy to do with after effects.
    Rather than approaching it from the questions above, can we do a specific example below? I think a graphic will better illustrate to you what I am trying to do.
    Below I have a flat screen 3D TV composition from Photoshop. On the face of the TV you see a video that I am trying to show on the screen of that TV.
    How do I line up the corners of the video and also make that video play on the front of the TV? The TV will stay in one position and I will pan a after effects camera around the front of it and towards it as I learn more about how to do this.
    Thank you both again for your help.

Maybe you are looking for

  • Sales order link to MRP run

    Dear gurus, I have one query regarding sales order link to MRP run. I had created sales order by VA01 & also independent requirement in MD61. Both are acknowledged in MRP run.I know the requirement in MD61 transferred for MRP run(MD02/MDBT/MD01). But

  • "connection not available" message on E71

    My Nokia E71 stopped connecting to the internet on 5th of this month and talks have been on with my operator. My phone is able to connect to the internet using another service. I just thought of resetting the phone with a hope that everything can wor

  • MacPro seemingly random Auto-Restart with Premiere

    I have a MacPro 3,1 with 10.10 and 32GB RAM. During video editing in Premiere CC 2014, the computer has auto-restarted twice in the past hour.  Both times, I was doing something different in Premiere, so I'm unsure as to what triggered it.  I also no

  • Bill from a year ago

    Can I get a copy of my bill from last July with text messages shown???

  • Touch Pad Mouse dissapeared and not working.

    my touchpad mouse has randomly dissapeared and is not working at all, its so annoying i need help thank you