Branch to different page based on the selection of select list

Hi All,
I have to create an application in which i have a form containing a field with static lov's ...
now i want that whenever i click on a save button it branches to some page based on the selected value of lov of that field...
like if i select marketing from lov and press save button then it will branch me to marketing page...
so how can i achieve that in my apex application
please help if anyone knows the answer

in the page branch, change the page to *&PX_LOV_NAME.*
change X to page number and the LOV_NAME to the name of your select list
Don't forget to add the . on the end
Hope this helps

Similar Messages

  • Redirect user to a different Page based on number of  Liquid output result

    I want to redirect the user to a different page based on the number of results. I have some multi-account users and single account user in my secure zone. I want single account users to be sent to a different page, while multiple account user should be shown their accounts and they user can now click the account he/she wants to access. This is my code:
    {module_data resource="customers" fields="company, email1"  where="\{'company':\{'$contains':'{{this.globals.user.email}}'\}\}" skip="0" limit="500"  version="v3" collection="companyXtra" template=""}
    {module_webapps id="21927" filter="all" collection="companyAccess" template=""}
    {% for item in companyAccess.items -%}
    {% assign counter = {{forloop.length}} -%}
    {% if globals.user.email = item.email and counter = 1 -%}
    <script>
    window.location.replace("/single-account-user.html");
    </script>
    <a class="w-inline-block szone-navlinks multiplecoy" href="{{item.url}}">
        <div class="szone-holder">
          <div class="szone-narrate addenrolee">{{item.name}}</div>
        </div>
      </a>
    {% else %}
    <p><a href="{{item.url}}">{{item.name}}</a></p>
    {% endif %}
    {% endfor %}
    </div>
    Please what I'm doing wrongly. Can someone kindly assist. Thanks.

    Hi Liam I have since been reviewing my query using the BC API Discovery which has been a good guide for me. But the result is just displaying the core customer's company, though the other company has a default email/email1 as the core customer.
    This is my new query:
    {module_data resource="customers" version="v3" fields="company" skip="0" limit="10" where="\{'email1.value':\{'$contains':'{{globals.user.email}}'\}\}" order="id" collection="myData"}
    <pre>{{myData|json}}</pre>
    This is the json:
      "moduleName": "data",
      "moduleDescriptor": {
      "templatePath": null,
      "parameters": "resource=\"customers\",version=\"v3\",fields=\"company\",skip=\"0\",limit=\"10\",where=\ "\\{'email1.value':\\{'$contains':'[email protected]'\\}\\}\",order=\"id\",collection=\"myData\"",
      "apiEndpoint": "/api/v3/data",
      "objectType": "-1",
      "objectId": "-1",
      "adminUrl": ""
      "items": [
      "company": "The vivove company Limited"
      "totalItemsCount": 1,
      "skip": 0,
      "limit": 10,
      "params": {
      "resource": "customers",
      "version": "v3",
      "fields": "company",
      "skip": "0",
      "limit": "10",
      "where": "\{'email1.value':\{'$contains':'[email protected]'\}\}",
      "order": "id",
      "collection": "myData"
    I expected to see two companies. This is screenshot of my the companies in the CRM:
    Screenshot by Lightshot
    Screenshot by Lightshot
    Thanks. most appreciated.

  • Webdynpro Appl screens in different languages based on the browsers languag

    Hello Everybody,
    In Java Webdynpro, how to get the screen elements in different languages, based on the browser language selected.  It means.. for instance, we have the requirement to show the application in two languages, based on the language setting(language selected in the browser) of the users browsers.
    We have to read the  browser language selected and based on that value, we have to get the screens to come in that language. 
    Is that only through the Internationalisation process or is there any other way to do this.
    Please help us by posting your concerns....
    Thanks & Regards,
    Ravi
    Edited by: ravi shankar on Apr 28, 2009 6:36 AM

    Hi Ravi,
    Probably the following topics on SAP help could provide the solution you need:
    http://help.sap.com/saphelp_nw04s/helpdata/en/2d/e7381138a8d2458f1f4fac32614f71/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/EN/db/f2674039c6c549e10000000a1550b0/frameset.htm

  • Redirect to different pages based on user input value

    Hello,
    Anyone please help.
    I am trying to redirect to different pages based on user inputs. I have a form in which I have one text item and a submit button. For example consider text item to be empno; So once the user enters a empno and hits submit button; I need to redirect to different pages based on this job.
    For Ex: if user inputs empno whose job is 'ANALYST' then redirect to page 1
    if user inputs empno whose job is 'MANAGER' then redirect to page 10
    For this scenario. i wrote a pl/sql process for the submit button; but no luck -- its not at all redirecting instead its in the same page. Below is the process.
    declare
    v_job varchar2(20);
    begin
    select job into v_job from emp where empno = :P9_EMPNO_R;
    if v_job = 'ANALYST' then
    OWA_UTIL.REDIRECT_URL('f?p=&APP_ID.:1:&SESSION.::&DEBUG.::', TRUE);
    end if;
    if v_job = 'MANAGER' then
    OWA_UTIL.REDIRECT_URL('f?p=&APP_ID.:10:&SESSION.::&DEBUG.::', TRUE);
    end if;
    end;Please help. I am using Oracle APEX version 4.2 and database Oracle 11g R2
    Thanks,
    Orton

    orton607 wrote:
    Hello,
    Anyone please help.
    I am trying to redirect to different pages based on user inputs. I have a form in which I have one text item and a submit button. For example consider text item to be empno; So once the user enters a empno and hits submit button; I need to redirect to different pages based on this job.
    For Ex: if user inputs empno whose job is 'ANALYST' then redirect to page 1
    if user inputs empno whose job is 'MANAGER' then redirect to page 10
    For this scenario. i wrote a pl/sql process for the submit button; but no luck -- its not at all redirecting instead its in the same page. Below is the process.
    declare
    v_job varchar2(20);
    begin
    select job into v_job from emp where empno = :P9_EMPNO_R;
    if v_job = 'ANALYST' then
    OWA_UTIL.REDIRECT_URL('f?p=&APP_ID.:1:&SESSION.::&DEBUG.::', TRUE);
    end if;
    if v_job = 'MANAGER' then
    OWA_UTIL.REDIRECT_URL('f?p=&APP_ID.:10:&SESSION.::&DEBUG.::', TRUE);
    end if;
    end;Please help. I am using Oracle APEX version 4.2 and database Oracle 11g R2
    Thanks,
    OrtonI have a similar scenario in my application and this is how I handle it.
    1. Create a page item on the page, say Px_PAGE_NUM
    2. Create a "On Submit - After Computations and Validations" page process to set the above page item. In your case, you can use the same logic that you have already in place (except the call to OWA_UTIL.REDIRECT_URL) :
    declare
    v_job varchar2(20);
    begin
    select job into v_job from emp where empno = :P9_EMPNO_R;
    if v_job = 'ANALYST' then
       :Px_PAGE_NUM := '1';
    end if;
    if v_job = 'MANAGER' then
       :Px_PAGE_NUM := '10';
    end if;
    end;3. Create a "On Submit: After processing" branch. Specify the "Target Type" as "Page in the application" and "Page Number" as &Px_PAGE_NUM. (with the dot).
    I hope the above helps.
    BTW, the following thread in the forum related to OWA_UTIL.REDIRECT_URL might help:
    issue OWA_UTIL.REDIRECT_URL with APEX 4.1.1

  • Redirecting to different pages based on value from table linked from report

    Hi,
    I wanted to navigate to different pages from a report link based on a value from the table on which the report is built. I was able to link to particular page without any problem.
    But, I wanted to link to different pages based on value in the table. Please let me know how can I do this?
    Thanks,

    kaminey wrote:
    Hi,
    I wanted to navigate to different pages from a report link based on a value from the table on which the report is built. I was able to link to particular page without any problem.
    But, I wanted to link to different pages based on value in the table. Please let me know how can I do this?APEX version?
    Is this a standard or interactive report?
    How does the value from the table determine the target page used in the link? Is it a page number? Or the result of some computation or process?
    When you have a problem you'll get a faster, more effective response by including as much relevant information as possible upfront. This should include:
    <li>Full APEX version
    <li>Full DB/version/edition/host OS
    <li>Web server architecture (EPG, OHS or APEX listener/host OS)
    <li>Browser(s) and version(s) used
    <li>Theme
    <li>Template(s)
    <li>Region/item type(s) (making particular distinction as to whether a "report" is a standard report, an interactive report, or in fact an "updateable report" (i.e. a tabular form)
    With APEX we're also fortunate to have a great resource in apex.oracle.com where we can reproduce and share problems. Reproducing things there is the best way to troubleshoot most issues, especially those relating to layout and visual formatting. If you expect a detailed answer then it's appropriate for you to take on a significant part of the effort by getting as far as possible with an example of the problem on apex.oracle.com before asking for assistance with specific issues, which we can then see at first hand.

  • How to i get rid of the redirect notice it shows up on my safari whenever i try to go to a different page  it says "the previous page is sending you to: LINK if you do not want to visit this page, you can return to the previous page"

    How to i get rid of the redirect notice it shows up on my safari whenever i try to go to a different page
    it says "the previous page is sending you to: LINK
    if you do not want to visit this page, you can return to the previous page"

    Yeah, this seems to be something to do with Google, not your iPhone. A search on that error found this page:
    http://www.google.com/support/forum/p/Web%20Search/thread?tid=56a3c4b71b3dc1d9&h l=en
    which shows people using lots of browsers on different platforms suffering from it. No definitive solutions though.

  • Output list based on the input at selection screen by checkbox

    i have three fields  in the selection screen .each  one has  a checkbox and by default every checkbox is unchecked .based on the user's selection the output list will display the results.if he had selected two fields  the list will show him values pertaining to those fields.
    plz  revert back with the solution.
    <b><REMOVED BY MODERATOR></b>
    Message was edited by:
            Alvaro Tejada Galindo

    Check the below program :
    REPORT ZSAI1.
    parameters: p_check as checkbox default 'X',
                 p_check1 as checkbox default 'X',
    p_check2 as checkbox default 'X'.
    start-of-selection.
    if p_check = 'X'.
    write:/ 'First check box selected'.
    endif.
    if p_check1 = 'X'.
    write:/ 'Second check box selected'.
    endif.
    if p_check2 = 'X'.
    write:/ 'Third check box selected'.
    endif.
    Thanks
    Seshu

  • Validate the input file against a given schema inside an orchestration and producing 2 different files based on the validation result

    HI All,
    I have a situation.
    I need to validate the input file against a given schema inside an orchestration and producing 2 different files based on the validation result.
    A predefined success schema in case of  validation success and negative schema structure for validation failure.
    any advice ?

    Hi Rachit,I following the blog
    http://dietergobeyn.be/validating-biztalk-messages-orchestration/ and stuck in few things
    I created a helper class with the name Validation and following code
    [Serializable]
        public class Validation
            private bool _isValid = true;
            public bool Validate(XmlDocument document, Type schema)
                XmlSchemaSet set = new XmlSchemaSet();
                if (typeof(SchemaBase).IsAssignableFrom(schema) && !schema.IsNested)
                    set.Add((Activator.CreateInstance(schema) as SchemaBase).Schema);
                ValidationEventHandler eventHandler = new ValidationEventHandler(HandleValidationError);
                document.Schemas = set;
                document.Validate(eventHandler);
                return _isValid;
            private void HandleValidationError(object sender, ValidationEventArgs ve)
                _isValid = false;
    public static bool ValidateMessage(XLANGMessage msg)
    XmlDocument xDoc = new XmlDocument();
    xDoc = (System.Xml.XmlDocument)msg[0].RetrieveAs(xDoc.GetType());
    Type t = typeof(Schemas.External.Invoice_v3_1);
    Validation validation = new Validation();
    return validation.Validate(xDoc, t);
    First thing, Do i need to write the ValidateMessage method inside the helper class or not ??
    If inside, how to add the reference of schema files in the statement (Type t = typeof(Schemas.External.Invoice_v3_1);)
     I tried adding the reference of my schema project but it is showing error.
    And what is to be written in the ValidateMessage expression shape in Orchestration ?
    Really appreciate your help.

  • How to branch 2 different pages on submit based on the item value.

    Hello Everybody,
    I am trying to branch from one page to 2 diiferent pages based on values on item value which I set in page 1 on submit.
    Create page processing (after submit) in page 35 wrote following plsql :
    begin
    CASE :p35_exempt_rad
    when 'ex' THEN
    :P38_TEST_MSG := 'yes';
    when 'nex' THEN
    :P38_TEST_MSG := 'no';
    else
    raise case_not_found;
    end case;
    end;
    Then created 2 conditional branch under page 35 as follow:
    Branch 1:
    target type: Page in this application
    page: 38
    condition type: Value of item in expression 1 = expression 2
    Expression 1 = :P38_TEST_MSG
    Expression 2 = 'yes'
    When Button Pressed = p35_submit
    Branch 2:
    target type: Page in this application
    page: 33
    condition type: Value of item in expression 1 = expression 2
    Expression 1 = :P38_TEST_MSG
    Expression 2 = 'no'
    When Button Pressed = p35_submit
    But on pressing submit, getting error msg: ERR-1777: Page 35 provided no page to branch to.
    Your help/ suggestion would be highly appreciated.
    Raj.

    I believe Expression 2 should not contain quotes. It should be:
    Then created 2 conditional branch under page 35 as follow:
    Branch 1:
    target type: Page in this application
    page: 38
    condition type: Value of item in expression 1 = expression 2
    Expression 1 = :P38_TEST_MSG
    Expression 2 = yes
    When Button Pressed = p35_submit
    Branch 2:
    target type: Page in this application
    page: 33
    condition type: Value of item in expression 1 = expression 2
    Expression 1 = :P38_TEST_MSG
    Expression 2 = no
    When Button Pressed = p35_submitRobert
    http://apexjscss.blogspot.com

  • Print Adobe form pages on different printers based on the condition

    Hi All,
    I am new in Adobe forms. We have requirement to print first 5 line items in adobe form (which are printing on first page) on one printer and remaining pages on another printer.
    What solution I was thinking was, in print program call the adobe form twice with flag as a importing parameter. For the first call the flag value will be set and for second run a blank value will be passed in flag.
    If flag is set then call make the first page "visible" and if flag is cleared then "hide" the first page and make the remaining pages "visible".
    But as its an item data which is designed on "Design" view I am not able to write a script to hide the page. Any suggestion you can give to resolve this issue.
    Thanks,
    Mihika.

    If it is OK to have the default printer defined/maintained in the user master (like tcode Su01 or System > User profile > Own data, Then the standard logic may suit your needs. I think you will need to undo some config for the whs. Te standard logic works as detailed below. the system needs to get to #4 below, then the SAP userid printer will be selected.
    the system proceeds with automatic printer determination as described below Config Tcode is OMLV.
    1) First the system checks whether a printer is set in the configuration "Printer-Movement". If so, the printer determination is complete at  this point.                                                         
    2) If not, the system uses the parameter "PriSrcTyp" defined in the configuration "Printer-Movement" to decide how it will proceed.  If the parameter is set here, the system checks if a printer is defined in the setting "Printer Picking Area" and then proposes this printer.                                                            
    3) If the system finds no printer, it searches in the setting "Printer - Storage Type" and uses this, if a printer is set.                   
    4) If the system cannot find a printer using the methods described above it selects the printer defined in the user master of the user currently logged on.                                                
    5) If no printer is defined here, the system automatically proposes LP01
    This writes the data to the spool file.

  • Two LOVs in same UIX page based on the same table

    Hi group,
    Recently I ran into a problem with a UIX page that has two LOVs based on the same database table. In Emp and Job terminology, here's what I tried to do.
    Suppose we have use the Employees and Jobs tables from the HR scheme with one small modification. Add a column called PREFERRED_JOB_ID of type VARCHAR2(10) which is exactly the same as JOB_ID. Hypothetically speaking, this column will be used to allow Employees to select their preferred job in case they want to change their jobs.
    Next, create business components in JDeveloper based on the Employees and Jobs table. In order to be able to generate the LOVs for Job and PreferredJob create two ViewObjects, one called JobsLookupView and one called PreferredJobsLookupView. These both need to be based upon the same Jobs EntityObject. Also include the Jobs EntityObject twice in the EmployeesView ViewObject and give one the alias PreferredJobs. Include the JobTitle attributes of Jobs and PreferredJobs in EmployeesView so they can contain the JobTitles selected in our future LOVs.
    Next create a ViewController project if it's not already there and enable JHeadstart on it. Create an Application Structure File and create the lookups for the two LOVs. When I run the application I see this happening:
    When I click the flashlight icon next to the PreferredJob LOV and select a job, the PreferredJob field is selected in the UIX page but no job title appears. When I next first select the Job LOV and select a new job and then select the PreferredJob LOV again and select a different job, the job that was selected in the Job LOV is now also entered in the PreferredJob field. When I make sure the PreferredJob field isn't required (remove the required="yes" property on the messageLovInput entry for PreferredJobTitle and remove the PreferredJobTitle field from the addRequiredRowItems list in the UIX page) I can save the changes I made in the Employees.uix page. The same JobId is stored in the database for Job and PreferredJob.
    This behaviour is probably due to cacheing issues because both LOVs and the EmployeesView ViewObject use one EntityObject for four values in three ViewObjects.
    So I then modified my model a bit. I created a new EntityObject called PreferredJobs based on the JOBS table. I modified the EmployeesView ViewObject to use this EntityObject for the PreferredJobTitle attribute and modified the PreferredJobsLookupView to use this EntityObject.
    I needed to modify a few things as well in the Application Structure File (which were prompts and whether or not the attribute should be visible in a table) and after regenerating I made sure the PreferredJob attribute isn't required in the UIX page. When I then run the application again, I never see the JobTitle I select in any LOV allthough the PreferredJob field is selected when I select a Job in the PreferredJob LOV. The correct JobId now is stored in the database though.
    Has anyone ever encoutered this behaviour? Would anyone know how to get two LOVs based on the same table in one UIX page?
    Thanks in advance,
    Wouter van Reeven
    AMIS

    OK I figured it out. When I added the second Lookup ViewObject (PreferredJobs) no additional Association was created. Therefore, ADF BC wasn't able to figure out which field to update. When I added the Association between the PreferredJobs Lookup ViewObject and the Employees ViewObject everything started working ok.
    I then recreated my inital situation: one EntityObject for Jobs and one for Employees, now with two Associations between them. After modifying the Employees ViewObject and making sure the Jobs EntityObject was referred twice and via the corresponding Association, everything started working ok.
    Greets, Wouter
    AMIS

  • Run Report from PL/SQL with branch to different page

    I have an application in which, at various points, I run a PL/SQL procedure to perform an action, and then need to run a report while also navigating away from the current page. The actions are executed on a button click.
    I have tried various method, but for the life of me cannot get the system to do both things (ie. run the report and branch to another page). I have tried putting in a branch to page 0 (to execute after processing on the button click), with a request line to print the report, followed by a branch to the other page (also to execute after processing on the button click) - and only the branch to page 0 actually executes. Also tried putting a branch to the other page only, with the print request in the Request parameter - but only runs the report, does not branch to the other page.
    I have also tried to put the call to run the report into the PL/SQL code, using utl_http.start_request(url), but that came up with a "Bad Request" error. Also tried using the owa_util.redirect_url call, but also no luck.
    I am pulling my hair out at the moment, mainly because I am under pressure to deliver the system in very short time.
    Any suggestions would be appreciated.

    You can run Report queries from their URL ( f?p=&APP_ID.:0:&SESSION.:PRINT_REPORT=<REPORT NAME>)
    So an approach would be to
    On Button click, call a JS function that
    <li>1. uses Ondemand/Callback process to do the workflow processing(check box selection records)
    <li>2. opens the Report as a popup window(from your IR page)
    <li>3. Redirect away from the IR page to another page?
    Another approach:
    <li>1. IR report submits the page
    <li>2. In the PLSQL block you do the processing
    <li>3. The branch redirects to a URL which would point to the Report URL.
    OR
    <li>3. Have an onload JS which runs only when the request was the BUTTON request and that opens up a page which points to the report.
    Yet another way would be to use htp.p within the PLSQL block that does the workflow processing
    So your PLSQL code would be
    BEGIN
      --Do the workflow processing here
      --End workflow processing
      htp.p('<script>');
      htp.p(' window.open("f?p=&APP_ID.:0:&SESSION.:PRINT_REPORT=<REPORT NAME>"'); --opens up the PDF report
      htp.p(' window.location.href= "f?p=&APP_ID.:<page number>:&SESSION."');  --to redirect to new page
      htp.p('</script>');
    END;

  • It´s possible to make different page sizes in the same document?

    hi there familiy,
    I´m just learning InDesign (wich it´s fantastic) on line, and i ´d like to know how is possible to change 1 or few pages inside one document o make a flap (for example)? . But I want them to continue facing, to control de design. I know i could do it in different documents, and then mounted in pdf o whatever, but i supossed it´s possible...
    Any help?, thanks in advance, sorry for my english, i´m learnig also!,
    cheers,
    nando

    If the goal is to make a flap, then you can do this in InDesign. A spread can be any contiguous number of pages, so if your document is generally speaking double-page spreads, you can have a single spread that is composed of three contiguous pages.
    To do this, in the Pages palette, select a double-page spread you want to expand. Go to the flyout menu and deselect "Allow selected spread to shuffle." Then drag new page to the left of the left page or to the right of the right page (depending on where your flap is).
    Then you're all set.
    Here's a screenshot of the Pages panel:
    In this case, I've created a flap to the right of page 3 (numbered page a) and its reverse to the left of page 4 (numbered page b).

  • Different Page Sizes within the same document - Printing

    I am having trouble printing a document which contains pages of different sizes (using Adobe Professional 7.0):
    i.e. The first 10 pages are 8.5" x 11", the next few pages are 11" x 17" and the last few pages are 8.5" x 11"
    The printer only spits everything out as 8.5" x 11" and the larger sheets are just cut off.
    In the "Print" menu that comes up when you hit FILE->PRINT it suggests that everything is alright... I can scroll through the small "page preview" and it shows some pages 8.5x11 and some pages 11x17... but when it actually prints, it doesn't do that. Is it the printer that is the problem perhaps?
    (The printer is a Lexmark x945e)
    Any insight would be greatly appreciated.
    ~Paul

    If the goal is to make a flap, then you can do this in InDesign. A spread can be any contiguous number of pages, so if your document is generally speaking double-page spreads, you can have a single spread that is composed of three contiguous pages.
    To do this, in the Pages palette, select a double-page spread you want to expand. Go to the flyout menu and deselect "Allow selected spread to shuffle." Then drag new page to the left of the left page or to the right of the right page (depending on where your flap is).
    Then you're all set.
    Here's a screenshot of the Pages panel:
    In this case, I've created a flap to the right of page 3 (numbered page a) and its reverse to the left of page 4 (numbered page b).

  • Different Page sizes in the same Framemaker Document

    Is there any way in Framemaker to create different page sizes ( say A4 & A3) simultaneously, either as body pages or master pages, in a long, multi-page document ? The long pages (A3 size) will be folded and tucked inside to fit the width of the A4 size page. Is there something obvious that I am missing ?
    -appu g

    Ian,
    Whether the printer adjusts to different page sizes automatically is a function of the printer, not Frame. A number of printers that have feeds for different size sheets will automatically adjust for you, provided you select "automatic" for your page size preference.
    If the PDF is for print, then I wouldn't worry about it either -- set the file up to print with crop marks and print it on your larger sheet size.
    If the PDF is for online customer viewing, I'd probably do the same thing but without crop marks and either:
    * Use Acrobat to crop the small pages out of the larger page size. Although you can add different size pages here and there as required, that's more fiddly and time consuming than cropping sets of pages in batch mode.
    or
    * let the reader use their copy of Acrobat Reader to set the magnification setting -- the default setting is "automatic."
    Art

Maybe you are looking for