Hide (not disable, hide) a button

Hello people!
Somebody can tell my how i can hide a button and how i can changed the label, i tryed with set itemproperty('button', displayed, PROPERTY_FALSE) & set_item_property('button', label, 'newname')for each case, but doesn´t work...any idea?

hello, thanks all for your answers
i want to clarify my situation to see if i have any error that make that my set_item_property('block.item',VISIBLE, PROPERTY_FALSE) doen't work properly:
1.- i have a WHEN-NEW-FORM-INSTANCE trigger that take a parameter from url and if it value is 'cliente' hide items and change the label of a button..:
if :PARAMETER.TIPO = 'cliente' then
     set_item_property ('avance_caso.cerrar_caso',label, 'Solicitar Cierre');     
     set_item_property ('avance_caso.publicar', VISIBLE, PROPERTY_FALSE);
     set_item_property ('avance_caso.horas', VISIBLE, PROPERTY_FALSE);
elsif :PARAMETER.TIPO ='analista1' then
     set_item_property ('avance_caso.cerrar_caso',label, 'Cerrar Caso');
elsif :PARAMETER.TIPO ='analista2' then
     set_item_property ('avance_caso.cerrar_caso', VISIBLE, PROPERTY_FALSE);
end if;     
where: avance_caso.publicar is a check box item
avance_caso.horas is a text item
avance_caso.cerrar_caso is a button
i have to put the set_item_parameter in anothe place maybe? or i have to do another thing?
Beatriz

