Redirect to URL processing conditional step problems

So I'll try to set up a redirect to the URL processing step that will redirect only some single select drop-down values.

Example of menu drop-down

Apples

Grapes

Oranges

Grapefruit

Bananas

Plums

In the "redirect to the URL" I have it being directed toward my URL, then in "this treatment step is executed" only if they following the condition are met:

Value of result is = apples or grapes

But, this doesn't seem to work. I can make it work with fair say apples, but really, I don't want to create several processing steps in each form that I have to do.

I think it should be something with Boolean and wildcard characters, but can't seem to find the combination. Has anyone ever used this?

John

Hi John,.

You can actually use a choice list for all fly out of a field. So if you take your example of fruit, you would create a list choose where your fruits would be your option names, then the URL you want that each fruit to redirect to would be the value of your Option.

Then, on your processing step, choose 'Form field' for the Source Type, select the field in your form that contains the drop to the bottom of the fruit, then check the 'Search' box and choose the list you created:

This will allow you to store all your possible values on the menu drop-down with what URL they want. Make sure that the URL in your list of selection have been completed (including the "http://www").

I hope this helps!

Kim

Tags: Marketers

Similar Questions

  • Problem after migration Apex 4.0-> 4.2.4, "Redirect to URL" button is no longer working

    After the migration of the Apex 4.0 tot Apex 4.2.4 encounter us the following problem:

    A button on a page.

    Action click on the button: "Redirect to URL.

    Target URL has not changed during the migration:

    http:// & G_REPORT_SERVER./reportserver?/Projectadministratie/Ambtelijke%20Voortgangsrapportage & rs:Command = render & rs:Format = PDF & rs:ClearSession = true & P_PROJECT_NUMMER = & P4_PA_PROJECT_NUMMER. & P_USERNAME = & APP_USER.

    After pressing the button, front (apex 4.0) he gave a download of the generated report.

    Now the Apex session window url goes to "http://serv123/reportserver?/Projectadministratie/Ambtelijke%2520Voortgangsrapportage & rs:Command = render & rs: Format = PDF & rs: ClearSession = true & P_PROJECT_NUMMER = 100002 & P_USERNAME = xxx111"

    And we get this error:

    Reporting Services error


    • The element ' / Projectadministratie/Ambtelijke%20Voortgangsrapportage' is not found. (rsItemNotFound) Get help online

    SQL Server Reporting Services

    All this was in the application before I started working here and I have no idea if this is the right solution.


    Found the anwser or more solution.

    Detailed examination revealed that what was 20% in the building of the URL has now changed by Apex % 2520.

    Solution replace the %20 by +.

    Rob

  • How to redirect the URL in block expection Apex 4.2

    Hi team,

    In our application, we wrote this logic as shown below

    Before the point of the process of the header: On Load before header.

    BEGIN
       IF (:p1_display_eid) IS NOT NULL
       THEN
          SELECT modified_date
            INTO :p1_modified_date
            FROM test
           WHERE id = :p1_display_eid;
       END IF;
    exception 
    when no_data_found then
    --Here i need to redirect URL to other screen 
    
    end;
    

    Kind regards

    Sruthitamiri

    Sruthi Tamiri wrote:

    In our application, we wrote this logic as shown below

    Before the point of the process of the header: On Load before header.

    1. BEGIN
    2. IF (: p1_display_eid) IS NOT NULL
    3. THEN
    4. SELECT modified_date
    5. IN: p1_modified_date
    6. OF the test
    7. WHERE ID =: p1_display_eid;
    8. END IF;
    9. exception
    10. When no_data_found then
    11. -Here, I need to redirect the URL to the other screen
    12. end;

    You can do it programmatically by using the owa_util.redirect_url method:

    BEGIN
    
      IF (:p1_display_eid) IS NOT NULL
      THEN
          SELECT modified_date
            INTO :p1_modified_date
            FROM test
          WHERE id = :p1_display_eid;
      END IF;
    
    exception
    
      when no_data_found
      then
          owa_util.redirect('');
          apex_application.stop_apex_engine();
    
    end;
    

    However I don't like the various side effects inherent in this code. It is not obvious to a developer looking at the page that executes a process will result in changing session state or the redirect to a different URL. It may involve additional database access, but I think I would prefer to implement this as a conditional branch by using a condition is no SQL, and a later calculation to set the value of the page...

  • Optional redirect to URL in branching on the same page

    Hi guys,.

    I'm trying to use the optional redirection URL when branching from one page to another. In my case I insert a new record of Page 12, here are the details of the Page 12:

    Page 12 contains a row-extraction automated process that runs after the header.

    I have a connection with an optional URL forwarding option that takes me to the same page 12, click on the Save/Create button to create a new record. I'm defining the key primary and other form values and save the session state. However, once the data are inserted into the table, using the redirect option URL gives me no data found message.

    Could someone please help me to and explain what I'm doing wrong here?

    Thank you
    Rohan

    Hello

    Add this line in your code just after calling "set_session_state". Run the page in debug mode. Debugging must show a line like «value PK recover...» ». Don't you see a valid value?

    wwv_flow. Debug ('PK retrieved value =' | v_ccpPK_nr);

    CITY

  • Redirect to URL.

    Hi, could someone help me with the syntax of url creation. I have the page for the download of images. This page in another page. When the user downloads or cancels the download process, it should be redirected to the previous page (record specific). I must add that I clear the cache so I redirect the user by using the syntax of the url in the optional section redirect the URL of the button. What is the syntax? I tried to use it, but it does not work

    http://IP:8081/apex/f? p =: APP_ID:FLOW_STEP_ID:SESSION:NO:P9_RECORD_ID: and here I need application point which is a record ID.

    Thank you

    Robik

    Try something like the one below.

    http://IP:8081/apex/f?p=&APP_ID.::&SESSION.::NO::P9_RECORD_ID:&APP_ITEM_FOR_RECORD_ID.
    

    CITY

  • Where to write the condition in the design of workflows with conditional step?


    Hello

    Again, I wish BP and workflow with contitional design stage.

    I had designed BP and workflow.

    As directed by the user for Udesigner guide, I had added trigger before the condition step.

    But I do not understand where to set the Condition to test?

    If I need to write the condition in triggering elemt itsel... How to proceed?

    for example, I want to write the condition as cost of Tota > = 100000, it must follow a path and if fails to another path.

    The conditions of triggers are specified in the workflow settings.  After you have created a new configuration, open it and click on the settings tab.  You will see a tree structure of the workflow with conditional branches.  Click a conditional branch to set the parameters for the trigger for this route condition.

  • Question buttons, redirect optional URL and "Set points".

    Hello Apex experts... and others!
    I tried to use the "redirect to URL Optional" and "Set POINTS" a button to initiate new elements of page target.
    It does not, the target_page elements are not being updated!
    Deletion of the redirect URL and create a branch when 'NEXT' and assigning the same target page elements works fine
    What is the difference?
    When should I use the "Optional URL forwarding" option?
    / Curious Guan

    When the creation of a button if you select "Create Button in a position of region" button becomes an of the Page "button, if you select 'Create a button displayed among the elements of this region', it becomes just a button or a region...

    V/R

    Robert

  • APEX 3.1 missing in conditional processing - conditional type


    Hello world

    We plan to go to APEX HTML-DB 1.6 3.1.2.

    We installed the 3.1.2 for testing APEX.

    * In French, in the conditional processing - conditional type: they miss you 6 conditional type.*

    In English, we have seen WHEN_ANY_ITEM_IN_COMMA_DELIMITED_LIST_OF_ITEMS_HAS_CHANGED, but we do not see in french there. We need these conditions.

    In addition, in French, these "conditional type" missing are in the LOV just next door, but not in love, we can choose conditional type.

    We also have these bugs in CALCULATIONS.

    Thank you and best regards.

    Eric.

    As I said, these condition types have been deprecated (gone now). What do you use this condition? Please read this post: Condition: when any item has changed .

    Scott

  • Redirect model engine URL with quotes button: problem

    Relatively new to Apex, I want a my page has a button that performs a redirection to a URL that links to a Cognos report.

    That URL, however, contains citations and it appears javascript has problems with it.

    Even if I use substitutions as the name % 3d % 27report1% 27 that it always fixes in javascript ('http://cognos...bla...name= 'Report1'...')

    Could someone give me a quick pointer? I think I might have to use a different type of button, but I'm wrong how to fill what attribute so that it points to my URL.

    Much appreciated,

    Marco.

    Marco,

    Good to see another person who uses Cognos :) (and Apex!)
    I've done this before, but had the URL in my sql/report...it should, however, be the same for your button... I hope: P

    What I had to do to make it work properly is to use escape characters... If the URL looks like this,

    "http://cognos/cognos8/cgi-bin/cognos.cgi?b_action=xts.run&m=portal/launch.xts&ui.tool=CognosViewer&ui.action=run&ui.object=/content/folder[@name=&# 39;FOLDER NAME&# 39;]/report[@name=&# 39;REPORT NAME&# 39;]&p_Cognos Parameter 1='||VALUE1||'&run.prompt=false"
    

    "Also, make sure to remove space in".

    I hope this helps.

    ****
    Try this on your button

    JavaScript:popupURL("http://servername/cognosisapi.dll?b_action=XTS.Run&m=Portal/Launch.XTS&UI.Tool=CognosViewer&UI.Object=/content/package/Report&p_ionummer=&P8_NUMBER.");

    -Chris

  • Redirect Google, random radio and firewall problem

    I think I have a redirect virus. I am constantly redirected to spam websites when you use google chrome and firefox. My internet explore has stopped working also. There were also different radio stations or something plays in the background, even if no program was running and it was certainly not from the sites I visited.

    Also, I can't my firewall to work. His problem due to some not identified.

    I have malwarebytes, spybot search and destroy as well as great antispware. While they sometimes detect problems when those who are removed the problems have not disappeared.

    Hello
    Try the sequence of steps 1 and 2 in this virus/malware removal guide: http://www.selectrealsecurity.com/malware-removal-guide
    It contains instructions which will remove the malware more. If you have any questions, just ask me. I hope this helps you.
    Brian
  • Redirection of IE in Outlook 2010 problem

    I have a RDSH server with the following configuration:

    Windows Server 2008 R2 Service Pack 1 version 6.1.7601

    vWorkspace 8.0.0.1167 RDSH & Broker for connections of the roles

    32-bit Microsoft Office 2010 version 14.0.6129.5000

    Internet Explorer 10.0.9200.16635

    I'm currently implementing IE server of URL redirection to the client. I have configured the following registry value according to the Administrator's guide:

    HKCR\http\shell\open\command

    Default REG_SZ "C:\Program Files (x 86) \Quest Software\vWorkspace\IE Redirection\iexplore.exe" %1

    If I look in control Panel\All Control Panel Items\Default Programs\Set default program Associations Programs\Set, the present value by default for HTTP is displayed as Quest vWorkspace Internet Explorer.

    If I open links in Word, Excel or wordpad URLS are redirected to the local IE as expected. However, links opened from Outlook still open in Internet Explorer in the session RDSH.

    Is there anything else I need to settle for redirect links in Outlook?

    Any help appreciated.

    Scott.

    Since getting no answer to that, I put aside the issue for a while. Fortunately, I worked on the solution while fixing a link IE problem I was having in Outlook 2010 on a Citrix Xenapp server farm.

    Outlook 2010 does not use the type of HKCR\http Protocol listed in the guide admin vWorkspace for the opening of its links, despite the fact that all the other Office applications. To access Outlook to redirect the links you need to change this:

    HKEY_CLASSES_ROOT\htmlfile\shell\opennew\command

    Default REG_SZ = "C:\Program Files (x 86) \Quest Redirection\iexplore.exe" %1

  • Client Server Runtime Process (csrss.exe) problem?

    When I right click Properties of csrss.exe in the Task Manager, the action request closes down the Task Manager and I don't get any list of properties.  If I right click Properties in C:\Window\system32\csrss.exe windows Explorer I get the list of properties.  While in Manager tasks there is no "user" shown for csrss.exe and try to complete the process for csrss.exe does not produce a warning message about data loss and csrss program can't.    A phone call unsolicited from someone who claims to be a subcontractor for support of MS (1-855-857-1687) said a virus attacked my csrss.exe file and had already modified 2855. Programs EXE and make them spies, considerably slowed down my computer and wanted to sell me a program $175.00 to solve this problem has alleged.  Windows defender and Professional of Iolo's System Mechanic can not find something wrong.  Is there a problem and if so how to find and fix?  Is this some kind of scam?

    Hello

    You made any hardware or software changes the computer recently?

    If you are unable to remove the virus from normal mode, and the Microsoft Safety Scanner is unable to run, then get the computer in safe mode with networking and to launch the scanner.

    Advanced boot (including safe mode) options: http://windows.microsoft.com/en-US/windows7/Advanced-startup-options-including-safe-mode

    Reference: Avoid scams to phone for tech support

    http://www.Microsoft.com/security/online-privacy/avoid-phone-scams.aspx

    If you suspect a virus infection on your computer, and then try the steps in this link.

    http://Windows.Microsoft.com/en-us/Windows7/how-do-I-remove-a-computer-virus

    Security Scanner warning: there will be data loss through an analysis using the Microsoft safety scanner to eliminate viruses as appropriate.

    I hope this helps.

  • 1st time scripter... needs help with conditional step 2

    Never write the script in any form. JavaScript can be Cuniform as far as I know.

    Really want to understand such things.

    Download all guides... they make my head ache. Would like any suggestions on a good starting book. entry level stuff.

    Should I go to learn Javascript, then it'll all be easier?

    This is the purpose of the script that I want to write.

    I have a folder folders containing main/artist name/backup / retouched / * this is the lie of the images *.

    also / intact / * this is the lie of the images *.

    I would like to write a script that sends Photoshop thanks to all subfolders looking for files.

    Open the file.

    Determine if the file is grayscale.

    If this isn't the case, close the file.

    If grayscale determine the longest side of the image and resize it to 300 DPI maintaining proportions making long side 10 inches.

    Save the file in the folder '_8x10' file name added

    Save the file in "' C: / getty /" add "_8x10" file name "

    Close the file without saving changes

    OTHER IMPORTANT FACTS

    Emphasizing the need that the originals should not be harmed in any way.

    99% of the files are .tiffs others would jpg - I can't ignore jpg files in order to remove a variable.

    I worked on it for 2 days, trying to teach me, and it is not just by clicking. I can't pick it up quickly.

    Here's what I wrote and tried to patch all of the other scripts on the web in the hope that I understood why I was picking up this code.

    I'm short on time and would like advice on this.

    Here is my code:

    GrayscaleThenLandOrPortTo10Inches300dpi.jsx

    Copyright 2012

    Written by Brian Shupe steal shamelessly on the net

    /*

    Description:

    This script finds the folder and all subfolders for images.

    Check to see if they are grayscale

    If so, he trims the long side at 10 inches at 300 dpi

    */

    turn on double click of the

    Macintosh Finder or Windows Explorer

    #target photoshop

    Make Photoshop the frontmost application

    where we double clicked on the file

    app.bringToFront ();

    ///////////////////////////

    //       SET-UP          //

    ///////////////////////////

    Close all open documents

    so that {(app.documents.length)

    app.activeDocument.close)

    }

    Create the dialog select parent folder

    var imageFolder is Folder.selectDialog ("select a folder with images to treat");.

    Set variables naming for easier coding

    var doc = app.activeDocument;

    set the units to inches

    Save current preferences

    var strtRulerUnits = app.preferences.rulerUnits;

    var strtTypeUnits = app.preferences.typeUnits;

    Adobe Photoshop CS4 use pixels and display without the value dialog boxes

    app.preferences.rulerUnits = Units.INCHES

    app.preferences.typeUnits = TypeUnits.INCHES

    app.displayDialogs = DialogModes.NO

    Recursively process all subfolders

    If (image! = null) processFolder (imageFolder);

    function processFolder (folder) {}

    List of files of the var = folder.getFiles)

    for (var i = 0; i < fileList.length; i ++) {}

    var file = list of files [i];

    }}

    Check if the active document isn't in grayscale. If this is true do nothing

    If (doc.mode! = DocumentMode.GRAYSCALE) {}

    } else

    Check if the document is higher than it is wide

    If (doc.height > doc.width)

    {

    Perform this action if the IF statement is true. Action of sizes both height to 10 inches and 300 DPI

    doAction ("Port", "Getty");

    }

    on the other

    {

    Perform this action if the IF statement is false. Action sizes two length of 10 inches and DPI to 300

    doAction ("Land", "Getty");

    }

    Create a folder to contain a file duplicate

    myFolder var = new Folder("c:/Getty/");

    myFolder. Create();

    saveFile = new file ("C: / Getty /' + imgName +"_"+"8 x 10")

    var CurrentFolder = activeDocument.path;

    var ParentFolder = decodeURI (activeDocument.path.parent);

    saveFile = new file (parentFolder + ' /' + 'CONTAINER BACKUP' + ' /' + imgName + "_" + "8 x 10")

    app.activeDocument.close (SaveOptions.DONOTSAVECHANGES)

    I think that, right now, the problem is when it gets to the point where he seeks an image open... There are jumps to zero and it.

    Anyone can see that for my clumsy attempt and course correct me?

    would be happy to discuss tutoring services.

    This is a full version that could help with all of the necessary steps...

    #target photoshop
    app.bringToFront();
    main(); //call the main function
    function main(){
    var folders =[];
    var topLevel = Folder.selectDialog("Please select top level folder");
    if(topLevel == null) return; //if cancelled quit
    folders = FindAllFolders(topLevel, folders);
    folders.unshift(topLevel);
    var outputFolder = Folder("/c/Getty/");
    //create output folder if it does not exist
    if(!outputFolder.exists) outputFolder.create();
    for(var z in folders){// loop through all subfolders
    var fileList = folders[z].getFiles("*.tif"); //get a list of all tifs in this folder
    for(var a in fileList){//loop through all files in folder
        app.open(fileList[a]);//open file
        var doc = activeDocument;
        if(doc.mode != DocumentMode.GRAYSCALE){//if not greyscale close and get next doc.
            doc.close(SaveOptions.DONOTSAVECHANGES);
            continue;
            }
        if(doc.width > doc.height){//landscape
            //resize document, only one value is required otherwise it might distort the document.
            doc.resizeImage(new UnitValue(10,'in'), undefined, 300, ResampleMethod.BICUBIC);
            }else{//portrait
                doc.resizeImage(undefined, new UnitValue(10,'in'), 300, ResampleMethod.BICUBIC);
                }//end resize
            //get the name without the .tif extension
            var Name = app.activeDocument.name.replace(/\.[^\.]+$/, '');
            //create the output file path and name
            var saveFile = File(outputFolder + "/" + Name + "_8x10.tif");
            //save and close
            SaveTIFF(saveFile);
            doc.close(SaveOptions.DONOTSAVECHANGES);
        }//end filelist
    }//end folders
    }//end main function
    function FindAllFolders( srcFolderStr, destArray) {
     var fileFolderArray = Folder( srcFolderStr ).getFiles();
     for ( var i = 0; i < fileFolderArray.length; i++ ) {
      var fileFoldObj = fileFolderArray[i];
      if ( fileFoldObj instanceof File ) {
      } else {
             destArray.push( Folder(fileFoldObj) );
      FindAllFolders( fileFoldObj.toString(), destArray );
      }
     }
     return destArray;
    }
    function SaveTIFF(saveFile){
    tiffSaveOptions = new TiffSaveOptions();
    tiffSaveOptions.embedColorProfile = true;
    tiffSaveOptions.alphaChannels = true;
    tiffSaveOptions.layers = true;
    tiffSaveOptions.imageCompression = TIFFEncoding.TIFFLZW;
    activeDocument.saveAs(saveFile, tiffSaveOptions, true, Extension.LOWERCASE);
    }
    
  • Conditional IE - problem; Help req'd

    Hello:

    I am facing a problem in executing a conditional statement for IE 6 (I've structured it lt IE 7).

    The site in question is http://www.socls.org/testing/index.html.

    The code for the conditional statement is as follows:

    & lt; "link href ="... / style_sheets/launch.css "rel ="stylesheet"type =" text/css"/ >
    <!-[if lt IE 7] >
    & lt; "link href ="... /style_sheets/launchIE-6.CSS "rel ="stylesheet"type =" text/css"/ >
    <! [endif]-->

    I followed the Protocol to insert the General style sheet link, followed by the conditional statement referenced in many places on the web.

    When I do and tests using a browser testing service cross the result is the following:

    conditional IE 6.png

    As you can see, the banner is not centered, and blue gradient background (which should be included in the IE 6 rendering the difficulties to support making transparencies) is present instead of the white background.  Similarly, the white background is not present for the name plate as expected by the style sheet, and the wrong buttons and logo are inserted.

    When I remove the conditional IE and re - test on a browser IE 6 (without using a conditional statement), but rather make the stylesheet IE6 the general one, the problem is corrected.

    IE 6 .png

    I guess it must be a syntax error in my conditional statement, but cannot see what it is.  As I said, it has largely been filched by various references from the internet on the topic.

    Any help would be greatly appreciated.

    Steve Webster.

    Go through your stylesheet for IE6 and compare it with the main style sheet.

    Remember, cascade styles CSS.  If a parent element has a background image, and there is no rule to replace it in your stylesheet to IE6, IE6 will get same style of main style sheet.   Also, don't use spaces in the names of file/folder as these convert %20 on the web.  You can use _ or - but no spaces.

    MAIN:

    background-image: url (.. / socls%20graphics/800%20x%201%20light%20bluegradient.png);
    background-repeat: repeat-y;

    IE6

    background-color: #FFF;

    Lack of IE6:

    background-image: none;

    Nancy O.
    ALT-Web Design & Publishing
    Web | Graphics | Print | Media specialists
    http://ALT-Web.com/
    http://Twitter.com/ALTWEB

  • Several process conditional on submit - confused!

    I have a Page of form based on a table where the user can update the data. I want to capture changes in a history table.

    Simplified, the tables are:

    Columns PKey Varchar table

    UPDATEABLETABLE ID1 TEXT1 TEXT2
    HISTORY ID1 DESCRIPTION TABLE

    In addition to the automatic online update process, I created 2 conditional process:

    Process UpdateText1

    Source: INSERT INTO table HISTORY (DESCRIPTION) VALUES (' Text1 changed to "|: P1_TEXT1);

    Point process: submit now - after calculations and Validations

    Condition: Type: value of element in the Expression 1. = Expression2
    Expression 1: SELECT TEXT1 FROM UPDATEABLETABLE WHERE ID1 =: P1_ID1
    Expression 2: P1_TEXT1

    Process UpdateText2

    Source: INSERT INTO table HISTORY (DESCRIPTION) VALUES (' Text2 changed to "|: P1_TEXT2);

    Point process: submit now - after calculations and Validations

    Condition: Type: value of element in the Expression 1. = Expression2
    Expression 1: SELECT Text2 UPDATEABLETABLE WHERE ID1 =: P1_ID1
    Expression 2: P1_TEXT2

    The problem is that if I change only 1 point (one), two items return a line to the HISTORY table. Only if there is no change or both have changed I get the expected result.

    I tried to change the Point of processes and sequences, etc without any improvement.

    Any ideas gratefully received!

    Published by: user7258268 on June 5, 2009 08:14

    Hello:

    If you just need to follow the changes to a record without needing to know which field in the record has been changed one simply 'LESS' query will work to insert the record changed in the history table.

    insert into history_table
    select col1, col2, col3, col4... from tab where pk=:P_pk
    minus
    select :p_col1,:p_col2,:p_col3... from dual     // p_col1,p_col2.. are page items corresponding to col1,col2...
    

    The above code is in a 'After Submit' page process that fires before the process "automatic processing line (DML) '.

    CITY

Maybe you are looking for