Is it possible to hide an object on a masterpage dynamically?

hello,
is it possible to hide an object on a masterpage dynamically?
I tried to define a formula in the script editor with FormCalc, but it doesn't work. I made a similiar definition within the content area and this definition is working.
It is a HCM form and the following formular is defined in the initialization event of the object:
if( Exists($record.DIM_EMPLOYEE.DATA[*].FIRE_DATE[0]) == 0 ) then
$.presence = "hidden"
endif
Can anybody help me , please?
Regards,
Tanja

Well YES it is possible to hide an object of master page. Couple of things you can try:-
1. Use quotes around zero. i.e.
if( Exists($record.DIM_EMPLOYEE.DATA[*].FIRE_DATE[0]) == "0" ) then
2. Use fully qualified names for the object of Master Page and place the event in form:ready event of the subform instead of master page.
Also I tried a small example and it worked. Sample Hierarchy is shown below
form1
|-- Master Pages
     |-- Page1
          |-- Content Area
          |-- TextField1
|-- (untitled subform) (page1)
     |-- TextField2
JS code on the exit event of TextField2
form1.#subform[0].TextField2::exit - (JavaScript, client)
if(this.rawValue == "1")
     form1.pageSet.Page1.TextField1.presence = "hidden";

Similar Messages

  • How to hide an object in Agentry list screen

    Hello,
    I want to know if it is possible to hide an object in a screen list view.
    For example, I update an object and fill in DeleteStaus field with "L" (mean that object is deleted) and hide it right after I mark it as deleted, then transmit it to Agentry server to get the marked field and in turn transfer it to SAP server.
    Thank you very much.
    Tags edited by: Michael Appleby

    PG Ngu,
    Steve was correct, but his rule was little off.  try it like this:
    NOT
         EQSTR
              Whatever Object -> DeleteStatus Property
              L
    The 'L' above is a constant.  Do not use quotes.  Add this as the include rule on the List Screen.
    Jason Latko - Senior Product Developer at SAP

  • Is it possible to hide the yellow box that appears when you scroll over any object in the form?

    Is it possible to hide the yellow box that appears when you scroll over any object in the form? This box contains the item name or caption.

    Hi,
    Under Tools ... Options ... Workspace, there is an option "Display Object Name Tool Tips While Pointing".
    Try clearing that.
    Bruce

  • Is it possible to hide desktop folders until needed

    MacBookPro screen real estate limited.  Folders and other junk on my desktop can be distracting on top of that.
    Is it possible to hide them until I need them?

    You can eliminate mounted volumes via Finder Preferences>General
    You can reduce folder clutter by being neater! 
    But if you really want to hide everything on your Desktop, then download the free utility TinkerTool, and use this option:
    To make the Desktop objects visible again, re-run TinkerTool and uncheck that box.

  • How to hide one object within a group

    Is it possible to show/hide one object within group using the Timeline? I don't need to hide it in output, just need to show/hide it in the Timeline for convenience while working on a slide.

    It's funny that they will let you expand/collapse the group in the timeline window, but not edit visibility. At any rate, I suggest you enter a feature request and/or bug report here: http://www.adobe.com/go/wish
    The more people that bother them about it, the more likely they are to fix it.

  • FB02, FB03 - Is it possible to hide button or prevent users reversing

    Hi All,
    Does anyone know if it is possible to restrict a user from reversing a document via FB02, FB03 ?
    Or if it is possible to hide the button when the user accesses the document
    Thanks
    Simon

    Hi Simon
    The best solution here will of course be to control this with the use of an authorization object - however I haven't got access right to any FI Systems at the moment, so I'm not sure if this is possible.
    If you can't find an authorization object that can be used, you can create a transaction variant for this in <b>SHD0</b>. In here you can deactivate functions/buttons - e.g. reversing.
    You can then set the variant as the default variant for your transaction (please notice that you can't transport this activation - you need to do it manually on the recieving systems) - or you can create another transaction for it in SE93.
    Regards
    Morten Nielsen.

  • Possible to hide browse sequences?

    I have a few topics in my chm that do not contain browse
    sequences. They are standalone topics that do not appear in the TOC
    or index. When the help is called from the application, they are
    launched in the right pane of the chm. The problem I have is that a
    "default" browse sequence will still appear at the top of the chm
    even though the topics don't have any assigned browse sequences.For
    these topics, is it possible to hide the browse sequences from
    appearing?

    Hi Emmanuel
    Actually this should be possible. What you would do is to
    create a new window that would be used for your context sensitive
    calls. Then when your developer calls the help, they specify the
    window it should appear in. That window would be configured with no
    browse sequence bar.
    Cheers... Rick

  • Is it possible to group 2 objects that are located on 2 different pages in InDesign CS4 JS

    Is it possible to group 2 objects that are located on 2 different pages. Would it be something like that:
            var myArray = new Array;
            //Add the items to the array.
            myArray.push(myLine1);
            myArray.push(myLine2);
            //Group the items.
            var myPages = app.activeDocument.pages;
            myGroup = myPage.groups.add(myArray);
    Thank you very much for your help.
    Yulia

    You can group objects from distinct pages only if they belong to the same spread.
    For instance, if you have a rectangle on page 2 and a rectangle on page 3 in a "facing pages" configuration, this should work:
    var doc = app.activeDocument;
    var r2 = doc.pages[1].rectangles[0]; // rectangle on page 2
    var r3 = doc.pages[2].rectangles[0]; // rectangle on page 3
    // it's better here to handle the parent spread:
    var g = doc.spreads[1].groups.add([r2,r3]);
    // but this may also work:
    // var g = doc.pages[1].groups.add([r2,r3]);
    // var g = doc.pages[2].groups.add([r2,r3]);
    @+
    Marc

  • Is it possible to use 3D objects in Flash CS4 for animation?

    Hi,
    Is it possible to use 3D objects created in 3D Max, Blendor, iClone etc. to perform animation to make Flash Movie more realistic? Can I make nice animations like in iClone 4 Software?
    If it is possible to use 3D Objects in Flash, please provide a sample Tutorial Link if you have any.
    Thanks in advance.

    Here are some links to 3d tutorils which u might find useful
    http://www.adobe.com/devnet/flash/3d_animation.html
    http://www.adobe.com/designcenter/flash/articles/lrvid4059_fl.html
    http://www.flashandmath.com/flashcs4/
    http://www.kirupa.com/developer/flashcs4/intro_3d_flashcs4_pg1.htm

  • Is it possible to hide part of the line in webI line chart

    I had webI line chart which is showing for 2 months data, and is it possible to hide the line for only first 10 days in the line chart and continue the line after 11 th day till the end?

    @rajesh:  I didn't understand why should we use Relativedate() function?can you please explain little bit more. Becuase the report has customer exit written such a way that if I run the report today it will show up previous 60 days
    For example:
    today is 04/06/2011
    so in the report date column has values and shows up like
    02/06/2011
    02/07/2011
    02/08/2011
    04/05/2011.
    So now I should hide/avoid/shouldn't show First 10 days. In example above 02/06/2011, 02/07/2011,02/08/2011.....like wise 10 days so till 02/16/2011 shouldn't be shown in the report. The beginning of the report should start from 02/17/2011 till 04/05/2011..
    Edited by: saathiyaa on Apr 6, 2011 9:31 PM

  • Is it possible to hide the save function and only use the save as function in teststand

    Hi,
    When i'm done building a sequence i want to prevent other engineers to save the sequence with the same filename (or version number).
    Is it somehow possible to "hide" the save button and only use the save as function?
    Or is there another possiblity to solve my problem.
    The idea is to have a sequence called Sequence_V1.0.seq which i have build. When installing this in a factory enviroment I would like whenever there is a change needed in the sequence that the version number increases (manual action) (becomes Sequence_V1.1.seq). So from the moment you want to save i would like to only have the function save as. In this way you are obligated to fill in a new sequence name (original sequence will be read-only)
    What would even be great if there could be a log of what the changes were
    Thx!!! 

    1) You could mark the file as read-only, by default you would then not be able to save over it. The user could make it not read-only though if they know what they are doing.
    2) Another possibility is to lock the sequence file for editing (this is a teststand feature). Go to the Sequence File Property dialog, on the advanced tab, where it says Password Protection, set it to Not Editable and give it a good password. This doesn't however keep someone from saving another file to the same name as the locked one, but they at least won't be able to saved the locked file again without your password, nor will they be able to edit it.
    Hope this helps,
    -Doug

  • The possibility to hide for displaying a user status in work order

    Hello gurus,
    I have following issue:
    It is possible to hide only for displaying a user status in a work order when it's active?
    br,
    Laurentiu

    See my [recent post|https://forums.sdn.sap.com/click.jspa?searchID=25309331&messageID=7376021] which references user-exit STATTEXT.
    PeteA

  • CS6 - Is it possible to rotate multiple objects independent of one another?

    CS6 - Is it possible to rotate multiple objects independent of one another? In other words selecting say 9 object in a grid then rotating the all 30 degrees on their own axis.

    I forgot Transform > Again won't rotate each layer about its own centre.
    It can be done, though. Record an Action of a layer being rotated and followed by Opt+] or Alt+] to target next layer. It should look like the screenshot below. Use it by first running it on the lowest target layer in the stack then running however many more times is required.

  • Is it possible to hide/show the "Do you want to save changes you have made?" msg

    Hi,
    Is it possible to hide and show the Oracle message "Do you want to save changes you have made?"
    Thank You

    Not really.
    You have to use commit_form to commit the changes or a
    rollback_form to rollback just before exit_form, clear_form,
    or clear_block.
    Or, use clear_form(no_validate), clear_block(no_validate).
    It might be good to check wether there is some change in the
    data and show an alert in your own language asking the user in
    his/her own language wether he/she wants to commit the changes
    or not.

  • Is it possible to hide Tabs by using Url in FPM_OIF

    Hi All.
    I am calling one Standard Application from my custom application.
    Standard Application has 8 tabs. There i want to hide some tabs by using URL.
    Is it possible to hide through url.?
    Regards,
    Jack.

    Issue Solved.
    Implemented Enhancement for Standard Component and Hiding tabs based on Custom URL Parameter.
    Regards
    Jack.

Maybe you are looking for

  • What about support of 3D

    Hello, It would be very usefull to see PDF 3D in Adobe Reader for iOS. Is it planned ? Thanks

  • Prime upgrade to 2.0 failed

    Hi Folks, I did a prime upgrade to 2.0 from the patch PI_1_3_0_20-Update.4-16.tar.gz and it failed.... and i cannot do ncs start... But i guess i dont have the backup as well... but its asking to restore... What am thinking is am i supposed to restor

  • RH_RELATION_MAINTAIN Authorization

    Can I disable the authorization check in RH_RELATION_MAINTAIN function module? Thanks Alfonso Moderator message: sorry, bypassing authorization checks is not supported in the ABAP forums, please apply for the missing roles instead. Edited by: Thomas

  • To to see Foreign keys of a constraint

    Hi I have a table suppose Emp which have primary key empno. Now i want to see in how many tables empno use as foreign key. Regards Danish Hayder

  • How to enable live audio streaming in FF running Windows 7

    I am unable to listen to live audio streams, please help !