Building a custom button

I've been using LiveCycle off and on for a couple of weeks now. One question that has come up several times - is it possible to build a custom graphic button?
I can't find a way to import an image into an existing LiveCycle button. I've tried putting in an image and then positioning an invisible button over top of it. This is clumsy at best.
I'm now wondering if I would need to build a custom object. Is the the correct way to do this?
Any help is much appreciated.

In regards to my previous message # 5 posted within this thread:
Please Note!
I was able to get the "Download Sample [pdf] form in the Tracking Mouse Clicks to work using Acrobat Professional 7.05 but it did not populate the textfield1 properly in Acrobat Professional 8.1.0 causing this message in debug.
oBtnRect has no properties
12:XFA:form1[0]:#subform[0]:Button1[0]:clickException in line 12 of function top_level, script XFA:form1[0]:#subform[0]:Button1[0]:click
oBtnRect has no properties
12:XFA:form1[0]:#subform[0]:Button1[0]:click
I submitted a comment letting Stefan know of the issue. Messages go through a moderation process.
Any thoughts?
Thanks
Pam

Similar Messages

  • SAPUI5 custom button control based on SAPUI5 button

    I would like to build a custom button with. The reason for this is because I reuse this button a lot of time.
    - It has two style classes.
    - The button should extend the SAPUI5 button.
    - Uses the jQuery append() function.
    How I built my button up to now:
    this.btnMyTeam = new sap.ui.commons.Button({
      text : "My Team" + "\n\n" + LanguageEntityAdapter.getInstance().getTextForLabelname("APP_NAME_MYTEAM")+"\n\n\n\n\n",
      press : function() {
      oController.onMyTeamButton();
      this.btnMyTeam.addStyleClass("StartScreenButton MyTeamImage");
    //in the onAfterRendering function of the controller
    this.btnMyTeam.$().append(
      "<span style=\"color: #8DA3D3 !important; font-size: 25px;\">" + this.getNumberOfDays() + "</span><span>\n\n"  + LanguageEntityAdapter.getInstance().getTextForLabelname("MY_TIME_CORRECTION_ISSUES") + "</span>");
    This is not a nice way !!!
    So I would like to extend the sap-ui.commons.button. And tried like this. but no success at all.
    sap.ui.commons.Button.extend("StartScreenButton", {
      metadata : {
      properties : {
      upperText : {type : "string"},
      htmlAppend1 : {type : "string"},
      htmlAppend2 : {type : "string"},
      upperText : {type : "string"},
      backgroundImgStyleClass : {type : "string"},
      events : {
      onPress : {
      init : function() {
      this.innerButton = new sap.ui.commons.Button({
      text:this.upperText,
      this.innerButton.addStyleClass(this.backgroundImgStyleClass);
      this.innerButton.addStyleClass("StartScreenButton");
      onAfterRendering : function() {
      this.append("");
      renderer : {
      render : function(oRm, oControl){
      oRm.renderControl(oControl);
      oRm.renderControl(this.innerButton);

    Hi Dominik,
    maybe you can use the following example as an orientation.
    Regards
    Michael

  • How to create a custom Button in a SNP planning book

    Hi Experts,
    I created my own Planning Book and Dataview in SNP with 3 Key Figures: KF1, KF2, KF3. Now I want to create one my own button with Macro so that when I press that button, the Macro will run to calculate: KF3 = KF1 + KF2.
    I know that I can drag this Macro to one of default events like: Default, Level Change, Start. But actually, I want to create my own button so that I can handle the event as I want.
    My question are:
    1. How to create a custom button on the toolbar of SNP Planning book and writing macro for the button?
    2. Please give me any document, material teaching about writing macro and relating to my above scenario.
    Thanks very much!
    Duyennx
    Edited by: xuanduyen on Sep 6, 2011 9:20 AM

    Hi,
    Access the transaction "/n/sapapo/advm". In the list select your planning book/ data view and click 'Start Macro Builder' button.
    In the Macro builder screen, drag and drop your macro from Macro depot to the work area.
    Right click on your macro name and select 'properties'. In the pop up, next to the Assigned Push button field, there is a button 'Choose'. Click that. It will display all the available icons. In standard system, it displays more than 1000 icon. Choose any one icon which is suitable for your macro function. Close the pop up and save the macro. This will assign a push button to your macro.
    In the Planning book tool bar, you can see the selected icon in the header tool bar. Just by clicking that icon, you can execute the macro interactively.
    And I don't know whether we can include/design our own icon. But there are already 1000+ standard icons to choose.
    Regards,
    Manimaran M.

  • How to Calculate sum for the selected rows in ALV gird using custom button

    Hi I am trying to implement an ALV Grid display where the user can select few rows in the output and if he click on some custom button he should get the sum for only those rows.
    Can anyone give me some idea regarding this.
    Thanks in advance

    While building the fieldcatalog for amount field use gt_fieldcat-do_sum = 'X'. And use the below for doc type sorting and subtotal.
    *  ALV data declarations
      data: it_sortcat   type slis_sortinfo_alv occurs 1,
            wa_sort like line of it_sortcat.
    perform build_sortcat.
    *&      Form  build_sortcat
    *       Build Sort catalog
    FORM build_sortcat .
      wa_sort-spos      = 1.
      wa_sort-fieldname = 'EBELN'.
      wa_sort-SUBTOT    = 'X'. "subtotals any totals column by this field
    *  gd_sortcat-tabname
      APPEND wa_sort TO it_sortcat.
      wa_sort-spos      = 2.
      wa_sort-fieldname = 'EBELP'.
    *  gd_sortcat-tabname
      APPEND wa_sort TO it_sortcat.
    ENDFORM.                    " build_sortcat
    call function 'REUSE_ALV_LIST_DISPLAY'
           exporting
                i_callback_program      = gd_repid
                i_callback_top_of_page   = 'TOP-OF-PAGE'
                is_layout               = gd_layout
                it_fieldcat             = fieldcatalog[]
                it_sort                 = it_sortcat
                i_save                  = 'X'
           tables
                t_outtab                = it_ekko
           exceptions
                program_error           = 1
                others                  = 2.
    Regards,
    Chandru

  • Tin Can Statements using Javascript on Custom Buttons

    Has anyone got custom Tin Can Statements working using Javascript Actions on custom buttons using advanced actions in Adobe Captivate?

    Thanks for the reply.  So just to be sure, there is no way to approach doing what is mentioned below: 
    Captivate may be using TinCanJS (http://rusticisoftware.github.io/TinCanJS/) under the hood. If it is, then it might be exposing a global `TinCan` variable and potentially another global that is an instance of that constructor that has the configured LRSs. If that is the case, then it should be trivial to add a call to the 'sendStatement' method of that interface and it should Just Work (tm). You should be able to launch the course and use browser developer tools to inspect the global namespace to see what objects are available.
    If the TinCan global is there but you don't see anything representing an instance of it, then you can always create your own instance and use the 'url' property of the constructor to get one configured with an LRS instance from the launch parameters. Then follow the same procedure as above.
    If the TinCan global isn't there then you can load TinCanJS yourself which will give you that global and then follow the procedures in both of the above. The Tin Can Prototypes (http://tincanapi.com/prototypes/) include examples of working with the TinCanJS library both in launch and non-launch scenarios. From a developer purist perspective loading the lib as your own dependency is really more proper anyways so that you control the dependency and its version, but TinCanJS doesn't currently support a "no conflict" type of feature without special build, so if it is already present you are best off using the version loaded on the page so as not to risk breaking other parts of the course.

  • Custom Button Question

    Forgive me if this has been asked before, My search through the archives didn't turn up anything but, then again, neither did the hours of searching i did prior to coming here.
    I'm trying to create a custom button that can do two things
    1) run a video clip as it's asset ( the standard 30 sec clip from the associated chapter )
    2) Have a custom, full colour, graphic appear over the video when the button is selected.
    The problem I'm having is that while I can make the custom graphic appear using a standard button ( and a custom shape ) the graphic is always on-screen and for every button.
    I can get the graphic to appear only when the button is selected by using a layered button, but can't find a way to set a video clip as the button's background.
    Is there anyway to have both?

    Anything that you want to make appear as a highlight when the button is selected is going to be part of the sub-picture stream when you build the disc. This is limited to just four colours, including black. Making a full colour highlight appear is just not possible on a SD disc.
    However, you could use a photoshop layer based menu which works in a different way. In this system the selection of a button by the user actually swaps you from one menu to another rather than simply invoke the sub-picture stream. Using this technique you can make it look as if a full colour image has appeared. However, you cannot then use video as a button asset, nor put audio into your menu as you are in effect moving between different menus. Also, such a menu structure is slow to use on the final disc and will require multiple buttons presses to get things to happen.
    You could choose to create this yourself rather than use a photoshop layer file. If you do then you'll have video background, since you would create a series of standard menus linked together by auto-activating buttons. So, in your first menu you set up the video background and for each button you link to a new menu which has got a composite of what you want visually. If you set each button to auto-activate then the jump to the sub menus will happen as you roll over each button, but you will then need to set jumps back from each sub menu. As you can see, this gets quite complex and whilst possible isn't always practical. Anything more than a couple of buttons and things just get confusing!
    There is one final possibility, but it again has flaws. For your background you create the video and an area of relatively plain colour. In that plain area you add the full colour images that you want to appear when each button is selected. You then create a highlight overlay which has got a simple shape set up to cover over the highlight images for each button. In DVDSP you map the colour of the overlay to be the same as the plain area colour in the menu background, and you set the normal state of the highlight to be opaque (the reverse of the default setting). On selection you set the highlight to be transparent. What happens is that you then have your full colour image revealed as the user moves over each button area, whilst the video background is playing.
    The flaw with this is two-fold. Firstly, mapping the overlay block colour to match the background is never quite as accurate as you want it to be - you'll almost certainly see a difference and you need to design your menu with this in mind (you might make it a feature by adding a border on the background, for example). The second flaw is more serious - when you activate a button the sub-picture stream disappears for a fraction of a second and ALL of your background images will be revealed before the jump takes place. Additionally, when returning to a menu the sub-picture stream takes a moment to initialise and all of your background will again be in view for a fraction of a second.
    This is not something you can do anything about and depends hugely on the player that you are using, but all will do this to some extent or another. If you can live with this then you CAN have video and reveal full colour images (although not over the video) on a single menu... and have audio as well!
    The simple answer is probably that it is not worth your while struggling with this to get the effect you want... sorry!

  • Add on custom button to ALV toolbar in std tcode ME51N, ME52N and ME53N.

    Hi All,
    I have the requirement to add on the custom button to ALV toolbar in ITEM OVERVIEW for standard transaction ME51N, ME52N and ME53N. Does anyone know what enhancement point or user exit i should apply and how i can add on the custom button?
    Thanks.

    There are no user exits or badi's for COOIS. You may have to make copy of the PPIO_ENTRY to ZPPIO_ENTRY including all the varians without changing their names like copy SAP&COOIS to SAP&COOIS. Create a T-Code ZCOOIS and replace COOIS in variant SAP&COOIS to ZCOOIS not in the name of the variant but in the field "Check Authorization for".
    The PF-Status is found in the include LCOISOUTPUTF16 which is located in the function group COISOUTPUT you may have to copy that too. Finally you need to copy SAPLCOISOUTPUT with its GUI status GENERAL and add your custom button there.

  • Custom button  on ALV report for Tcode FL10G ?

    Hi All,
    I want to add custom button in the AVL report for FL10G transaction.  And then need to implement logic for that button (calling BAPI to create shipment for the selected records).
    For VL10G alv program GUI Status - STANDARD001  I think I can add button in this gui by using access key.
    But how to implement logic for this custom button?  Where I can put the code for this button logic?
    Please let me know if any one has any ideas on this issue.
    I appreciate your help and time on this.
    Thanks.
    M

    Hi Murali,
    The standard program it will not allow to copy the GUI Status. Because source and target program should not same.
    It will definitely debug will work. Yo can create the GUI Status through SE41. In SE41 Just give Program name :SAPLV50R_VIEW click the button status. here you should not give any gui status. just blindy say create the then it will popup screen appears in the screen. Here you can mention your Z GUI Status. It is not required to create all the menus manually instead of the there is button which is located in the screen next to blue i button. here you can click and select the standard interface. You can get all the menus as similar to standard. Like that you should create Menu Bar, Application Toolbar and Function Keys  Menus. Then you can add your custom button in the Application tool bar button.
    When you execute the Transaction VL10G and check your cusom menu button will appears. Once you click custom button only exit will trigger. Find the below code for your reference.
    CODE
            loop at ct_postab assigning <fs>
                    where selkz = 'X'.
    *To Fill the BAPI  Header Parameters
                  str_ordhdr-ship_cond = w_sval-value.
    *To Fill the BAPI  HeaderX Parameters
                  str_ordhdrx-updateflag = 'U'.
                  str_ordhdrx-ship_cond = 'X'.
                  call function 'BAPI_SALESORDER_CHANGE'
                    exporting
                      salesdocument    = <fs>-vbelv
                      order_header_in  = str_ordhdr
                      order_header_inx = str_ordhdrx
                    tables
                      return           = str_return.
                endloop.
                read table str_return into w_return index 1.
                if sy-subrc eq 0.
                  if not w_return-type = 'S'.
                    message w_return-message type 'E'.
                    leave to current transaction.
                  endif.
                endif.
    *Do the BAPI Commit
                call function 'BAPI_TRANSACTION_COMMIT'
                  exporting
                    wait = 'X'.
              endif.
            endif.
          endif.
    Let me know if you have anything to discuss on the same.

  • How can I create a custom button for opening a form?

    I have a parent form having child forms. In my main form I want to create custom buttons for opening child forms. I want to use master-detail form but there are more than one child forms, and in master-detail form I can only create one detail form. So I will create a form based on a table and in that form I will call the child forms by custom buttons. Can I do that?
    Thanx,
    Gulsah.

    This can be easily done. First open up two instances of your Portal. In one window, you will need to go into your component you wish to link FROM. In the other window you will need to go into your component you wish to link TO. In the component you wish to link TO there will be a moduleid. Note this somewhere. Then, you will see an area that says: "Call Interface: Show". Click on this. (In the window you are linking to.). In this window, you will see a bunch of stuff. At the bottom you will see a URL call. This is the call you need to use. At the top, it explains each piece of the URL call. Just subsitute YOUR appropriate information into the URL call. In the form you wish to link FROM, create a button. Once you create this button, it will appear at the bottom, click on it and you will see an area to insert a Javascript. Click the onClick and insert:
    //this is the variable you want to pass from one form to the other
    get_field_name = getField(this.form,'COLUMN_NAME_IN_DATABASE');
    //this is so you can open the "child" form
    window.open('/pls/cc_prod/DAD_NAME.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=MOD_ID_HERE&p_arg_names=_sessionid&p_arg_values=&p_arg_names=COLUMN_NAME_IN_DATABASE&p_arg values='+GETFIELD_NAME+'&p_arg_names=_COLUMN_NAME_IN_DATABASE_cond&p_arg_values=%3D');
    In the fourth tab, where it says, "....before displaying form" insert the following: (This will tell the form how to handle the getField function.)
    htp.p('<script language="JavaScript1.3">
    < !--
    function getField(form,fieldName)
    var objName = "";
    var tmp = "";
    var dAction = "";
    var sel_idx = 0;
    var cnt = 0;
    var instance = 0;
    var slicedName;
    var fillData = new Array();
    for (var i = 0; i < form.length; i++)
    slicedName = form.elements.name.split(".");
    tmp = slicedName[2];
    instance = parseInt(slicedName[3],10);
    if (!tmp)
    continue;
    objName = tmp;
    if (objName == fieldName)
    return form.elements[i].value;
    //-->
    </script>');
    I hope this helps.
    null

  • How can I open a URL from a Custom Button in a second help window?

    I have a custom button, which currently opens a URL in a web
    browser, using a redirect page. How can I change this so that it
    opens in a second help window instead? If I understand some of the
    posts I've read, it is possible by linking the button to a related
    topics function but I've no idea how this is done.
    As usual, your help is most appreciated. Thanks a lot.

    Hi, ecoulyn,
    You need to make a topic file like the one below the target
    of the Jump button.
    The onLoad function on the Body start-tag causes the Related
    Topics command to fire when the topic file is loaded in the topic
    pane. When specifying the file name of the topic to display in the
    secondary window, you must always prepend it with the name of your
    .chm file, followed by "::/". Otherwise, an error message appears
    when the Jump button is clicked.
    Pete

  • How to add a custom button in WD screen to call a workflow in siebel?

    Hi All,
    We have a requirement to have a custom button at the summary screen(after the rule execution) "Create Opportunity", on clicking on it a new opportunity record should be created in Siebel. As we know the "Save" link calls "PolicyAutomationSaveSession" inbound web service method and saves the information in session table and we can modify the PreSession and PostSession workflows. But we are not sure how it calls the service method and where is the mapping defined.
    Can you please help me on how to add a custom button and how to invoke a workflow in siebel side to implement this requirement?
    Also is there any document which can help me to add a custom button in screen and to add the code behind the button?
    Thanks in advance!!
    Regards,
    Subhradeep

    Subhradeep,
    Closing a Web Determinations window is essentially the same as closing any HTML window. It involves javascript, which you would have to add to the Web Determinations templates.
    Essentially the javascript command to close a window is {{window.close}} or {{top.close}}
    For timing, you might be able to use the setTimeout function of Javascript (see: http://www.w3schools.com/jsref/met_win_settimeout.asp)
    At the risk of exposing exactly how bad my javascript skills are, I have attached a super-simple html fragment, a page that closes itself after 3 seconds. It may help you get started in the right direction. In general closing a window is a fairly dubious activity and is often not permitted by certain browsers. This html page at least works in Internet Explorer.
    <html>
         <head>
         <script language="JavaScript">
              setTimeout(closeMe, 3000);
              function closeMe() {
                   alert("This window will close");
                   top.close();
         </script>
         </head>
         <body><B>This window will close in three seconds</B></body>
    </html>
    {code}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Hey guys i was wondering if i could downgrade my iphone 5 from ios 7.1.1 to 7.0.6 or .0.4 i have 7.0.6 and .0.4 shsh blobs but when i try to build a custom ipsw using ifaith it loads and never stop loading is there any way to downgrade to older ios 7 ?

    Hey guys i was wondering if i could downgrade my iphone 5 from ios 7.1.1 to 7.0.6 or .0.4 i have 7.0.6 and .0.4 shsh blobs but when i try to build a custom ipsw using ifaith it loads and never stop loading is there any way to downgrade to older ios 7 ?

    No, you cannot downgrade your iOS device. That's not supported by Apple.

  • Add a custom button on notification page and open a oaf page after button

    Hi All,
    My Requirement is add a custom button on notification page and after button click with take some parameter from notification page like supplier_id and org_id then open a new oaf page and show supplier credit and debit balance but problem is that button is only enable to a ap invoices notification not for other type of notification.
    how to take approach/action i don't know.
    it is possible through OAF personalization/customization or it is part of work flow customization.
    Navigation path - payable->worklist->open notification and Type of notification also there
    Type should be matched with AP_Invoices type notification then custom button enable.
    Please Let me know is it possible or not. If possible how to achieve this. ...................................it's argent...plz help me
    Edited by: 815572 on Nov 25, 2010 1:15 AM

    Hi Irk,
    My notification came in given below format (in table) but my custom button only enable for Contract Approval Type not for others..........i hv attach a button on notification page (subject-Contract 21969-R17......)
    From Type Subject Sent
    Taylor, Phillip Contract Approval Contract 21969 - R17-AUG-07 06:19:27 has been approved by Taylor, Phillip 22-Aug-2007
    Taylor, Phillip OKS Contract Process Contract 21975 - R17-AUG-07 06:22:18 for AT&T Universal Card (52,500.00 USD) has been published online 19-Aug-2007
    Taylor, Phillip OKS Contract Process Contract 21969 - R17-AUG-07 06:19:27 for AT&T Universal Card (15,000.00 USD) has been published online 19-Aug-2007
    If I just put a button SHOW BALANCE just like notification button APPROVE, REJECT, REASSIGN but this button shows all types of notification and my req. is this button show only for Contract Approval type notification. how to handled this issuesss ?
    if extend the co of notification page then how to handle TYPE value from worklist page ....please write proper code if u hv any idea...........
    Thanks,

  • Add Alt Attribute Info to a Custom Button

    I have created an alternative to editing the
    “whtbar.js” file to give an image alt attribute
    information. We have a custom button in our help file that needed
    alt information, but we had already incorporated the text into the
    button’s image and did not want to add the text label. We
    also did not like the visual border treatment that adding a text
    label did to the button.
    I wrote this JavaScript function that will not only
    accomplish this, but it will also capture the functionality that
    RoboHelp creates for the OnClick event handler and duplicates it in
    an OnKeyPress event handler for that same button. I have
    successfully tested this script in both IE (IE 6.0) and Mozilla
    (Firefox 1.5), and it appears to work fine.

    The OP probably tried to attach it to their post, but it was stripped by the forum software. Hopefully they can show a screenshot image (using the camera icon in the web interface) to display the coding.

  • Custom button goes missing after click the button in Customer Master

    Hi All,
    I have one query regarding Custom tab button in Custome MAster.I have implemented BAdIs using CUSTOMER_ADD_DATA_CS and CUSTOMER_ADD_DATA  to match my requirment.
    Query:
    While click the custom button(which i have created in Customer Master) , the subscreen is displayed  but the Custom Button is missing.Where in Standard Buttons like 'GENERAL DATA' and 'COMPANY CODE DATA' Std buttons in Customer master Etc. buttons going to disable mode while click these button in custome mastar.
    Is there any OSS notes to implement OR we required to set up some PF status to match above requirment.
    Please let me know.
    Thanks,
    Sridhar

    If I follow you, no. That's the way it works. The buttons are composited with the background so become part of it. I'd rethink the design.
    Basically, you don't want the highlights to determine the color of unselected buttons. You'll always have fringes and jaggies. Having a non-transparent color set for the unselected state kind of does what you want, but won't look the best.

Maybe you are looking for

  • Problem in Publishing the certificate to directory server

    I am having problem regarding the publishing the certificate.I am using iPlanet CMS 4.7 and iPlanet directory server 5.1 In the CMS >certificate manager > publishing module > mapper It provides(manuals) two options to enable the publishing to directo

  • 2 lines for agents on weekly summary report

                       I have used the attached report definition to run a report, when running it on the customer site, although I believe the week runs Monday - Sunday, when I run the report, whether it is Monday - Sunday  11th Feb - 17th Feb, or Sunda

  • How to access group content, or anything inside?

    Let's say I have this group: var myGroup = Group{      var someNumber:Number;         var stf = SwingTextField{              columns: 10,               text: "TextField",              editable: true      content:[           Text{                x: 10

  • Loading ipod onto new laptop

    I am trying to load my ipod onto a new laptop without erasing the existing songs. the problem is my itunes was on a company computer, this was deleted off the computer before i could do anything about it and now when i reloaded itunes onto my laptop

  • Defining variable type as VARCAHR2(32767) in PLSQL procedure

    Hi, in PLSQL procedure if i defined a variable type as VARCHAR2(32767) then will it cause any performance problem? thanx Nidhi.