RE: Swapping two query views based on filter value

Hi Can anyone tell me how do I swap between two query views for a web item based on one filter selection.
Thanks in advance
Message was edited by:
        Chandra Hasa Reddy Samala

Hi,
If you want to copy list item with Person column to another list, here are two solutions for your reference:
1.Use SharePoint Designer workflow to create item in another list when there is item added in the current list, there is a workflow action “Create List Item”
will meet your requirement. The string in Person column will still be a hyperlink in the other list and you can apply filter on it.
Workflow actions quick reference
http://msdn.microsoft.com/en-us/library/office/jj164026(v=office.15).aspx
2.Use JavaScript Client Object Model to copy item to other list, you can put the script into a Content Editor Web Part.
JavaScript Client Object Model
http://msdn.microsoft.com/en-us/library/office/hh185006(v=office.14).aspx
More information about
using JavaScript Client Object Model to retrieve and create/update list item:
http://msdn.microsoft.com/en-us/library/office/hh185007(v=office.14).aspx
http://msdn.microsoft.com/en-us/library/office/hh185011(v=office.14).aspx
Best regards
Patrick Liang
TechNet Community Support

Similar Messages

  • OBIEE report based on same criteria but different view based on filter

    Hi,
    I am trying to create a report in OBIEE 11.1.1.5 where In the same report using the same criteria, I can have different views which applies different filter.
    Suppose, I have a report criteria as
    Dim1, Dim2, Measure1, Measure 2.
    I want to create two pivot view based on the same data.
    One view will be showing data Dim1="Value1". The other view is duplicate of this view but will show data Dim1="Value2".
    Is it possible in OBIEE?
    basically what I want is work on the same dataset but different representation and show them in the same report. Please share your opinion.
    Regards,
    Tanveer.

    Hi,
    You create a new dim dummy column in criteria and in presentation level create new pivot table view use this dummy dimension column and filter with dim1=value2.
    give updates on this.
    Mark if Helpful/correct.
    Thanks.

  • How to capture the entries based on filter values in oo alv..

    Hi all,
    I have a scenario in my oo alv report, when the user select the any column on report and selects the filter option. In that the user can enters required values. Based on filter values the output will be displayed. Now how can i capture currently displaying entries on report.
    Thanks,
    Ashok

    Hi Jozef,
    Is that GET_FILTERED_ENTRIES( ) reads the indexes or values from the entries..?
    Thanks,
    Ashok

  • Query Views on Workbook - filter doesnt work

    Hi All,
    I have developed a workbook using a query view, When i try to do filtering using the filter button the workbook data does'nt change. Can anyone of you advise what needs to be done.
    Thanking you.

    HI Rohith,
    Thanks for the quick response.
    I tried out what you have mentioned, it didnt work. query view is inserted into a data grid and created the workbook. Filter funtionality is available and its currently working during variable value entry. Once the report is generated filter doesnt work.
    any suggestions?
    Thanks.

  • Query Bex direct input filter value doesn't work

    Hi experts,
    when I use a bex report and direct insert a value in filter on the left; the report doesn't execute the request.
    For exemple I would like to filter a value in 0COSTCENTER; I inserted direct value on the filter cell and the report doesn't return the aspected value.
    How I can resolve this issue?
    The query is based on planning level.
    Thank you for any answers.
    Valerio

    Hi Leszek,
    At the left I digit a value for “Centro di Costo” (0COSTCENTER); for exemple I want to digit the value 8213-01 (or IT01/8213-01) and then 'enter'... The report does a refresh but then don’t execute the filter.
    The same procedure runs without error if I select the value from menu “select filter value”.

  • Sub Query selection based on parameter value selected

    I have a parameter, and based on the value selected, I want to run one of two queries. I thought I could do either an IF THEN ELSE, or a CASE, but neither seem to be working.
    What I'm trying to do is this:
    IF parameter_value = 338 THEN
    (RUN THIS SELECT QUERY)
    ELSE
    (RUN THIS SELECT QUERY)
    END IF
    or
    SELECT CASE WHEN parameter_value = 338 THEN (RUN THIS SELECT QUERY)
    ELSE (RUN THIS SELECT QUERY)
    END X
    I'm getting errors with both. For the CASE statement, it says "too many values". For the IF statement, it just says "invalid SQL statement".
    Any suggestions would be appreciated.
    Thanks.

    Looks like this is what you want
    SQL> WITH T
      2       AS (SELECT LEVEL col
      3             FROM DUAL
      4           CONNECT BY LEVEL <= 5)
      5  SELECT *
      6    FROM T;
           COL
             1
             2
             3
             4
             5
    SQL>
    SQL> VARIABLE parameter_value    NUMBER
    SQL> EXEC    :parameter_value := 338;
    PL/SQL procedure successfully completed.
    SQL>
    SQL> WITH T
      2       AS (SELECT LEVEL col
      3             FROM DUAL
      4           CONNECT BY LEVEL <= 5)
      5  SELECT col
      6    FROM T
      7   WHERE col = DECODE (:parameter_value, 338, col, :parameter_value);  --- If 338 then select all if not 338 select only the one with parameter_value.
           COL
             1
             2
             3
             4
             5
    SQL>
    SQL> EXEC :parameter_value := 2;
    PL/SQL procedure successfully completed.
    SQL>
    SQL> WITH T
      2       AS (SELECT LEVEL col
      3             FROM DUAL
      4           CONNECT BY LEVEL <= 5)
      5  SELECT col
      6    FROM T
      7   WHERE col = DECODE (:parameter_value, 338, col, :parameter_value);
           COL
             2
    SQL>
    SQL> EXEC :parameter_value := 3;
    PL/SQL procedure successfully completed.
    SQL>
    SQL> WITH T
      2       AS (SELECT LEVEL col
      3             FROM DUAL
      4           CONNECT BY LEVEL <= 5)
      5  SELECT col
      6    FROM T
      7   WHERE col = DECODE (:parameter_value, 338, col, :parameter_value);
           COL
             3
    SQL> You need to use following where clause in your query
    WHERE column_name = DECODE (parameter_value, 338, col, parameter_value); -- replace the column_name with name of the column you are comparing against.G.
    Edited by: G. on Mar 8, 2011 3:36 PM
    formatted and added comments

  • BPMOn: Is it possible to send email notification to different groups based on filter value for IDOC?

    Hi there,
                  I have setup the monitoring for idoc through interface monitoring and I am getting the alerts for the same. The alert is generated for different status values for the same idoc. Now my question is, is it possible to send email notification to two different groups based on the status values?? I mean for example , for a single idoc for some status values I want to send email notification to group1 only and for other status values I want to send notification to group2.Any help will be apperitiated.
    Thanks and regards,
    Rutvik Upadhyay

    We currently do not support that level of control for sending email notifications. If you think others are interested in this you should add an idea here: http://forums.adobe.com/community/formscentral?view=idea
    We use that to help us prioritize our work.
    Thanks,
    Randy

  • Set Web Item parameter HIDDEN = 'X' based on Filter Value(s)

    In a BW3.5 Web Template I want to set a Web Item parameter HIDDEN = 'X' based on a filter value for another Data Provider in the Template.
    In other words I want a Web Item to be hidden if certain Co Codes are used in the Filter for another Data Provider in the template.

    The output of this statement gives the variable value. If using a filter use a Filter Web Item.
    <SPAN id=ZUGJAHR style="DISPLAY: none"><object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="TEXTELEMENTS_2"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEXT_ELEMENTS"/>
             <param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>
             <param name="GENERATE_CAPTION" value=""/>
             <param name="ELEMENT_TYPE_1" value="VARIABLE_K"/>
             <param name="ELEMENT_NAME_1" value="ZUGJAHR"/>
             <param name="ONLY_VALUES" value="X"/>
             ITEM:            TEXTELEMENTS_2
    </object></SPAN>

  • View Link between two query views

    Hi is it possible to create a view link between two views having the where clause bind variables.
    How you set the bind variables at the run time for the View objects. It is giving hard time for me to use the Master view in the XmlData bean to generate the Xml document.
    I am able to set the Master views bind variables, but for view link destination view
    where clause bind variables are not able to set ( link object link condition bind variables are binded run time but the views where chause bind variables of destination view are unable to setand bind)
    Thanks
    null

    Easiest way to do this is to add additional transient attributes to your master view object, and then include those additional transient attributes in the list of source attributes for your view link. This way, you can get BC4J to automatically refer to their values with no additional code on your part.

  • Querying Leads based on checkbox value

    Hi I want to retrieve all the Leads based on my cpo_modified checkbox field.
    I'm using this to do it:
    objListOfLead = LeadHelper.createListOfLead(strLeadDim);
    objListOfLead[0].cpo_modified = "Y";
    //Campos de la entidad Lead a devolver
    objListOfLead[0].Country = "";
    objListOfLead[0].cpo_atInstallments = "";
    objListOfLead[0].cpo_atProfit = "";
    objListOfLead[0].cpo_atProfit_percent = "";
    (and some more, all empty too)
    objQryOutput = queryLeads(objListOfLead, mySession, false);
    But I've been unable to get what I want. I'm getting allways the same error:
    El campo 'ZBool_10' de la instancia del componente de integraci??n 'Lead' contiene una expresi??n de consulta no v??lida: 'Y'(SBL-EAI-13002)
    Any of you knows how to filter a query based on a checkbox value? Should I use "Y"or "1" or "true" perhaps???....I've tried many times with different expressions but all of them has been unsuccesfull to me...some ideas?
    Thank you very much!
    Noël

    Great Michael! The expression you suggested ='Y'" worked perfectly!
    Thank you VERY MUCH!
    But, why those kind of ¿tricks? are not well documented by Oracle? I've lost a great amount of time (been the first time I work over OnDemand) and that's a thing I really hate...
    My most sincerely thanks Michael!
    Noël

  • Query performance based on condition value

    Hi,
    I have a simple query which is actually on a view dwdb_dba.actl_partinfo_cust. Please see query bellow
    select * from dwdb_dba.actl_partinfo_cust WHERE insertdatetime=(select max(insertdatetime)
    from dwdb_dba.actl_partinfo_cust Where system_source='UTS') AND SUPPLIERID='CG1' and Custdevice in ('BT-M2789-C')This query is taking very very long time to return (around 30 records) but if i u
    Here if i change the condition "AND SUPPLIERID='CG1'" to "AND SUPPLIERID='DUMMY'", it returns within 3 seconds. Execution plan is same for both then why one query taking too much time and other returning so fast and how can i tune the query against the condition AND SUPPLIERID='CG1' so that it can also return within 3 seconds.
    I actualy dont understand the behaviour
    PLAN_TABLE_OUTPUT
    Plan hash value: 3622663398
    | Id  | Operation                       | Name                        | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT                |                             |    10 | 42790 |   152K  (6)| 00:00:59 |
    |*  1 |  VIEW                           | ACTL_PARTINFO_CUST          |    10 | 42790 | 59972   (4)| 00:00:23 |
    |   2 |   UNION-ALL                     |                             |       |       |            |       |
    |*  3 |    TABLE ACCESS BY INDEX ROWID  | ACTL_PARTINFO_CUST_UTS      |     9 |  3429 | 59968   (4)| 00:00:23 |
    |*  4 |     INDEX RANGE SCAN            | ACTL_PART_CUST_UTS_IDX3     |   420K|       |  1462  (11)| 00:00:01 |
    |*  5 |    TABLE ACCESS BY INDEX ROWID  | ACTL_PARTINFO_CUST_PROMIS_4 |     1 |   311 |     4   (0)| 00:00:01 |
    |*  6 |     INDEX RANGE SCAN            | ACTL_PARTINFO_CUST_4_IDX1   |     1 |       |     3   (0)| 00:00:01 |
    |   7 |   SORT AGGREGATE                |                             |     1 |    14 |            |       |
    |   8 |    VIEW                         | ACTL_PARTINFO_CUST          |  1363K|    18M| 92040   (8)| 00:00:36 |
    |   9 |     UNION-ALL                   |                             |       |       |            |       |
    |* 10 |      TABLE ACCESS BY INDEX ROWID| ACTL_PARTINFO_CUST_UTS      |  1363K|    33M| 92036   (8)| 00:00:36 |
    |* 11 |       INDEX RANGE SCAN          | ACTL_PART_CUST_UTS_IDX1     |  1481K|       |  5528  (10)| 00:00:03 |
    |* 12 |      TABLE ACCESS BY INDEX ROWID| ACTL_PARTINFO_CUST_PROMIS_4 |     1 |    15 |     4   (0)| 00:00:01 |
    |* 13 |       INDEX RANGE SCAN          | ACTL_PARTINFO_CUST_4_IDX1   |     1 |       |     3   (0)| 00:00:01 |
    ---------------------------------------------------------------------------------------------------------------Thanks

    Salman Qureshi wrote:
    This query is taking very very long time to return (around 30 records) but if i u
    Here if i change the condition "AND SUPPLIERID='CG1'" to "AND SUPPLIERID='DUMMY'", it returns within 3 seconds.
    My developer has changed the code of the view which was involved and not it is working fine but still i m curious to know that what could be the reason of this. Same execution plan but only condition value is different. One value returns some rows but returns within few seconds and other condition also returns a few rows but may hours.Salman,
    A bit more details would help diagnose the root cause.
    If you are still interested in diagnosing the root cause, you may want to provide complete EXPLAIN PLAN output, along with predicate section. If you are on 10g, you may want to provide the output of DBMS_XPLAN.DISPLAY_CURSOR which will show the actual plan used along with actual number of records generated by each step in the execution plan.
    It is possible that SUPPLIERID column data is skewed so that there are less records in table for the value 'DUMMY' but much more number of records for the value 'CG1'. This predicate combined with the other predicate on CUSTDEVICE column may have been resulting in similar number of rows the final query returns.
    It is possible that the predicate on CUSTDEVICE is being applied at different stage in the plan than the predicate on SUPPLIERID column.
    Edited by: user503699 on Aug 3, 2010 3:11 PM

  • Query is hanging on filter value

    Hi..
    In production, we are having BEX issues when trying to filter on a characteristic. The session either hangs or shortdumps. In SM50, it looks like the session is hung reading table /BI0/0300409094.  I cannot determine what this table is tied to.  I assume it is a master data SID table. 
    Is this a database table index issue?  How do I resolve or determine the cause?  I cannot view this table in SE11.

    Hi Stephen,
    I guess you are trying to restrict the characteristics by choosing from one of the available values and system hangs when u choose from one of those values.
    Instead in rows, filters etc..choose your characteristic , right clisk> restrict and directly give the value for filtering.
    This will avoid the time to show all values of master data and than choose from one of them.
    Reward if it helps,
    Ajay

  • Query View on DSO

    Hi,
    Can we creat a query view based on two DSOs.
    If yes, can anyone please give me step by step instructions?
    Regards

    Hi,
    At report level u can not do query on 2DSOs at a time
    two options are there
    1) based on your data flexibility in DSO u can go for either INfoset(works on intersection property)or Multiprovider( It works on the Union property) then on Infoset or Multi provider u can create the report with both fields of both data sources
    before creating the infoset or multiprovider u should check the data flexibilty if both DSOs fields are same and KF are different(both DSO key fields are same u can go for the Infoset) if it is different and see the flexibilty and go for the multiprovider.
    2) the secone option is u know verywell Work book u create two reports on two DSO and craete the workbook with first report then add the second report also in the same work book take the option refresh teh query when ever executs the workbook.
    Thanks & Regards,
    sathish

  • Query views - selection screen fields double

    Hi expects,
    BW 3.5 SP13.
    Do you know why I have double fields in WEB report selection screen ? example Month/year ?
    In WEB properties I flag 'Display same variables only once'.
    I have a WEB report with one table based on a query and with two charts based on query views from the query. Some fields are mandatory in selection screen Month/year.
    Br,
    Ole Paludan

    Hi,
    It's query views based on same query also use in WEB report, so variables are the same.
    Query view Purpose: to get fewer key figures to charts - but still by query show all key figures in table.
    BR,
    Ole

  • Reseting filters in a Query View

    I have a query built that has a good bit of logic.
    For reporting purposes I'd like to create query views from this one query so I only have to change the logic one place when the user decides they want something tweaked.
    I need a view by company, one by responsible person  etc ....
    The problem arises that when you create the views the filters are "stuck" at what they were then (which makes the views much less useful).   My main issue is for time.  I want the Calendar Year/Month to be the value of the current closed month (the default value in the variable).  But I want the user to be able to change it <u>after</u> running.   
    These views will be used in web templates.   I've tried a few things but the closest I've come is to have a button or link that when clicked sets the filter value based on another data provider.   I don't want that -- I want the value reset when the web template opens.  I tried putting the same command in the "Before rendering" of the web template properties but get a stack overflow error
    Is there a way to save the navigation state of a query without saving the filter values?  Or is there a way I can reset the filter value in the web template?
    I very frustrated

    I am using the new NetWeaver2004s.
    We usually just publish the template to the role & have the role in the portal so I'm not sure how to add that parameter in that case.
    I tried adding to the end of the URL -- but apparently don't have the right syntax.  What syntax should I use?
    I tried checking "Reset Variables to Default" in the web template with no effect

Maybe you are looking for

  • Help need to convert hsa prog to an applet

    Hey everybody I have no clue what i am doin im trying to convert a mathquiz program from the hsa console to an applet. ive attached my hsa code: import java.awt.*; import hsa.Console; import java.io.*; public class MathQuizhsa static Console c; // Th

  • Error message when trying exprt from FCP

    I've used Compressor many times with no problem. Now when I go to export with it the error message comes up: File error: A file of this name already exists. If I keep using compressor after this message it fails, no matter what settings or locations

  • Excel password recovery

    Hi, I have an employee that left on bad terms. I have an excel file that's password protected. How can I recover the password? Thanks

  • Exporting action script in 2nd frame

    I have a preloader in frame one so I export frame for classes in frame two in the publishing settings. I have a scrolling component in the .fla and when I set up the linkage for the scrollable movie clip, it exports into the 1st frame. How do I tell

  • EXCISE CAPTURE PART 1

    Dear experts, While doing GRN in MIGO, there is an option to capture excise by choosing "capture excise invoice". Here, how to bring up the pop box to show the Register where its going to get posted. What are the required settings to be done in SPRO.