Similar Messages

  • How can we disable/Hide the buttons at items tab in header level Gen tab?

    Hi,
    How can i disable/Hide the buttons(Delete,insert...) in item details of general tab of Order Header?
    I am not able to do it with screen varients.
    Please let me know your views.
    Points will be given.
    Thanks,
    Adi.

    Hi,
    How can i disable/Hide the buttons(Delete,insert...) in item details of general tab of Order Header?
    I am not able to do it with screen varients.
    Please let me know your views.
    Points will be given.
    Thanks,
    Adi.

  • How can I Hide(not Disable) the Save As and Exit options in the File menu of Excel Documents in SharePoint 2013?

    Hi,
    I want to hide(not disable) the "Save As" and "Exit" options in the File Menu of Excel Documents in SharePoint 2013.When I make changes in the excelribbon.css file of xlviewer.aspx,all the options under File menu are getting hidden but
    I want to hide only these two options while retaining the others.
    Kindly suggest me a method to achieve this.
    Looking forward to your reply at the earliest.
    Thanks in advance.
    Regards,
    Sanjana

    Hi Sanjana,
    To hide the “Save As” and “Exit” options in xlviewer.aspx page in SharePoint, I recommend to use the code below(however it is not recommended):
    <style>
    div.cui-menusection li.cui-menusection-items:nth-child(2)
    display:none !important;
    div#m_excelWebRenderer_ewaCtl_menuJewelSaveAs{
    display:none !important;
    div#m_excelWebRenderer_ewaCtl_msJewelSecondary{
    display:none !important;
    </style>
    As “:nth-child()” selector is supported in IE 9 and later versions, please use IE 9 or later versions’ IE browser.
    http://www.w3schools.com/cssref/sel_nth-child.asp
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • SHOW ALL / HIDE ALL BUTTONS produce error in chm but not in "View Selected Item"

    My SHOW ALL and HIDE ALL buttons work in the View Selected
    Item mode. However, the compiled version generates an error tag:
    Line: 72
    Char: 1
    Error: Object expected
    Code: 0
    URL:
    mk:@MSITSTORE:C\Documents%20and%20Settings\glenn_michaels\RoboHelp%206.0\TCA\!SSL!
    In short, the the compiled chm is located in the SSL. I tried
    adding showhide.js and ehlpDhtm.js to the SSL folder, but that
    didn't make a difference. What is missing? How do I fix this?
    Many thanks in advance...
    glennito

    Mr. Grainge,
    I've tried to follow your instructions to the letter, but I'm
    not having any luck.
    1) I copied the showhide.js to
    a) RoboHelp 6.0 > Project Folder
    b) RoboHelp 6.0 > Project Folder > SSL
    c) RoboHelp 6.0 > Project Folder > SSL >
    MicroSoft_HTML_Help
    2) I pasted btnhideall.gif, btnshowall.gif, printerblue.gif
    into
    a) RoboHelp 6.0 > Project Folder > SSL
    b) they are also listed in RoboHelp 6.0 > Project Folder
    3)The Project Manager > Baggage File originally displayed
    a
    a) Project (Name) folder
    b) ehelp.xml
    c) RoboHHre.Ing
    I opened the Baggage File > Project (Name) folder,
    selected New Baggage File, and added, respectively:
    i. btnhideall.gif
    ii. btnshowall.gif
    iii. ehlpDhtm.js
    iv. printerblue.gif
    v. printerred.gif
    vi. showhide.js
    vii. TCA.fpj
    vii. root.fpj
    4) I also opened rhbag.apj in Notepad. It shows
    a) ehelp.xml and RoboHHRE.Ing accompanied by
    <usercreated>false</usercreated> tags
    b) the remaining baggage files are accomanied by
    <usercreated>true</usercreated> tags
    5) Finally, I used Notepad to display two topic files in
    which the error message identified a Line: XX. In one case the line
    # is 42, in another, 19. In both cases, when I counted lines,
    starting with <body>, I ended up on:
    onClick="JavaScript:hideEm()"
    However, I am none the wiser for my effort and don't know
    what (5) might be telling me.
    6) The only thing I can think of is that the compiled chm
    file is two levels away from the Project Name directory that holds
    all the files. The files live in Robohelp 6.0 > Project Name
    while the compiled help is found in Robohelp 6.0 > Project Name
    > SSL! > MicroSoft_HTML_Help > Project Name.chm.
    Should I be adjusting the Relative Path within the topics?
    Many thanks for your attention and assistance.
    glenn

  • How to Hide/Disable custom ribbon button on infopath form!

    Is it possible to hide/disable custom ribbon button on specific infopath form library or list????
    I just want to hide/disable custom ribbon button for specific form library and show/enable these buttons on the other form library!
    Any suggessions??
    Thanks in advance!

    Hi Tahir,
    Using javascript you can show/hide ribbon on particualr page.
    Open your SharePoint master page
    Locate this line: <div
    id="s4-ribbonrow"
    class="s4-pr s4-ribbonrowhidetitle">
    Change it to: <div
    id="s4-ribbonrow"
    class="s4-pr s4-ribbonrowhidetitle"
    style="display:none">
    Now find the end of the “s4-ribbonrow” tag and add following
    block right after it: <Sharepoint:SPSecurityTrimmedControl
    ID="SPSecurityTrimmedControl2"
    runat="server"
    PermissionsString="AddAndCustomizePages">
        <script
    type="text/javascript">
            document.getElementById("s4-ribbonrow").style.display =
    "block";     </script> </Sharepoint:SPSecurityTrimmedControl>
    Save the new master page and publish it.
    Or try this feature.
    http://spribbonvisibility.codeplex.com/
    Best regards,
    Avinash.

  • IPad keyboard will not dismiss with hide keyboard button

    I have a UITextField on my screen. The keyboard will not disappear when I press the hide keyboard button in the lower right corner. Pressing the "Done" button works just fine and the keyboard will disappear.
    I have connected the textbox's delegate to Files Owner. Verified by looking at the Text Box's Connection Inspector.
    Under Outlets for the textbox "delegate-Files Owner"
    My H file contains  @interface SettingsView : UIViewController <UITextFieldDelegate, UITableViewDelegate, UITableViewDataSource>{
    In my M file I have the following code.
    -(BOOL) textFieldShouldReturn:(UITextField*) textField {
        [textField resignFirstResponder];
        return YES;
    When I press the keyboard hide button(lower right corner), the keyboard buttons will sometimes become unresponsive for about 1 second, but the keyboard will not disappear. I would appreciate any guidance with solving this problem. I find it troubling that this key is not working. My efforts to find a solution have come up nil and there appears to be little to no documentation anywhere regarding this lower right corner button.
    Thanks in advance.

    Thanks for the quick reply. Unfortunately nothing worked. Below is the extra code added in my M file
    - (BOOL)textFieldShouldEndEditing:(UITextField *)textField
        [textField resignFirstResponder];
        return YES;
    I placed a breakpoint in both the textFiledShouldEndEditing and textFieldShouldReturn. In both cases neither function was called when I pressed the hide keyboard button. They were only called when I pressed the Done button. After a little more research I have found people with the exact same problem, yet no solutions available.
    What gets called when the user presses the hide keyboard button? Is this hide keybaord button new?
    My only assumption is that somehow the code behind the keyboard has a bug in it that I'm experiencing. I have a few older iPad projects that I decided to try out and run. Each have a UITextEdit field and every one encounter the same problem with the hide keyboard button.

  • Hide (not disable) an SSID on a per AP basis

    Hello !
    I have been researching but did not find a straigh way to do this : I have 3 SSID => A, B, C.
    Is it possible to hide (not disable) an existing SSID (let's say B) just on specific APs ?
    As per my understanding the option "Broadcast SSID" is only available under the global WLANs > General menu, not on an AP basis.
    My solution is with WLC 5508 / 7.4 /  AIR-CAP1602I
    Thanks in advance for any ideas.
    Best regards.
    Oliv.

    Hi Scott,
    Thanks for the additional information!
    Yes, I will proceed like this. I will create the new SSID D (>16) with a Different NAME – with Broadcast Disabled - and associate it to the same WLC Interface/Interface Group. Then configure the AP Group.
    I assume there will be no issue associating this new WLAN to an existing Interface on the WLC, especially regarding the existing VLAN and routing aspects.
    Ok for the second point. As the SSID will have a new name maybe that they will not have any issue regarding any previous SSID recorded in their SSID list.
    @ Leo,
    Thanks for the warning. The WLAN is in fact a guest WLAN, which is totally open (no L2 & L3 security method). The authentication is totally handled by a third-party box with a web auth portal. The clients will be laptops, iphone, ipads.
    The customer on site is disturbed by the fact that anyone can connect to this open SSID and get an IP @ (even not authenticated by the webportal box).
    Thanks for your help.
    Rergards.
    Oliv.

  • HT204389 When texting I keep hitting the microphone button. It's aggravating. Can I move it left of the 123 button? That would be ideal. Or, second choice, can I hide microhphone button without disabling Siri?

    When texting I keep hitting the microphone button. It's aggravating. Can I move it left of the 123 button? That would be ideal. Or, second choice, can I hide microhphone button without disabling Siri?

    the think the answer is No to both your questions.
    I don't see a way to move the microphone, also can't hide it w/o disabling siri.

  • Hide Variant button

    Hi experts!!
    We have a report ZREPORT for which we have created 2 t-codes ZCODE1 and ZCODE2. Now, ZCODE1 should start with variant TEST and should not be changed by any means. And hence we are planning to hide variant button only for ZCODE1 t-code. But for ZCODE2 t-code variants can be changed.
    Can somebody suggest how this can be handled?
    Thanks a lot!!

    Try something similar to
    AT SELECTION-SCREEN OUTPUT.
      IF sy-tcode = 'ZCODE1'.
        DATA: status TYPE sy-pfkey,
              prog   TYPE sy-repid,
              excl_tab TYPE rsexfcode OCCURS 1 WITH HEADER LINE.
        " identify current status
        GET PF-STATUS status PROGRAM prog EXCLUDING excl_tab.
        " disable some function codes
        excl_tab-fcode = 'GET'. " Get Variant...
        APPEND excl_tab.
        excl_tab-fcode = 'VSHO'. " Variants, Display...
        APPEND excl_tab.
        excl_tab-fcode = 'VDEL'. " Variants, Delete...
        APPEND excl_tab.
        excl_tab-fcode = 'SPOS'. " Save as Variant...
        APPEND excl_tab.
        SORT excl_tab.
        DELETE ADJACENT DUPLICATES FROM excl_tab.
        " update status
        CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'
          EXPORTING
            p_status  = status
            p_program = prog
          TABLES
            p_exclude = excl_tab.
      ENDIF.
    Regards,
    Raymond

  • Hide Upload button in library

    what is easiest way to hide the Upload button in a library or list?
    I know I did this easily in SharePoint Designer 2007.  But I can't figure out how to do it in SharePoint 2010.
    thanks!

    As sharepoint has multiple endpoint for particular activity, it is not wise to hide some UI using client script, as they can be achieved differently. Like - upload, you may hide ribbon button easily but same can be done from "Open in explorer"
    window and paste the file. Or Doclib may already have mapped as shared drive or mapped as favorite using which anyone can upload document very easily.
    So best way to do this is using permission. Just revoke contribute and grant read. If you want them to edit item/delete item but not upload, then you need to create
    custom "permission set" to achieve your goal.
    If you really looking for JavaScript then below code may help
    <style type="text/css">
    #Ribbon\.Documents\.New\.AddDocument-Large
    display:none;
    #Ribbon\.Library\.Actions\.OpenWithExplorer-Medium
    display:none;
    </style>
    See this link - http://kishansharepoint.blogspot.com/2012/08/disable-upload-button-of-document.html
    Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply.

  • Show/Hide Command button in ADF

    I want to hide "Command Button" based on the select of "tableSelectOne". I have tried using the following code but I am not able to do that. So pls suggest some other options.
    <af:panelGroup partialTriggers="DestRulesSelectionId">
    <af:commandButton text="..."
    disabled="false"
    shortDesc="Test"
    partialTriggers="DestRulesSelectionId"/>
    </af:panelGroup>
    <af:tableSelectOne text="Select and" autoSubmit="true"
    id="DestRulesSelectionId"/>

    Hi Didier,
    But I have also developed the same example and it is working, without putting the command button under any parent component.
    Page defination is
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:af="http://xmlns.oracle.com/adf/faces"
              xmlns:afh="http://xmlns.oracle.com/adf/faces/html">
      <jsp:output omit-xml-declaration="true" doctype-root-element="HTML"
                  doctype-system="http://www.w3.org/TR/html4/loose.dtd"
                  doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
      <jsp:directive.page contentType="text/html;charset=windows-1252"/>
      <f:view>
        <afh:html binding="#{backing_ShowHide.html1}" id="html1">
          <afh:head title="ShowHide" binding="#{backing_ShowHide.head1}" id="head1">
            <meta http-equiv="Content-Type"
                  content="text/html; charset=windows-1252"/>
          </afh:head>
          <afh:body binding="#{backing_ShowHide.body1}" id="body1">
            <h:form binding="#{backing_ShowHide.form1}" id="form1">
              <af:panelPage title="Show Hide" binding="#{backing_ShowHide.panelPage1}"
                            id="panelPage1" partialTriggers="selectOneRadio1">
                <f:facet name="menu1"/>
                <f:facet name="menuGlobal"/>
                <f:facet name="branding"/>
                <f:facet name="brandingApp"/>
                <f:facet name="appCopyright"/>
                <f:facet name="appPrivacy"/>
                <f:facet name="appAbout"/>
                <af:selectOneRadio label="Select "
                                   value="#{backing_ShowHide.radioBtnValue}"
                                   autoSubmit="true"
                                   binding="#{backing_ShowHide.selectOneRadio1}"
                                   id="selectOneRadio1">
                  <af:selectItem label="One" value="one"
                                 binding="#{backing_ShowHide.selectItem1}"
                                 id="selectItem1"/>
                  <af:selectItem label="Two" value="two"
                                 binding="#{backing_ShowHide.selectItem2}"
                                 id="selectItem2"/>
                </af:selectOneRadio>
                <af:commandButton text="commandButton 1"
                                  binding="#{backing_ShowHide.commandButton1}"
                                  id="commandButton1"
                                  partialTriggers="selectOneRadio1"
                                  rendered="#{backing_ShowHide.radioBtnValue =='one'}"/>
              </af:panelPage>
            </h:form>
          </afh:body>
        </afh:html>
      </f:view>
      <!--oracle-jdev-comment:auto-binding-backing-bean-name:backing_ShowHide-->
    </jsp:root> ~Vikram
    http://kohlivikram.blogspot.com/
    Message was edited by:
    KoVik
    Message was edited by:
    KoVik

  • How to hide 'Search' button from Search GUIBB?

    Hi All,
    I know we can configure search GUIBB to hide 'Search' button and 'Clear' button. But I have to dynamically control this property. Is there any solution to implement it?
    Thanks,

    As always, you are such a reliable source of help! :-)
    That robots.txt you mentioned...do what with that?  I mean, how does that tell it "dont index the images"? For that matter, there are tons of pages on the server I don't want being indexed yet either because they are half baked for later development.
    Thanks!
    Create the file, and upload it to the root directory.  It's as simple as that.  But you'll have to read the details on the google hits to see the exact syntax of the exclusions.
    Now - here's why this is happening....
    Somewhere, google has found a link to this URL -
    http://bluehippotravel.com/photos/destinations/TH/
    The bluehippotravel host has NOT disabled directory browsing.  When you browse to that URL, instead of getting a FORBIDDEN message like you should, you get a page listing the contents of that directory.  Google is indexing that page.  Ask your host to turn off directory browsing for that folder.

  • Hide Personalize Button in Vews Panel?

    Hi friends,
    (Apps R12)
    Is there any way to hide the "Personalize" button in Views panel?
    (even modifying the .xml... do you know which one is it?)
    Thanks!

    hi
    although i have not cheked if "personalize page " is having any function ,please check if it is having function name ,then u can hide this in process request of CO using the following code
    if (< condition >)
    OAPageLayoutBean page = pageContext.getPageLayoutBean();
    page.prepareForRendering(pageContext);
    OAGlobalButtonBarBean buttons = (OAGlobalButtonBarBean)page.getGlobalButtons();
    OAGlobalButtonBean button =
    (OAGlobalButtonBarBean)buttons.findIndexedChildRecursive("<FUNCTION_NAME>");
    button.setRendered(false); // Hide the global button, or
    button.setDisabled(true); // Disable the global button so it renders, but is
    not selectable
    thanx
    Pratap

  • How to hide the buttons based on some conditions

    Dear all
    Good morning
    i have three pages
    when ever user directly go to third page i want to hide the button "backtofirstpage"//button name
    when user go to third page via first page i mean first page i want to visible the button "backtofirstpage"/button name
    what is the procedure
    at least hiding is not posible at least disable/enable
    Regards
    Sreekanth

    Hi,
    In the if condtion read the value of parameter [[You need to send it from first page]] and get it in process Request Method of controller of third Page and based upon it set the render property of that button & in the else condition set the render property to false.
    You need to create a PVO & also create a Boolean attribute.
    Set the render property in Property window like ${oa.xxPVO1.setRender} -- ${oa.viewInstanceName.viewAttributeName}.
    Read more in dev guide & search through the forums.
    Thanks
    --Anil                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Hide some buttons or enable buttons, that's the question

    I have a problem with content presenter portlet, I developed a new theme for my portlets and it was all great, but in workspace studio you have the chance to say "hey i want this button, this one and... no i don't like this", allowing you to determine when the user can or cannot change the status of your portlet, but in a content presenter portlet this is not possble(or i haven't found it) I need to hide all buttons except for the edit button, I modified my theme and now the delete and float buttons are disabled in that theme, but i haven't found the way to hide the maximize an minimize buttons, any ideas?
    It's something similar to borderless theme, but that theme hides everything and then inserts the edit button in the body of the portlet using javascript(I'd rather not to use that).
    Thanks a lot

    If you do not wish the porltet to have maximize or minimize capabilities, simply do not entitle those states on the portlet in the desktop. Note that you should give maximize capability to those that you've entitled to be able to edit (configure) the content presenter portlet instance since the Wizard interface will work best when in a maximized view.

Maybe you are looking for

  • How can i make a search field in my app using applescript?

    I am making an app and i would like to learn how can i add a search field, that will search the content of a window. BTW i am using xcode and applescript

  • Issues with Saving Data as PDF

    Hello, I have a PDF form, created in Acrobat, and uploaded into FormsCentral. Once a user fills it out and submits it, I save the record as a PDF. The downloaded PDF has a couple of issues: If there is a default value for a radio button field, the ne

  • Standby Database Creation in the same Box Oracle 9.2.0.1

    Box - Sun Solaris 64 bit Oracle Version - 9.2.0.1 I have a database called 'sales' in the above box. I want to create a standby database in the same box (in different mount point). This is what I did: 1. took cold backup of all datafiles 2. created s

  • [ADF JDEV11.1.1.4] Timezone region not found problem in JDEV

    HEllo, I just moved my project to JDEV11.1.1.4 from 11.1.1.3. All is fine except for database Navigator. In 11.1.1.3, I was able to connect to my Oracle Database from Database Navigator Tab. I just needed to set the Java options -Duser.timezone="+01:

  • Flash animation bad quality when tweened

    hello to all! a)im getting very bad results when i tween objects in flash,ive done the designs(clog wheels)in photoshop and added some fx to them,i save them as a png file and import them into flash,when static all is good,but once they start rotatin