Dependent LOVs in Portal using Javascript for IE

I have read Note:96800.1, but it states that it only works for Netscape. Does anyone have any IE compliant code for dependent javascript LOVs in portal. Is it possible in IE with portal version 3.0.9 and if so do you have any examples?
Thanks in advance

Your help would be greatly appreciated.

Similar Messages

  • Chained LOVs in portal using Javascript

    Has anyone gotten this to work in portal forms. I have an LOV in a form based on a table and when the user selects a value in LOV 1 it should populate the LOV2 item with the corresponding values. Please note that the time it takes to refresh using the traditional chained LOV solution in portal is too inefficient and causes the page to refresh when it shouldn't have to. This should be a fairly simple task considering nearly all web sites have this simple functionality but within portal I have not been successful in implementing this.
    Can anyone offer a solution?
    Thanks

    OK,
    This is the functionality that I am looking for. Can someone tell me whether or not this is possible in portal?
    <html>
    <head><!--
    This file retrieved from the JS-Examples archives
    http://www.js-examples.com
    1000s of free ready to use scripts, tutorials, forums.
    Author: Artem - http://javascript4free.by.ru
    -->
    <script language="JavaScript">
    <!-- Begin
    var africaArray = new Array("('Select country','',true,true)",
    "('Ethiopia')",
    "('Somalia')",
    "('South Africa')",
    "('Other')");
    var middleeastArray = new Array("('Select country','',true,true)",
    "('Egypt')",
    "('Iran')",
    "('Israel')",
    "('Kuwait')",
    "('Lebanon')",
    "('Morocco')",
    "('Saudi Arabia')",
    "('Syria')",
    "('Turkey')",
    "('U. A. Emirates')",
    "('Other')");
    var asiaArray = new Array("('Select country','',true,true)",
    "('Armenia')",
    "('Bangladesh')",
    "('Cambodia')",
    "('China')",
    "('India')",
    "('Indonesia')",
    "('Japan')",
    "('Malaysia')",
    "('Myanmar')",
    "('Nepal')",
    "('Pakistan')",
    "('Philippines')",
    "('Singapore')",
    "('South Korea')",
    "('Sri Lanka')",
    "('Taiwan')",
    "('Thailand')",
    "('Uzbekistan')",
    "('Vietnam')",
    "('Other')");
    var europeArray = new Array("('Select country','',true,true)",
    "('Albania')",
    "('Austria')",
    "('Belarus')",
    "('Belgium')",
    "('Bosnia')",
    "('Bulgaria')",
    "('Croatia')",
    "('Cyprus')",
    "('Czech Rep.')",
    "('Denmark')",
    "('Estonia')",
    "('Finland')",
    "('France')",
    "('Germany')",
    "('Greece')",
    "('Hungary')",
    "('Iceland')",
    "('Ireland')",
    "('Italy')",
    "('Latvia')",
    "('Liechtenstein')",
    "('Lithuania')",
    "('Luxembourg')",
    "('Macedonia')",
    "('Malta')",
    "('Monaco')",
    "('Netherlands')",
    "('Norway')",
    "('Poland')",
    "('Portugal')",
    "('Romania')",
    "('Russia')",
    "('Slovakia')",
    "('Slovenia')",
    "('Spain')",
    "('Sweden')",
    "('Switzerland')",
    "('Ukraine')",
    "('United Kingdom')",
    "('Other')");
    var australiaArray = new Array("('Select country','',true,true)",
    "('Australia')",
    "('New Zealand')",
    "('Other')");
    var lamericaArray = new Array("('Select country','',true,true)",
    "('Costa Rica')",
    "('Cuba')",
    "('El Salvador')",
    "('Guatemala')",
    "('Haiti')",
    "('Jamaica')",
    "('Mexico')",
    "('Panama')",
    "('Other')");
    var namericaArray = new Array("('Select country','',true,true)",
    "('Canada')",
    "('USA')",
    "('Other')");
    var samericaArray = new Array("('Select country','',true,true)",
    "('Argentina')",
    "('Bolivia')",
    "('Brazil')",
    "('Chile')",
    "('Colombia')",
    "('Ecuador')",
    "('Paraguay')",
    "('Peru')",
    "('Suriname')",
    "('Uruguay')",
    "('Venezuela')",
    "('Other')");
    function populateCountry(inForm,selected)
    var selectedArray = eval(selected + "Array");
    while (selectedArray.length < inForm.country.options.length)
    inForm.country.options[(inForm.country.options.length - 1)] = null;
    for (var i=0; i < selectedArray.length; i++)
    eval("inForm.country.options=" + "new Option" + selectedArray[i]);
    if (inForm.region.options[0].value == '')
    inForm.region.options[0]= null;
    if ( navigator.appName == 'Netscape')
    if (parseInt(navigator.appVersion) < 4)
    window.history.go(0);
    else
    if (navigator.platform == 'Win32' || navigator.platform == 'Win16')
              if(!document.getElementById)
    window.history.go(0);
    function populateUSstate(inForm,selected) { 
    var stateArray = new Array("('Select State','',true,true)",
    "('Alabama')",
    "('Alaska')",
    "('Arizona')",
    "('Arkansas')",
    "('California')",
    "('Colorado')",
    "('Connecticut')",
    "('Delaware')",
    "('Columbia')",
    "('Florida')",
    "('Georgia')",
    "('Hawaii')",
    "('Idaho')",
    "('Illinois')",
    "('Indiana')",
    "('Iowa')",
    "('Kansas')",
    "('Kentucky')",
    "('Louisiana')",
    "('Maine')",
    "('Maryland')",
    "('Massachusetts')",
    "('Michigan')",
    "('Minnesota')",
    "('Mississippi')",
    "('Missouri')",
    "('Montana')",
    "('Nebraska')",
    "('Nevada')",
    "('New Hampshire')",
    "('New Jersey')",
    "('New Mexico')",
    "('New York')",
    "('North Carolina')",
    "('North Dakota')",
    "('Ohio')",
    "('Oklahoma')",
    "('Oregon')",
    "('Pennsylvania')",
    "('Rhode Island')",
    "('South Carolina')",
    "('South Dakota')",
    "('Tennessee')",
    "('Texas')",
    "('Utah')",
    "('Vermont')",
    "('Virginia')",
    "('Washington')",
    "('West Virginia')",
    "('Wisconsin')",
    "('Wyoming')");
    if (selected == 'USA') {
    for (var i=0; i < stateArray.length; i++) {
    eval("inForm.country.options[i]=" + "new Option" + stateArray[i]);
    if ( navigator.appName == 'Netscape') {
    if (parseInt(navigator.appVersion) < 4) {
    window.history.go(0)
    else {         
    if (navigator.platform == 'Win32' || navigator.platform == 'Win16') {
    window.history.go(0)
    else {
    if (selected == 'Other') {
    newCountry = "";
    while (newCountry == ""){
    newCountry=prompt ("Please enter the name of your country.", "");
    if (newCountry != null) {
    inForm.country.options[(inForm.country.options.length-1)]=new Option(newCountry,newCountry,true,true);
    inForm.country.options[inForm.country.options.length]=new Option('Other, not listed','Other');
    if(inForm.country.options[0].text == 'Select country') {
    inForm.country.options[0]= null;
    }// End -->
    </script>
    <title>JS</title>
    </head>
    <body>
    <form name="globe">
    <p><select name="region"
    onchange="populateCountry(document.globe,document.globe.region.options[document.globe.region.selectedIndex].value)"
    size="1">
    <option selected value>Select Region</option>
    <option value="asia">Asia</option>
    <option value="africa">Africa</option>
    <option value="australia">Australia</option>
    <option value="europe">Europe</option>
    <option value="middleeast">Middle East</option>
    <option value="lamerica">Latin America</option>
    <option value="namerica">North America</option>
    <option value="samerica">South America</option>
    </select> <select name="country"
    onchange="populateUSstate(document.globe,document.globe.country.options[document.globe.country.selectedIndex].text)"
    size="1">
    <option selected value>&lt;--------------------</option>
    </select> </p>
    </form>
    <p align="center"><br>
    JS-Examples.com </p>
    </body>
    </html>

  • Portal using Webdynpro for ABAP

    Hi Gurus!
        I am using one portal using 'Webdynpro For ABAP'. It contains Contextual Panel as well as ViewUIContainer. Contextual Panel contains all the reqd options available for user; while ViewUIContainer contains diff views as requested.
       Now, I'm trying to make a copy of that Webdynpro with some other name. What happens is --
    Application is not there and when I try to make one - it says
    "Interface View Does Not Exists."
    Further, when I try to make an Interface View with the new name - it says
    "Interface View Does Not Exists."
       Therefore, what I could conclude about the case is -- may be Interface View is default to certain Webdynpro components/interface. Hence, my question is how can I make use of same webdynpro application with some other name. This requirement arises due to the fact that we have to add some more functionalities to that and I dont want to play with the efforts made so far.
    Kumar Saurav.

    Issue Resolved.
    Kumar Saurav.

  • How to validate an text field item using javascript for numbers only.

    hi,
    how to validate an text field item using javascript for numbers only.please help me on this urgent
    please mail me solun if posible on [email protected]

    Hi,
    Page HTML header
    <script>
    function onlyNum(evt) {
      // Usage: onKeyPress="return onlyNum(event)"
      evt = (evt) ? evt : window.event;
      var charCode = (evt.which) ? evt.which : evt.keyCode;
      if (charCode > 31 && (charCode < 48 || charCode > 57)) {
        var status = 'This field accepts numbers only!';
        alert(status);
        return false;
      var status = '';
      return true;
    </script>Item HTML Form Element Attributes
    onKeyPress="return onlyNum(event)"Br,Jari

  • Returning a SharePoint 2013 termset in a tree structure using JavaScript for MultiLingual

    Hi,
    How do we get the path of term,if my term label is in some other locale, lets say for Spanish but using currentTerm.get_pathOfTerm() property it returns default path of my term store, i.e English.
    But i need the path to use my values returned in Spanish ???
    Do we have any idea how to achieve this. ??
    Regards,
    Avinash

    Hi,
    According to your post, my understanding is that you want to get term path using JavaScript for MultiLingual.
    Per my knowledge,
    SP.Taxonomy.Term.pathOfTerm property (sp.taxonomy) gets the path for this
    Term in the
    TermStore default language.
    To get path for MultiLingual, I recommend that you can use
    Term.GetPath method (Int32) which
    gets the path for the current
    Term in the specified lcid.
    If the lcid is not a valid TermStore language, then the default language is used.
    Thanks,
    Linda Li                
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Linda Li
    TechNet Community Support

  • How to use  Javascript for anchors as I cant get it to work at all?

    I am currently trying to build my own web site using iweb 08. I am a total newby so this question is for anyone who knows about javascript, particularly Cyclosaurus. I have tried in vain to use Cyclosaurus's javascript for anchors in my FAQ's page via html snippet. I must be doing something wrong, so can you help?
    1). I copied and pasted the javascript anchors code into a html snippet
    2). I changed the, anchors.push(3146) to no's 1, 2 and so on for each question
    3). I then changed 'change this to your page' to faq's
    4). I don't understand anything else from this point so please can you help to rectify my total incompetence and explain it in detail.
    This is what i have tried to do.... anchors.push(1);//faq's. followed by my question? y position
    Is this correct or have I gone totally wrong
    Please help
    Many Thanks

    I have finally published my site and yes Cyclosaurus anchors javascript worked great. It won't work when you are working on your site pages, not until you publish your site.
    Follow Cyclosaurus instructions above, it was after where I got stuck. So this is for the many people who need very clear instructions from start to finish. Otherwise you can spend countless hours scrolling through these forums. Here is what you have to do next:
    Each question must be numbered. So your first question would be numbered "1" and so on. Highlight your question at the top of your page. Open inspector and go into hyperlink
    Tick enable hyperlink box and select link to an external page. Delete everything but http:// and type in #1
    Repeat this for each question - next question would be #2 and so on
    Remember to hyper link all your "back to top" or "Top" as #0
    That's it, your good to go to go
    Thanks again to everyone

  • Tabbing with in textbox using javascript for html

    Assume a default date (mm/dd/yyyy)with in a textbox. On getting the focus to the textbox the focus should be on mm(should be highlighted), when it is replaced by a month, it should automatically focus on the date dd, when dd is replace it should get to yyyy. How to achieve this using javascript.

    Javascript != Javago ask on a Javascript forum.

  • Dependent LOVs & Programmatic determination of VO for LOV

    Hi All,
    using ADFBC JDev 10.1.3.2
    I have a selectOneChoice in which the user picks one of three values.
    Division | Cost Center | Badge
    Based on this choice the second selectOneChoice list is populated. The second list needs to come from one of three VOs, based on what is selected in the first. The second list will take other bind parameters I need to set at run-time. It will list out an attribute from one of two tables again depending on what is selected in the first list field.
    For intance, if a user picks Cost Center the second list will show all Cost Center Codes to which the user has access. However, if user picks Badge and he has access to a Cost Center, then all the Badges within his Cost Center should be in the second list. It goes a level deeper with Division (all Cost Centers within a Division). I have the VOs set up that show the right results when I test them with the AM Tester.
    What is the best way to handle this? I cannot use autoSubmit on the first selectOneChoice as the second is a required value. So, is valueChangeListener still a viable option?
    Thanks!
    Ginni

    Hi,
    the valueChangeListener does not work if not using autosubmit on the first LOV. So you have to fins a way that allows you to use autosubmit. Regarding the conditional VO selection, I think a switcher component could be what you want to work with. A switcher can conditionally show and hide components
    Frank

  • Use of the 'Back' link in Catalog/Portal - Useful info for Catalog Admins

    Some info for anyone out there who may have noticed the small 'issue' with catalog items being duplicated when exiting a catalog using the Portal 'Back' link rather than the 'Return to Application/SRM' link.
    A problem has been identified there where portal navigation causes duplication of catalog data even where no item is selected in the catalog.
    The process might be:
    1. User accesses a catalog (any, SAP or External) and selects/adds to cart an item.
    2. User selects the 'Add Item' button in the 2nd step of the SC GAF, returning to the same catalog.
    3. User clicks on the Portal 'Back' link and is returned to the 2nd step of the Shopping Cart Guided Application Framework
    4. The initial shopped item is duplicated in the shopping cart even though no items were selected by the user.
    To ensure that this does not happen SAP have created note [1445078|https://service.sap.com/sap/support/notes/1445078] which provides the means to remove the 'Back' link thus negating the possibility of this issue occuring in the case of any catalog access.
    Please follow the steps provided in the note to modify the Portal Content and remove the back link entirely.

    Dear monique,
    The catalog no longer opens in a new window from SRM 7.0 as we now use Portal as UI or NWBC, in order to maintain session reliability the catalog frame is launched from within the Shopping Cart Guided Application Framework, this SC 'session' is then placed in ACTION SUSPEND, until the return from catalog is generated where the session is triggered to reopen with a RESUME command.
    If you wish to remove the portal navigation 'back' link, I believe you already have a note for doing so, if this has not worked, re-trace all the steps in case something was missed. It should work. By adding the bypassinb/outb_handler parameters into the call structure you should then have available the Return to SRM link instead in the catalog.
    You are also correct, use of teh integrated call structure in SPRO is no longer recommended, it is relevant for older UI technology like ITS.
    Regards,
    Jason

  • Handling 3d objects using JavaScript for Acrobat 3D Annotations API

    I am trying to learn how to handle 3d objects with this manual: http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/js_3d_api_reference.pdf
    When I execute some code, for example,
    myTimeHandler= new TimeEventHandler();
    myTimeHandler.onEvent= function( event )
    console.print( "Current simulation time is:" + event.time );
    console.print( " second(s)" );
    runtime.addEventHandler( myTimeHandler );
    I get an error like this:
    TimeEventHandler is not defined
    Why?
    P.S. I have 3d object in the document, and can get it with function getAnnots3D.

    You have to run the code in the context of the 3D annotation (by attaching the script to the annotation's properties panel, or by right-clicking the active 3D scene and choosing "run a javascript". You cannot run it in the console.

  • Barcode Scanner app using Javascript for windows 8 tablet

    I want to create a barcode scanner app in which i want to start the camera preview, and read the barcode. Is there any sample code? I have used the below code but its working only with windows desktop not working with tablet.
    function openScanner() {
        var
            // barcode main objects
            zxing,
            sampler,
            element,
            // application  references
            isZxingInit = false,
            isDomReady = false,
            isVisible = false,
            isCancelled = false,
            raiseSuccess,
            raiseError;
        // init objects
        initZXing();
        initSampler().done(function () {
            console.log('- MediaCapture has been initialized successfully!');
            // preparing to show camera preview
            createCameraElement();
            showPanel();
            setTimeout(render, 100);
        }, raiseError);
        // initialize ZXing
        function initZXing() {
            if (!isZxingInit) {
                isZxingInit = true;
                zxing = new ZXing.BarcodeReader();
                console.log('zxing==' + zxing);
            } else {
                console.log('- ZXing instance has been recovered!');
        // initialize MediaCapture
        function initSampler() {
            console.log('- Initializing MediaCapture...');
            sampler = new Windows.Media.Capture.MediaCapture();
            return sampler.initializeAsync();
        // initializes dom element
        function createCameraElement() {
            console.log('- Creating DOM element...');
            if (!isDomReady) {
                isDomReady = true;
                element = document.createElement('video');
             //   element.style.display = 'none';
                element.style.position = 'absolute';
                element.style.left = '0px';
                element.style.top = '0px';
              //  element.style.zIndex = 2e9;
                element.style.width = '100%';
                element.style.height = '100%';
                element.onclick = cancel;
                document.body.appendChild(element);
                console.log('- Camera element has been created!');
            } else {
                console.log('- DOM is ready!');
        function showPanel() {
            if (!isVisible) {
                isCancelled = false;
                isVisible = true;
                element.style.display = 'block';
                element.src = URL.createObjectURL(sampler);
                element.play();
        // renders image
        function render() {
            console.log('- Sampling...');
            var frame, canvas = document.createElement('canvas');
            canvas.width = element.videoWidth;
            canvas.height = element.videoHeight;
            canvas.getContext('2d').drawImage(element, 0, 0, canvas.width, canvas.height);
            frame = canvas.msToBlob().msDetachStream();
            loadStream(frame);
        // loads data stream
        function loadStream(buffer) {
            console.log('- Loading stream...');
            Windows.Graphics.Imaging.BitmapDecoder.createAsync(buffer).done(function (decoder) {
                console.log('- Stream has been loaded!');
                if (decoder) {
                    console.log('- Decoding data...');
                    decoder.getPixelDataAsync().then(
                        function onSuccess(pixelDataProvider) {
                            console.log('- Detaching pixel data...');
                            decodeBitmapStream(decoder, pixelDataProvider.detachPixelData());
                        }, raiseError);
                } else {
                    raiseError(new Error('Unable to load camera image'));
            }, raiseError);
        // decode pixel data
        function decodeBitmapStream(decoder, rawPixels) {
            console.log('- Decoding bitmap stream...');
            var pixels, format, pixelBuffer_U8;
            switch (decoder.bitmapPixelFormat) {
                // RGBA 16
                case Windows.Graphics.Imaging.BitmapPixelFormat.rgba16:
                    console.log('- RGBA16 detected...');
                    // allocate a typed array with the raw pixel data
                    pixelBuffer_U8 = new Uint8Array(rawPixels);
                    // Uint16Array provides a typed view into the raw bit pixel data
                    pixels = new Uint16Array(pixelBuffer_U8.buffer);
                    // defining image format
                    format = (decoder.bitmapAlphaMode === Windows.Graphics.Imaging.BitmapAlphaMode.straight ? ZXing.BitmapFormat.rgba32 : ZXing.BitmapFormat.rgb32);
                    break;
                    // RGBA 8
                case Windows.Graphics.Imaging.BitmapPixelFormat.rgba8:
                    console.log('- RGBA8 detected...');
                    // for 8 bit pixel, formats, just use returned pixel array.
                    pixels = rawPixels;
                    // defining image format
                    format = (decoder.bitmapAlphaMode === Windows.Graphics.Imaging.BitmapAlphaMode.straight ? ZXing.BitmapFormat.rgba32 : ZXing.BitmapFormat.rgb32);
                    break;
                    // BGRA 8
                case Windows.Graphics.Imaging.BitmapPixelFormat.bgra8:
                    console.log('- BGRA8 detected...');
                    // basically, this is still 8 bits...
                    pixels = rawPixels;
                    // defining image format
                    format = (decoder.bitmapAlphaMode === Windows.Graphics.Imaging.BitmapAlphaMode.straight ? ZXing.BitmapFormat.bgra32 : ZXing.BitmapFormat.bgr32);
            // checking barcode
            readCode(decoder, pixels, format);
        // decoding barcode
        function readCode(decoder, pixels, format) {
            'use strict';
            console.log('- Decoding with ZXing...');
            var result = zxing.decode(pixels, decoder.pixelWidth, decoder.pixelHeight, format);
            if (result) {
                console.log('- DECODED: ', result);
                close(result);
            } else if (isCancelled) {
                console.log('- CANCELLED!');
                close({ cancelled: true });
            } else {
                render();
        // cancel rendering
        function cancel() {
            isCancelled = true;
        // close panel
        function close(result) {
            element.style.display = 'none';
            element.pause();
            element.src = '';
            isVisible = false;
            element.parentNode.removeChild(element);
            isDomReady = false;
            raiseSuccess(result);
        function raiseSuccess(result) {
            console.log('Result===' + JSON.stringify(result));
        function raiseError(error) {
            console.log('ERROR::::' + error);
    Can anyone tell why its not working on tablet with solution? Thanks in advance

    Hi Asha - we have sample code for barcode scanning here:
    https://code.msdn.microsoft.com/windowsapps/Barcode-scanner-sample-f39aa411
    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.
    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
    objects and unknown namespaces.

  • Use Javascript for Browser Detection

    Does anyone know how I can detect which browser my viewers are using load pages that are built specifically for that browser.
    Example:  I am having a lot of issues with IE6+ and think it would be easier to just specify that if the viewer is using one of these browsers that it loads a page constructed specifically IE and if not it loads another version of the page.
    Hope this is clear with what I am wanting to do.
    Thanks

    You can target any version of IE down to IE5 (I believe) with the correct IF statement.
    http://msdn.microsoft.com/en-us/library/ms537512(VS.85).aspx
    However, in today's browser market, I wouldn't worry about anything lower than IE7 (unless you have specific reasons to target IE6 which is rapidly on its way to browser heaven).

  • Support for dynamic forms using javascript for android tablet

    I have some complex multipage pdf forms with javascript functions and calculations made in Acrobat X Standard, I can open and use parts of the form in ezyPDF android app, however the javascript is not fully supported, does anyone know of any plug ins or work arounds to view my forms on an android tablet, my forma have to be stand alone as internet access is not always available.
    Regards Mike

    Get to know CF's structure / array notation. This comes in
    very handy when dealing with queries and form fields.
    - Form.myFieldName can also be referenced by
    Form["myFieldName"]
    - MyQuery.myField can also be referenced by
    MyQuery["myField"][rowNumber]
    Anything in the above example surrounded by quotation makes
    can be made dynamic by just adding in a cf variable surrounded by
    pound signs:
    get_dealer_completion["level_#level_id#"][1]

  • How to use javascript for jsf containg t:htmlTags instead of panel grids

    Hi,
    i tried out validation in the following manner:
    function valid(form){
    alert(" 1:Entered valid function ");
    var varCritical1=document.form["form:critical1"].checked;
    var varHigh1=document.form["form:high1"].checked;
    if (varHigh1&&varCritical1){
    alert("Select only one option");
    document.form["form:critical1"].focus();
    document.form["form:high1"].focus();
    return false;
    return true;
    ====== the jsf code for the above is:
    <t:htmlTag value="td" style="border: 1px solid;">
    <h:commandButton id="commit" value="Commit all Changes" action="commit" styleClass="submit-button"
                                  onClick="return valid(this.form)" />
    </t:htmlTag>
    ======
    could anyone suggest me how to do this validation..
    faster reply is appreciated
    -Thanks,
    Soumya Desu

    When writing JS and you're new to JSF (so new that you don't know out of head which HTML a JSF component generate), you need to base the JS code on the generated HTML output, not on the JSF source code.
    For problems and/or support with writing JS code, please consult a JS forum. There are ones at webdeveloper.com and dynamicdrive.com. Please keep in mind that JSF source code is completely irrelevant for the JS forum users (and actually also for you), concentrate on and share the generated HTML output.

  • Custom print button using javascript for landscape document

    I am working on a document that has 50+ pages and am wanting to have a print button on most of them to print the exact page. The document is landscape and I need the "Auto-Rotate and Center" toggle to be checked on, but I don't know how to code that. This is what I have so far:
    this.print({
    bUI: true,
    bSilent: false,
    bShrinkToFit: false,
    nStart: 2,
    nEnd: 2
    Does anyone know how to get the "Auto-Rotate and Center" checked on and where to add it to the code?
    Thanks so much for any help.

    Hi Jaydeep,
    I had already debugged and removed
    'Include(Users)'. 
    if i remove 'Include(Users)'. i'm not getting user enumerator. It will be empty.
    Since there are no users loaded in the object, the entire function not working.
    Thanks,
    Bharath P N
    P N Bharath

Maybe you are looking for

  • /etc/oratab (a file or directory in the path name does not exists)

    Hello All, I ma trying to create a database oracle 11g R2 on AIX 6.1. But i am facing the below error at the beginning of the installation: /etc/oratab (a file or directory in the path name does not exists) Your help pls..

  • How to send a digital signature across sockets ?

    i have wriiten java code for client server communication - the client sends a digital signature and the server verifies it using the public key .I have sent the signature as a string from the client to server.although the verification comes as true m

  • Connect By Prior Help

    Hi all, In Connect By Prior, How can i avoid, if some parent dont have child means, it should not come in the results....... Regards, Fame

  • Extended xml handling in asynchronous inbound (server) proxy

    Hello, I want to activate extended xml handling on an asynchronous inbound server proxy. looking at online help: http://help.sap.com/saphelp_nwpi71/helpdata/en/73/3f5c3c3906b006e10000000a11402f/frameset.htm this should be the code:   lo_server_contex

  • Unable to download

    Why am  unable to download, in order to print from any site online. I have removed and re -downloaded Adobe Reader several times and it still does not work.  When I try to download to print from any site all I get is ablue page showing that something