WEB trigger Button from Template include item from another Button

Hello experts,
on a web template we want only one button to
a) execute a template specific planning function (with a fix variable value) and
b) trigger a template included button (same button is used for several web templates and therefore saved in an individual Web Template, which then is included in the other web templates.)
This way the rather complicated logic of button b) only needs to be maintained once
How can a button a) on the individual web templates trigger the button b) ?
In Workbooks it´s easy by enhancing the VBA code of the Button - but how do you do this in Web templates?
Thank you for your help,
Angie

Hi Angie,
two possible solutions:
1) Backend: Combine the logic of buttons a) and b) in a planning sequence
2) Frondend: Use JavaScript to create your own logic for the button:
http://help.sap.com/saphelp_nw70/helpdata/en/43/efc07b13f2025be10000000a1553f7/frameset.htm
Instead of putting the complex logic for directly on the button (b), embed is as JavaScript in the reusable template. Then you can call it also from other templates.
Regards,
Marc
SAP NetWeaver RIG

Similar Messages

  • Applescript: transferring total appearance from one page item to another

    What is the best way to transfer all the properties of a path item that determine appearance to another path item?
    What if those path items are in separate documents?
    Should I copy and paste?
    what about:
    set item_properties to every property of page item 1 of document 2
    set properties of page item 5 of current document to item_properties
    Specifically, I want to copy the following properties from one path item to another, across documents:
    stroked
    stroke width
    stroke color
    stroke dashes
    stroke cap
    filled
    fill color
    --and any patterns that are used as fill
    blend mode
    opacity
    any help appreciated.
    thanks.
    Ben

    Thanks Mark.
    the main downside to this is it adds another layer of manual work--you would have to make a graphic style by hand from each sample object (because you can't make a new graphic style with a script). I would rather make the script do the work, so that if I have a lot of different sample items to mimic it could be automated.
    The big problem I've encountered with just moving each property over is that when I make my own fill pattern for the sample object, and copy that pattern over as a "fill color", it seems to cause some problem with opening the document, as I found in this other discussion:
    http://forums.adobe.com/thread/542632?tstart=0
    Thanks again,
    Ben

  • Not to include item from purchase order to the delivery order

    Hi,
    i need some guidance on above topic. The user requested to have the functionality not to include the item from purchase order to delivery order when the item having  order balance quantity more than the available stock.
    In other words, if a PO contains several items, those order balance quantity which is more than the available stock will not be included in the DO.
    is the above scenario possible?
    please advise.
    Thanks.

    Hi Yue ,
    u can do it , but in this case u have to make use of user exit or BADI.
    option 1 .
    by using user exit , u can delete/change picking/confirm qty .
    option2:
    while doing  the PGI , do can cross check stock avail with PO qty and raise error messages.
    LE_SHP_GOODSMOVEMENT --> see its documentations in se18.
    Regards
    Peram

  • ICal keeps sending email notifications from all agenda items from the last 2 years. After laptop start up this action is repeated every hour. How can I stop these 300 emails coming in every hour?

    iCal keeps sending email notifications of all agenda items from the last 2 years (then I bought my laptop). After laptop start up this action is repeated every hour. How can I stop these >300 emails coming in every hour?

    Hi,
    We have rolled out a fix for this issue.
    Please log off and log back in to your machine and the issue should be resolved automatically. In case that does not work, please manually run the msi installer posted here (may require reboot).
    For details, please refer to the KB article here: Multiple RunOnce keys created 11.0.10 and 10.1.13 Acrobat | Reader
    Please let us know if you still face any issues.
    Thanks,
    Ashu Mittal

  • Excluding and including items from back-up.

    Initially I excluded from back-ups in Time Machine a certain number of items. Then I decided that one of them (the cache folder for Adobe) should be backed-up. So I took it out from the exclusion list (by highlighting the item and pressing the minus sign in the Time Machine window). The folder no longer appears on the exclusion list. But that folder is still not being backed-up, as if it were still in the excluded list. I am assuming that putting items on the excluded list is not irrevesible (if not, why have the minus sign?). I have spoken to a member of the Genius Bar in my town, but they had no suggestions (apart from wiping all the back-ups, and starting again, which I am a bit reluctant to do, for obvious reasons...).
    The backing-up is being done to a 1 Tb external Lacie, which has about 500 Mb free space. The computer is a 1-year old iMac, running under Snow Leopard.
    Many thanks for any help.

    As a rule Time Machine will exclude files like, cache files, temporary files, Spotlight indexes, and items in the Trash.  This is one of the space saving features used by Time Machine. 

  • New Item Indicator Does Not Include Items from Folder with ILS

    We created a folder with Item Level Security and publishd items
    on that folder. If I drill into that folder, I can see that the
    Newly-added Items Icon is displayed. Once I click into that
    Newly-added Items icon, it will bring me to a view of all newly-
    added items within the content area. However, newly-added items
    published on the folder with ILS are not included on the list.

    Did you choose to preserve the hierachy?
    Ben
    Message Edited by Ben on 07-17-2007 11:56 AM
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction
    Attachments:
    preserveHierarchy.PNG ‏25 KB

  • Automatically create new Excel file from template using data from a selected row in a separate Excel file

    I am fairly new to Macro and VBA in Excel. I am trying to reduce the amount of work involved in a task that is performed often in our office. Currently, the task involves using 2 separate Excel files. One file is a tracking sheet and the second is the document
    that gets sent out to the client. The second document has all the same information that is inserted into the tracking sheet. What I would like to do is have the information that is in one row on the tracking sheet populate into a new excel file that is created
    automatically from an existing template.
    I have been able to make this partially work. What I have been able to achieve is have the cell that is selected in the tracking sheet (the description field) copy into the new file that is created from the template that is on our server.
    Sub NewRFI()
    ' NewRFI Macro
        MsgBox Selection.Address(ReferenceStyle:=xlA1, _
                               RowAbsolute:=False, ColumnAbsolute:=False)
        Selection.Copy
        Workbooks.Add Template:= _
            "template file path goes here"
        Range("C14").Select
        Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks:= _
        False, Transpose:=False
        Range("C14").Select
        Application.CutCopyMode = False
    End Sub
    What I need to do is get the rest of the information from that same row in the tracking sheet to copy to the new file as well. The other information includes the document number (one cell to the left of the selected cell), who it is from (one cell to the
    right of the selected cell), and the date (two cells to the right of the selected cell). As stated, this information is all in the same row on the tracking sheet. Each piece of information needs to be copied to a certain cell in the new file and I do not want
    the source formatting to be copied to the new file.
    Ideally, I would like it to operate like so: select the first cell in the row (in this case would be the document number field). Then click a button to run the macro that will then copy the information from that row in the tracking sheet to specific cells
    in the new file that is created from the template.
    This process will save us from having to either manually copy and paste the information into the new file or re-type the same information that is already in the tracking sheet.
    This is probably a simple thing to do but it would be great if anybody had some insight on this issue. Thanks in advance!

    Try code like the following. You will have to change the target cells (D25, F1 and H4) to the ones you want, I just used some arbitrary cells as example.
    Sub NewRFI()
    Dim rngCell As Range
    Set rngCell = ActiveCell
    MsgBox Selection.Address(ReferenceStyle:=xlA1, _
    RowAbsolute:=False, ColumnAbsolute:=False)
    Workbooks.Add Template:="template file path goes here"
    Range("C14").Value = rngCell.Value
    ' Change the target cells as needed
    Range("D25").Value = rngCell.Offset(0, -1).Value
    Range("F1").Value = rngCell.Offset(0, 1).Value
    Range("H4").Value = rngCell.Offset(0, 2).Value
    End Sub
    Regards, Hans Vogelaar (http://www.eileenslounge.com)

  • How do you get one Button to raise the Clicking of another Button?

    Hello,
    I have a hide/show region that is controlled by a button (ButtonA). This button and region is pretty far down in the page.
    So the client has requested that I created a second button (ButtonB) and place it at the very top of the page, and wants for this button (ButtonB) when clicked to 'click' the hide/show button below (ButtonA).
    Can you please advise how to do this, ex:
    <INPUT type="button" value="Show All Regions" name="ButtonB" onClick="what do I place here to raise the 'click' of button A ">.
    Any advice would be appreciated as I must demo this feature to the client tomorrow morning.
    Many thanks,
    Laura
    Edited by: user8936524 on Apr 19, 2010 4:35 AM

    Depends what type of button it is.
    If it's a button in a region position, use the optional redirect section
    Set the Target to "URL" and enter URL TArget as something like:
    javascript:function_to_call();Alternatively if its a region item button, it's a bit more tricky.
    What I did was create a new button template (copied from the standard "Button" template, called "Button - link to attribute") and replaced the
    <a href="#LINK#">bits with
    <a href="#BUTTON_ATTRIBUTES#">you can then add the code (as above) to the attribute property of the button.

  • How do i show a button based on the value of another button (value is greater then 0)

    I'm am building a form in indesign, and just want to add a visual icon next to buttons when they are filled out... check mark next to a drop down list... so the list have values and i want the check mark (button) to show only when the value of the drop list is greater then 0... can this be done?... easily?....
    thank you!

    Hey Gilad D,
    its been a while since i have been back to this project…..
    now i have time to dedicate to this to get it done….
    if you don't mind i really could use a little help..
    i want to start again and give you the full scope of what i am trying to do, i don't have any real hard files yet...
    its pretty simple (in theory)..
    So i don't know what you do for work, but i work in an environment that has some pretty lazy sales people,
    so i want to create a pdf that steps them through a bunch of questions that they have to answer...
    my thought was, lets break this out into sections…
    so section one has three questions, if they answer all three, then they get a checkmark and section 2 appears
    which would have a few questions in it… etc….
    there would be some easy cross referencing and excel type calculations,… and a few, if you answer yes then another field gets auto filled..etc….
    can acrobat handle this?… or am i wasting time thinking it can?...
    i primarily work on mac's but we do have a PC with live cycle...
    thoughts?….
    thank you,
    ely

  • Invoking Javascript with Items from Different Page

    I have a two page application. "Page 1" has a Javascript function to which I pass ITEMS from Page 1.
    Can I include Items from "Page 2" in this function ?
    thanks
    abhay

    I need to pass three arguments to a Javascript function. The first two are the values of two ITEMS on Page 1.
    The function is being called from Page 1.
    Is it possible to pass value of an item which is on Page 2 ?
    ak.

  • How to hide a TextField when clicking another button

    Hello!
    I've been able to generate a TextField to appear when clicking a button, but when I click on another button, to display some more information, I still have the first TextField displayed.  I've had a look around, but not been able to find anything to help me with getting the first to disappear.  Can anyone provide any ideas for this?
    The code I'm using for displaying the TextField is:
    button10.addEventListener(MouseEvent.CLICK, fl_ClickToPosition);
    var fl_TF:TextField;
    var fl_TextToDisplay:String = "Send disply to the right screen/projector";
    function fl_ClickToPosition(event:MouseEvent):void
    fl_TF = new TextField();
    fl_TF.autoSize = TextFieldAutoSize.LEFT;
    fl_TF.background = true;
    fl_TF.border = true;
    fl_TF.x = 300;
    fl_TF.y = 100;
    fl_TF.text = fl_TextToDisplay;
    addChild(fl_TF);
    Many thanks in advance

    all your buttons should call the same function. 
    because each button probably triggers different text to be displayed, you can use an object or dictionary to associate the buttons and their text:
    // execute these two lines and your function once at the start of your app
    var dictionary:Dictionary=new Dictionary(true);
    var fl_TF:TextField;
    function fl_ClickToPosition(event:MouseEvent):void
    if(fl_TF&&fl_TF.parent){  /
    fl_TF.parent.removeChild(fl_TF);
    fl_TF=null
    fl_TF = new TextField();
    fl_TF.autoSize = TextFieldAutoSize.LEFT;
    fl_TF.background = true;
    fl_TF.border = true;
    fl_TF.x = 300;
    fl_TF.y = 100;
    fl_TF.text = dictionary[e.currentTarget];
    addChild(fl_TF);
    ////////// and for each button use something like:
    button10.addEventListener(MouseEvent.CLICK, fl_ClickToPosition);
    dictionary[button10] = "Send disply to the right screen/projector";

  • How can I create a navigation bar in the template so I can change the down state of a button on a page made from the template in DW3?

    We're creating pages from a template in DW3. The template includes a header, footer and a navigation bar. We've made the navigation bar an editable region so that we can change the down state of the buttons on pages where it is required. However, when we make a new page from the template and try to change the behaviors of the buttons in the navigation bar it will not allow us to make those changes. 

    Have you considered using CSS styled text/list menus instead of image rollovers.  It isn't hard really and it's actually a much better choice for   web accessibility and for search engines to find and follow your links.   Here are some links to several CSS menu systems you can try:
    CSS Express Drop-Down Menus (tutorial)
    http://www.projectseven.com/tutorials/navigation/auto_hide/
    CSS Tab Designer creates 60+ CSS Styled Button and Tab Menus  (download)
    http://www.highdots.com/css-tab-designer/
    List-O-Rama  (DW Extension)
    http://www.dmxzone.com/go?5618
    CSS  Menu Maker (On-Line Menu Generator)
    http://www.cssmenumaker.com/
    Pop-Menu  Magic2 by PVII (DW extension purchase)
    http://www.projectseven.com/products/menusystems/pmm2/index.htm
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • While creating master item, can I add a check to copy from template

    Hi,
    While creating master items, can I add a check on copy template on the item to ensure item is created using some template?
    This will ensure many attributes gets proper value. If template is not copied, in later phases user faces problem with few attributes not being set.

    Regarding the final PDF you produce with the Print button; when the user hits the Print button the usual printer dialogue box is launched and s/he can select which pages he wants to print and the number of copies. I think this is what you said this is what your customer wants.
    Note: when you add the Print button, within the Acrobat Forms facility, you then go to Button Properties dialogue box and select  Actions, select the trigger (i.e. On Mouse Down); Add an Execute a menu Item, click on Add and select File > Print from the drop-down list. A bit complicated to explain here, but easier enough if you have a play around with it. Acrobat Forms are a wonderful facility – well worth exploring the many things you can do with them. Especially if you set up your document first in InDesign!
    Derek

  • I opened Adobe Acrobate XI Standard to create a form.  I then selected From Template, which took me to Adobe FormsCentral Online.  However, I think the form is an HTML web form.  All I wanted was a regular PDF form that I could email my co-workers for an

    I opened Adobe Acrobate XI Standard to create a form.  I then selected From Template, which took me to Adobe FormsCentral Online.  However, I think the form is an HTML web form.  All I wanted was a regular PDF form that I could email my co-workers for an internal project we're colletively working on.  Now I see that FormsCentral is going away and I can't get my doc to save as a PDF without an upgrade?  Help

    You should be able to log into the online Formscentral Acrobat XI air app and see your doc there. From there you would need to save it out as a PDF without a submit button to have it continue to work past July. If you don't see your online form(s) please let me know the adobeID you use to log into the service as well as the form name that is missing and I will look into it for you.
    Andrew

  • How do I get a web part to display items from a dropdownlist?

    I have a DropDownList that am filling with items from a list. The part of my code that am using to read the list and populating the drop down works just fine. I am now trying to figure out how to display the contents of the drop down on a web part. I know
    it sounds like a straight forward and easy thing to figure out, but I have blanked out. Does anyone have a snippet I can take a look at? This is how I am currently reading from a list to create the drop down...
    protected override void CreateChildControls()
    string title = string.Empty;
    EditorChoices = new DropDownList();
    string siteUrl = "mySite";
    using (SPSite site = new SPSite(siteUrl))
    SPWeb web = site.RootWeb;
    SPList list = web.Lists["testList"];
    SPQuery testQuery = new SPQuery();
    testQuery.Query = "<Query><Where><Geq><FieldRef Name='Title'/>" +
    "<Value Type='Number'>10</Value></Geq></Where></Query>";
    foreach (SPListItem item in list.GetItems(testQuery))
    title = Convert.ToString(item["Title"]);
    EditorChoices.Items.Add(title);
    Controls.Add(EditorChoices);
    base.CreateChildControls();
    ChildControlsCreated = true;
    I basically want to display the items returned from the query, which are now in the dropdownlist, to be displayed on my custom webpart. I really appreciate the help.
    Thanks
    UPDATE: My dropdownlist is a web part property. So when editing the web part, the drop down control appears in the web part property. Now that part is working just fine. The part am having an issue with is, the second part of my requirement is that I want
    to display that same information within the drop down on the web part. Not as another drop down, but just to display them as a vertical text list on the web part.

    Hello,
    >I want to be able to display all the entteries in the dropdown,
    Could you please provide more information? as per your description fisrt part is done, which was filling data in dropdown list. So what is next?
    If you want to get selected value from dropdown or filter value then you may try this link:
    http://bilbrobloggins.com/sharepoint/dropdown-list-box-filter-web-part-in-sharepoint-ndash-part-three/
    http://tmullenssharepoint.wordpress.com/2013/04/12/sharepoint-custom-web-part-properties-from-sharepoint-list/
    Correct me if i misunderstood
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

Maybe you are looking for