Passing HTML column as filter

Hi All,
I have a requirement where i wrote go url syntax on the column formula if they click on that value it will navigate them to a real time environment page there in the data format of that column i made it as a HTML content i need to use this same column as a filter but when i am trying to pass this column value as a is prompted filter its not passing is there a work around.
ex:
person no ---> Column Name
1234 ------> all this values are hyper linked need to pass this values to the next report as a is prompted value
1235
1236
1237

Probably you may not have understanded my question properly i will explain it below
name     number      type        count    person number
james 45 Actual 3 1234
above mentioned is the format of the report Person Number Column values contains a hyperlink to a another environment and if the user click on COUNT column it navigates to a seperate report and it should pass Person Number and type as filters i am able to pass type but not Person Number since it is in HTML format if we change that to general format the hyperlink doesn't work so i need to keep that in HTML format and i need pass that as filter to next report.

Similar Messages

  • How can i extend the filter function to also include an option to select which column to filter on?

    Hi.
    I have built an spry test-page (testing it on my localhost  so i cannot give you direct access to it) here i have an XML file that i show in an dynamic/ repeat table with 5 columns.
    I hvae included an spry filter function to easy filter out records, but the code only allows me to filter on one of the columns.
    I would like to add an extra "select-menu" to define which column the filter should be active for, how can i do that
    Here is the filter code and also the html code for the select-menu and the box to type in what to filter.
    The bold parts is the important parts, i would like the options values from the select menu to be inserted in the filterData function to be able to define which column to do the filtering on.
    var ds1 = new Spry.Data.XMLDataSet("report3.xml", "orders/order", {sortOnLoad: "@id", sortOrderOnLoad: "descending"});
    ds1.setColumnType("date", "date");
    ds1.setColumnType("BUTIKNR", "number");
    ds1.setColumnType("EXTRAFRAKT", "number");
    ds1.setColumnType("job/@idx", "number");
    var jobs = new Spry.Data.NestedXMLDataSet(ds1, "job");
    function FilterData()
        var tf = document.getElementById("filterTF");
        var menu = document.getElementById("searchIdent");
        if (!tf.value)
            // If the text field is empty, remove any filter
            // that is set on the data set.
            ds1.filter(null);
            return;
        // Set a filter on the data set that matches any row
        // that begins with the string in the text field.
        var regExpStr = tf.value;
        if (!document.getElementById("containsCB").checked)
            regExpStr = "^" + regExpStr;
        var regExp = new RegExp(regExpStr, "i");
        var filterFunc = function(ds, row, rowNumber)
            var str = row["@id"];
            if (str && str.search(regExp) != -1)
                return row;
            return null;
        ds1.filter(filterFunc);
    function StartFilterTimer()
        if (StartFilterTimer.timerID)
            clearTimeout(StartFilterTimer.timerID);
        StartFilterTimer.timerID = setTimeout(function() { StartFilterTimer.timerID = null; FilterData(); }, 100);
    html:
                <select name="searchIdent" size="1" id="searchIdent">
                    <option value="@id" selected="selected">ID</option>
                    <option value="date">DATUM</option>
                    <option value="time">TID</option>
                    <option value="BUTIKNR">BUTIK</option>
                    <option value="REF">REFERENS</option>
                  </select>
              <input type="text" id="filterTF" onkeyup="StartFilterTimer();" />
    Contains:
      <input type="checkbox" id="containsCB" /></td>
    Thanks in advance.
    //Rickard H

    Now it works, i had to do it like this:
        var filterFunc = function(ds, row, rowNumber)
            var str = row["@id"];
            if (str && str.search(regExp) != -1)
                return row;
            var str1 = row["date"];
            if (str1 && str1.search(regExp) != -1)
                return row;
            var str2 = row["time"];
            if (str2 && str2.search(regExp) != -1)
                return row;
            var str3 = row["BUTIKNR"];
            if (str3 && str3.search(regExp) != -1)
                return row;
            var str4 = row["REF"];
            if (str4 && str4.search(regExp) != -1)
                return row;
            return null;
    I also had to remove the line "ds1.setColumnType("BUTIKNR", "number");" from the code, otherwise it would not search at all (only searches string types?).

  • From report 6i send email as attachment How to pass recipient Column.

    When I execute report and at preview stage when
    click on e-mail button then e-mail box appear
    Auto Pick following Fields
    1 Subject : "Report sent through Report Builder"
    2 Attach : "Report with <file Size>"
    My qs is How to pass e-mail id to RECIPIENT(To:) column in Email Box.

    thanks for your reply
    i 'm doing what exactly you mention here .
    my problem here is
    i have 15 columns
    i am executing a query based on the values of the column(column name)  in the target page
    1)here i am passing(all) the column values to the next page-but  i want to pass only one column values(column name)
    when i click on any cell of that  column
    OR
    2)i can pass all column name to target page -there(in the target page) i can filter out
    i think option 1 would good if you filter out the unwanted columns
    Regards
    Amul

  • Dml error logging: can we pass source column values to ora_err_tag$

    Hi Experts,
    We can set ora_err_tag$ values while implementing dml error logging feature.
    Can we pass source column values to ora_err_tag$ field of error table?
    Thanks,
    Dhiraj

    F5wrong forum
    Philip

  • 3.1 EA3 - Column value filter dropdown returns duplicate values

    Hello,
    SQL Developer 3.1 EA3 introduces a regression: the column value filter in the table data editor dropdown (filter column) now shows duplicate values. Previous versions (at least 3.0) returned unique values to select from.
    Since this is EA3 and not yet production, should I file a bug for this?
    Best Regards and many thanks for this tool,
    Olivier.
    Edited by: user9378013 on Jan 9, 2012 1:08 PM

    Yes it's a regression. Fixed it recently. In the next released build it should work properly.
    -Raghu

  • Dynamically Pass the Column Name cursor. || Dynamic Column Name

    Hi,
    I need to dynamically pass the column name based on a Mapping table in a loop ( Right now i have hardcoded stuff )just like using Execute immediate.... Inside the procedure, I have commented as where i hit the problem.
    Thanks for all of your time...
    Thanks
    Muthu
    CREATE OR REPLACE PROCEDURE xml_testing_clob AS
    doc xmldom.DOMDocument;
    main_node xmldom.DOMNode;
    root_node xmldom.DOMNode;
    user_node xmldom.DOMNode; item_node xmldom.DOMNode;
    root_elmt xmldom.DOMElement;
    item_elmt xmldom.DOMElement;
    item_text xmldom.DOMText;
    item_test xmldom.DOMText;
    nodelist xmldom.DOMNodeList;
    sub_variable varchar2(4000);
    x varchar2(200);
    y varchar2(200);
    sub_var varchar2(4000);
    CURSOR get_users IS
    SELECT FIRST_NAME,LAST_NAME,ROWNUM FROM USER_INFO_TBL WHERE WEIN_NUMBER = '1234' ;
    CURSOR get_cdisc_name IS
    select CTS_COL_NAME,CDISC_NAME from CTS2CDISC_DICTIONARY where CTS_TABLE_NAME = 'USER_INFO_TBL';
    BEGIN
    -- get document
    doc := xmldom.newDOMDocument;
    doc := xmldom.NewDomDocument;
    xmldom.setVersion(doc, '1.0');
    xmldom.setStandalone(doc, 'no');
    xmldom.setCharSet(doc, 'ISO-8859-1');
    -- create root element main_node := xmldom.makeNode(doc);
    root_elmt := xmldom.createElement(doc,'AdminData');
    root_node := xmldom.appendChild(main_node,xmldom.makeNode(root_elmt));
    FOR get_users_rec IN get_users LOOP
    item_elmt := xmldom.createElement(doc,'User');
    xmldom.setAttribute(item_elmt,'OID' , get_users_rec.rownum);
    user_node := xmldom.appendChild(root_node,xmldom.makeNode(item_elmt));
    FOR cv_get_cdisc_name IN get_cdisc_name LOOP
    EXIT WHEN get_cdisc_name%NOTFOUND;
    sub_var := cv_get_cdisc_name.cts_col_name;
    sub_variable := 'get_users_rec.';
    sub_variable := 'get_users_rec.'||cv_get_cdisc_name.cts_col_name;
    x := sub_variable;
    dbms_output.put_line(x); -------------- Here i just see the literal string
    y := get_users_rec.FIRST_NAME;
    dbms_output.put_line(y); -------------- Here i just see actual value ( data )
    item_elmt := xmldom.createElement(doc,cv_get_cdisc_name.cdisc_name);
    item_node := xmldom.appendChild(user_node,xmldom.makeNode(item_elmt));
    item_text := xmldom.createTextNode(doc,x ); ---- This is the place i am hitting with an error .
    If i use variable X then i am able to see only the literal
    string in the output. BUT if i put cursor name.coulmname,
    then the resumt (XML) is fine.I wanted acheive this
    dynamically just like execute Immediate
    item_node := xmldom.appendChild( item_node , xmldom.makeNode(item_text));
    END LOOP;
    END LOOP;
    -- write document to file using default character set from database
    xmldom.WRITETOCLOB(doc,);
    xmldom.writeToFile(doc, 'c:\ash\testing_out.xml');
    -- free resources
    xmldom.freeDocument(doc);
    END;
    +++++++++++++++++++++++++++++++++++ XML OUTPUT +++++++++++++++++++++++++++++++++++++++++
    <?xml version="1.0" ?>
    - <AdminData>
    - <User OID="1">
    <FirstName>get_users_rec.FIRST_NAME</FirstName>
    <LastName>get_users_rec.LAST_NAME</LastName> </User>
    - <User OID="2">
    <FirstName>get_users_rec.FIRST_NAME</FirstName>
    <LastName>get_users_rec.LAST_NAME</LastName>
    </User>
    - <User OID="3">
    <FirstName>get_users_rec.FIRST_NAME</FirstName>
    <LastName>get_users_rec.LAST_NAME</LastName>
    </User>
    - <User OID="4">
    <FirstName>get_users_rec.FIRST_NAME</FirstName>
    <LastName>get_users_rec.LAST_NAME</LastName>
    </User>
    - <User OID="5">
    <FirstName>get_users_rec.FIRST_NAME</FirstName>
    <LastName>get_users_rec.LAST_NAME</LastName>
    </User>
    ++++++++++++++++++++++++++++++++++++++++++++++++++++ MAPPING TABLE DETAILS +++++++++++++++++
    CTS_COL_NAME     CDISC_NAME     CTS_TABLE_NAME     XML_TAG     -----------> Column Name
    FIRST_NAME     FirstName     USER_INFO_TBL     Element     -----------> Records
    LAST_NAME     LastName     USER_INFO_TBL     Element     -----------> Records

    My scenario is little different, let me explain:
    My columns will remain same but values changes (based on column formula) according to the selected prompt value
    If I select 'Oct' from prompt then
    Curr will contain data for 'Oct' only
    Next1 will contain data for 'Nov' only
    Next2 will contain data for 'Dec' only
    Next3 will contain data for 'Jan' of next year only.
    Later if I select 'Jul' from prompt then
    Curr will contain data for 'Jul' only
    Next1 will contain data for 'Aug' only
    Next2 will contain data for 'Sep' only
    Next3 will contain data for 'Oct' only.
    I don't have different columns for each months but the columns are capable to reflect data for any month.
    So, how can I reflect the column name as month name for which that contains data.
    Regards,
    S Anand

  • Passing the column name on Where condition based on input parameter

    Hi,
    I am using Oracle10g. Following are my table schema.
    Table Name : Codes
    Columns( ID, Level0, Level1,Level2)
    View Name : SampleView
    I have a scenario : A parameter will be passed to my view from C# application. I need to cut the last 4 places of the parameter and need to check 4 conditions as follows :
    1. IF last 4 places of parameter contains the value as "AMPD" then pass level0 column on where condition.
    Sample code : A123XPAMPD
    Expeted Result: Select * from Codes where Level0 ='A123XPAMPD'
    2. IF last 4 places of parameter contains the value as "Alpha numeric" then pass level1 column on where condition.
    Sample code : A123XPAA00
    Expeted Result: Select * from Codes where Level1 ='A123XPAA00'
    3. IF last 4 places of parameter contains the value as 0000 then pass level1 column on where condition.
    Sample code : A123XP0000
    Expeted Result: Select * from Codes where Level1 ='A123XP0000'
    4. IF last 4 places of parameter contains the value as (cannot be all 0's) and cannot contain "Alphabets" then pass level2 column on where condition.
    Sample code : A123XP1001
    Expeted Result: Select * from Codes where Level2 ='A123XP1001'
    Could any one please help me on writing this logic inside the view.
    Thanks in advance.

    Do you want to make sure that at least one alphabet and one number is there?
    select case
         when regexp_like('1111','^[a-zA-Z]+$') -"This says - Only alphabets, not even space
              THEN 'Alphabets'
         when regexp_like('1111','^[a-zA-Z0-9]*$') --"This says - Only alpha-numeric, not even space
          and regexp_like('1111','[a-zA-Z]') --"To make sure atleast one alphabet is there
          and regexp_like('1111','[0-9]') --"To make sure atleast one number is there
              THEN 'AlphaNumeric'
           else 'NULL' --"This is a string. Not actual NULL
          end
    from dual;
    {code}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to pass virtual column as an argument for a function in a query as given below

    I want to pass the column MinMark as an argument please help
     Select CASE WHEN MIN(mark1) 
                             <= MIN(mark2) AND MIN(mark1) <= MIN(mark3) THEN MIN(mark1 ) WHEN MIN(mark2) <= MIN(mark3) THEN MIN(mark2) 
                             ELSE MIN(mark3) END AS MinMark
    dbo.ufMarkStatus(a.student,a.term,MinMark )
    from Mark a;
    polachan

    Try the below:
    ;With cte as
    Select a.student,a.term,CASE WHEN MIN(mark1)
    <= MIN(mark2) AND MIN(mark1) <= MIN(mark3) THEN MIN(mark1 ) WHEN MIN(mark2) <= MIN(mark3) THEN MIN(mark2)
    ELSE MIN(mark3) END
    From Mark a
    Group by a.student,a.term
    Select dbo.ufMarkStatus(a.student,a.term,a.MinMark ) From cte a

  • Passing Mutivalue Constant Query Filter is not working

    Hi All,
    I am using Webi4.0.On the Query panel when I try to pass multiple values to a constant filter it does not work.For example if I try to apply State filter in my Query and if I select Constant as its type and type A,B then Webi takes only A in the query and not B.
    I know it a simple task but however it is not working.
    Any help on this will be appreciated.
    Thanks in advance.

    Hi Riddhi,
    Can you pls put scrrenshot how you are passing multiple value to filter.
    ~Anuj

  • Can be passed Formula Column value to Procedure/Function?

    Below cf_value is return after some calculation by using main query.
    Can be directly passed formula column value to procedure without assinged to placeorder?
    as below..
    f_convert(:cf_value,new_value);
    My Procedure is...
    PROCEDURE f_convert( val1 in number,val2 in out number) IS
    BEGIN
    val2 := val1 * 100;
    END;
    If anyone knows pls reply me....

    Actually, if there is any other calculations there (In Proceudre)
    Can I used is as below??
    PROCEDURE f_convert( val1 in number,val2 in out number) IS
    BEGIN
    val2 := val1 * 100;
    return (val2);
    END;
    ----A procedure cannot return a value, the return clause in my previous post was part of the function for formula column.
    Suppose you have a formula column say CF_2 then the function for it will be as:
    function cf_2formula return number
    is
    val1 number;
    val2 number;
    begin
    val2 := :cf_1 * 100; -- or val2 := val1 * 100 --parameters not allowed in formula column function
    -- All the other code that you need inclusive of calling function, procedure as in any PL/SQL block can be placed
    return (val2);
    end;So any other calculation can be used in the formula column function

  • Unable to pass report column value to url in select statement. Please help

    Hi all,
    I am trying to pass the report column value as follows:
    select key, num,
    case when Attachmentcnt(KEY) != 0 then
    'f?p=&APP_ID.:91:&SESSION.:'' '':NO::P91_KEY,P91NUM,P91_PREVPG:'And I am passing values as follows:
    {noformat}
    '#KEY#,'#NUM#','9' ELSE null
    END Attachment
    from tableA
    {noformat}
    But, I am not able to figure out correct sysntax to pass these column values. Can anyone give me some help. I appreciate it.
    rgds,
    Suma.
    Edited by: sumak on Jun 23, 2009 12:11 PM
    Edited by: sumak on Jun 23, 2009 12:22 PM

    Suma,
    If you're trying to generate a column with a URL, try something like the following:
    select key, num,
    case when Attachmentcnt(KEY) != 0 then
    'f?p=&APP_ID.:91:&SESSION.:'' '':NO::P91_KEY,P91NUM,P91_PREVPG:'
    || tableA.key || ',' || tableA.num || ',' || :P91_PREVPG
    else NULL
    end
    FROM tableA;
    But the best way to pass these would include checksum values against the values of your parameters (to make sure a user doesn't hack them). You'll need to check the Apex User manual for details - See "Understanding Session State Protection".
    Good luck,
    Stew

  • List Column Dropdown Filter Missing Choices

    I have a list with 1768 items. When i try to use the list column dropdown filter menu it does not give any options.
    This is what I see when I click on the Client Name list column
    When i click on another list column I get this.
    I there anything I can do to get the options in Client Name as Status or any of the other list columns?
    Thanks
    James T.F

    Hi James,
    Based on your description, my understanding is that you want to show the values in Client Name column for filtering.
    When a SharePoint List gets to a certain size, around 500 items, some fields will no longer display a proper drop down for filter choices.
    Instead, it will display “Show Filter Choices”.  Microsoft did this to prevent performance problems by showing more than 500 options to choose from.
    As a workaround, I recommend to create views to filter the list instead.
    Best Regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Passing html from AS3 to Javascript

    I am using WebStageView to pass html from AS3 to a Javascript function in a webpage.
    I do this like:
    var urltext:String = "javascript:setText('aaa','vvv')"
    webView.loadURL(urltext);
    This successfully calls a function in JS named setText  which in turn sets the value of a div  or whatever else I want to do.
    Here is the problem:
    If I want to pass:
    var urltext:String = "javascript:setText('<p>aaa</p>','vvv')"    the formatted text works fine and I get no errors  however,
    if I pass it like this:  
    var txt:String = '<p>aaa</p>';
    var urltext:String = ""javascript:setText('+txt+','vvv')"       then I get a parse error;
    It traces out to look like this:
    urltext: javascript:setText('<p>aaaaa</p>
    ','vvv')
    Notice that there is a return after the   </p>     which is apparently causing the parse error.
    I am loading text from a file and passing it via the above call to JS.
    In short, is there a way to format the text so it doies not cause the parse error?
    Or, is there a better way to pass html strings in a call to Javascript?
    ExternalInterface does not seem to work anymore  and I am avoiding WebStageViewBridge.

    Ain't that the way of it..
    Came up with a solution Minutes after I posted this problem.
    Here it is, just in case:
    var urltext:String = "javascript:setText("+com.adobe.serialization.json.JSON.encode(fileText)+",'vvv')"

  • Which column first filter by  oracle optimizer

    Can somebody help in understand which column first filter by oracle optimizer in below example and why?
    select * from emp where ENAME ='FORD'
    AND SAL=3000 ;

    Hi,
    Look at the EXPLAIN PLAN.
    Other things being equal, if there are more distinct values of ename than of sal, then it's probably checking for 'FORD' first.
    For example, say the table has 100,000 rows, and there are 10,000 distinct enames, and 100 distinct sals, both ename and sal are indexed, but there is no combined index.
    If you search by sal first, that means you'll expect around 1,000 rows from the index search, and then you'll have to test each of those 1,000 rows for the right ename.
    If you search by ename, first, that means you'll expect around 10 rows from the index search, and you'll only have to test each of those 10 rows for the right sal.
    The order in which the conditions were written will matter.
    Edited by: Frank Kulash on Apr 2, 2012 7:54 AM

  • Passing a column name as a parameter

    Good afternoon,
    I was wondering if any of you ever encountered the following situation and found a method to get around it...
    I recently created a pivot table using the SQL Query (PL/SQL function body returning SQL query) option.
    The table consisted of the following information:
    - Date range, Object Type and count.
    The final table looks something like this (pardon the lack of fancy markup, hopefully it will get the point across):
    Date        Object A    Object B    Object D    Object G
    01-apr-09   10           16         50          43
    02-apr-09   1            15         77          35
    03-apr-09   19           0          14          17
    04-apr-09   15           7          70          20
    05-apr-09   7            6          65          50And it goes on like that.
    I had to create the code dynamically because I don't know what Objects I will get in any given date range (for example: I could have something for Object C and nothing for Object D in the month of March). I had a cursor loop through the object types before creating the SQL query that builds the table above.
    The table is now working fine. What I'm trying to do now is do a little bit of drilling down in data.
    Since everything is dynamically built, I can't give actual column names in my report. Is there any way that, when I click on, for example, the "10" on April 1st in Object A that the column header "Object A" gets passed? #COL02# only passes the value "10" which isn't what I want, and I tried the other variations such as :COL02 and &COL02. without much luck.
    If you could shed some light on this problem, that would be greatly appreciated!
    Thank you for your time.
    Ivan

    Hi,
    You can achieve passing column name as parameter with the help of jquery.
    Below is the sample code
    <script src="http://www.google.com/jsapi"></script>
    <script type="text/javascript"> 
       google.load("jquery", "1.2.6"); 
    </script>
    <script type="text/javascript">
        //<![CDATA[
        $(document).ready( function() {
            $('.t20data').each( function(i) {
                $td =$(this);
                colHeader = $(this).attr("headers");
                $td.html('<a href="f?p=' + &APP_ID. + ':3' + ':' + &APP_SESSION. + '::NO:3:P3_COLUMN_HEADER,P3_COLUMN_VALUE:' + colHeader +',' +$td.text()+ '">' + $td.html() + '</a>');
        });                                  //]]>
    </script>Note - U need to change t20data , :p3_column_header , :p3_column_value to match you application.
    No need to add link individually by going into column attributes
    [E X A M P L E |http://apex.oracle.com/pls/otn/f?p=62171:2]
    Regards,
    Shijesh

Maybe you are looking for

  • Help need my mac pro for school..it has Grey screen..spinning wheel...repaid disk ok...repair disk permission all repaired but one warning...

    Help need my mac pro for school..it has Grey screen..spinning wheel... I think I have  mountain lion OS X....I have done I think almost every suggestion I've seen in discussion boards. Boot in recovery repaired disk...ok...repair disk permission...al

  • How to input notes in a binary file used to save continuous DAQ?

    Hello, I have a continuous data acquisition vi with trigger. Data is saved in a binary file. I would like to save some comments or notes in this file; I want to be able to read the notes afterwards and the saved data that has to be displayed in chart

  • Packaged Applications

    Hi Everyone, I am very new in Oracle and I have, i think, very simple question. I would like to install one of the Oracle packaged application samples and test it out. So, my question is: what software do I need to run it. As I understand, I need to

  • N97 - BUGS BUGS BUGS !

    Hi, I am an Indian IT Professional from Saudi Arabia. I recently bought an N97 and upgraded the firmware to v12. BUGS BUGS BUGS... I seriously dont know when Nokia will grow and create bulletproof OS! Following are the most annoying bugs/problems I h

  • Enabling 'Don't Summarize'

    Post Author: DouglasD CA Forum: Charts and Graphs Greetings, I have Pie chart currently that I want the data not to be summarized. I want to display the literal values instead of counting occurances. Using: CR XI release 2 http://technicalsupport.bus