Need help on multi select field

Hi ,
1. I have created a meta datafield which is multiselect. Lets say product list,it lets user to select multiple product.
2. Now, this feature I have created at the check in form, and the meta data field used is of type "memo".
3. This meta data field internally uses a "product_list_V" view which is again "muliselect" with option for multiple names separated by comma.
4. Now when I check in, and uses this meta data field it stores and displays the data in the info page correctly like "product1,product2,product3" in this way.
4. But internally I am using Id to store not the name for the products.
5. Now when i search using the query or using the search builder it doesnot pull up the record.
6. But if i give the same pattern of the value it puuls up the result. For example, if the value(product id) stored is 5,9,12
and I give this in the query like xIndustry <matches> `5` <OR> xIndustry <matches> `9`<OR> xIndustry <matches> `12`----it doesnot pull up the record.
7. But if I give the query as xIndustry <matches> `5,9,12` same pattern it pull up the record.
8. Since the record has the id it should pull up if any match found as per to the id which doesnot happen.
Can any one tell me or guide me on how to implenet this.
Need very urgently.
Thanks,
Abhijit

Hi Malky,
If we use "contains" UCM throws error line below
Content Server Request Failed
Unable to retrieve search results. Unable to retrieve search results. Unable to create result set for query 'SELECT * FROM (SELECT q.*, RowNum rowIndex FROM (SELECT dDocName, dDocTitle, dDocType, dRevisionID, dSecurityGroup, dDocAuthor, dDocAccount, dRevLabel, dFormat, dOriginalName, dExtension, dWebExtension, dInDate, dOutDate, dPublishType, dRendition1, dRendition2, VaultFileSize, WebFileSize, URL, dFullTextFormat, dFullTextCharset, DocMeta.*
FROM IdcColl2, DocMeta
WHERE IdcColl2.dID=DocMeta.dID AND ((((CONTAINS(xIndustry, '{5}') > 0))) AND (((UPPER(dDocAccount) LIKE UPPER('') AND dDocAccount IS NOT NULL) OR (dDocAccount IS NULL)))) ) q WHERE ROWNUM < 21) WHERE RowIndex >= 1'. ORA-20000: Oracle Text error:
DRG-10599: column is not indexed
As well as "contains" word is not in the UCM search query builder form. Only we have the options are matches, starts, ends, Substring, Not Matches, Not Substring.
Please let me know whether we need to install any component to get the "contains" word.
Thanks
Abhijit

Similar Messages

  • I need help with a SELECT query - help!

    Hello, I need help with a select statement.
    I have a table with 2 fields as shown below
    Name | Type
    John | 1
    John | 2
    John | 3
    Paul | 1
    Paul | 2
    Paul | 3
    Mark | 1
    Mark | 2
    I need a query that returns everything where the name has type 1 or 2 but not type 3. So in the example above the qery should bring back all the "Mark" records.
    Thanks,
    Ian

    Or, if the types are sequential from 1 upwards you could simply do:-
    SQL> create table t as
      2  select 'John' as name, 1 as type from dual union
      3  select 'John',2 from dual union
      4  select 'John',3 from dual union
      5  select 'Paul',1 from dual union
      6  select 'Paul',2 from dual union
      7  select 'Paul',3 from dual union
      8  select 'Paul',4 from dual union
      9  select 'Mark',1 from dual union
    10  select 'Mark',2 from dual;
    Table created.
    SQL> select name
      2  from t
      3  group by name
      4  having count(*) <= 2;
    NAME
    Mark
    SQL>Or another alternative if they aren't sequential:
    SQL> ed
    Wrote file afiedt.buf
      1  select name from (
      2    select name, max(type) t
      3    from t
      4    group by name
      5    )
      6* where t < 3
    SQL> /
    NAME
    Mark
    SQL>Message was edited by:
    blushadow

  • Multi-Select Fields on Report

    I have a report that includes a few multi-select fields which are associated with LOVs.
    On the report, I have the fields with LOVs set up to have a Column Filter Type of Use Named List of Values to Filter Word Contains.
    When there is only one value in the field, it shows the display value of the field as I would like. However, if there is more than one value, it continues to show the stored values in a string separated by colons.
    For example, the display value for two values might be Smith, Bob and Jones, Julie. (Their stored values are BSMITH and JJONES, respectively.)
    When there is only one value selected, the report displays "Smith, Bob" for example. However, if two or more are selected it will show the stored values, such as "BSMITH:JJONES", separating the values by colons. Can this be changed so that the columns with multiple values will show "Smith, Bob:Jones, Julie", for example.
    How can I get all of the values to show in the displayed format for multi-select fields on both reports and charts?

    O.K.
    CREATE OR REPLACE FUNCTION get_consultant_names (
       p_consultant_id   IN   VARCHAR2
       RETURN VARCHAR2
    IS
       v_constultants   VARCHAR2 (4000);
    BEGIN
       FOR c IN (SELECT consultant_name
                   FROM otd_consultants
                  WHERE INSTR (':' || p_consultant_id || ':',
                               ':' || consultant_id || ':'
                              ) > 0)
       LOOP
          v_constultants := v_constultants || ', ' || c.consultant_name;
       END LOOP;
       v_constultants := LTRIM (v_constultants, ', ');
       RETURN v_constultants;
    EXCEPTION
       WHEN OTHERS
       THEN
          RETURN v_constultants;
    END get_consultant_names;and the SQL would be:
    SELECT project_id, start_date,
           get_consultant_names (consultant_id) consultant_id
      FROM otd_projectDenes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.apress.com/9781430235125
    http://apex.oracle.com/pls/otn/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • Need help on Multi level menu implementation

    Hi All,
    Need help on Multi level menu implementation
    Thanks,
    Anu

    Hi Anu,
    Please go through this link Implement Multilevelmenu navigation
    Thanks,

  • What is the character max on multi-select fields?

    For fields that are set up to use multi-select lists, and can have many values appended to the field, what is the maximum number of characters the field can hold? And, if a field hits the max, will we ever know?
    Thanks for any help.
    Beth

    Hi bmherr,
    Small Text fields have a maximum of 100 characters, whereas Large Text fields support up to 32,000 characters.  For multi-select list text fields, the limit is 1,000 characters.  For Data Cards (Custom Data Objects): 250 for Small Text fields and 32,000 for Large Text.
    No,it will not show any error and only First 1000 chars alone will get stored in eloqua!
    Thanks & Regards,
    P.Gowtham

  • F4 HELP FOR ONLY SELECTED FIELD VALUES

    Hi,
    I have to display the F4 help for the selection screen field parameter. From the ICON table, I need to display the field ID values. In the ICON table, I have lot of field values for the field ID, but I need to display only 3 field values into F4 help.(like say @07@, @08@, @0A@ only at the F4 help).
    Thanks in advance.
    Regards
    Ramesh mavilla.

    Hi,
    See the follwoing code example
    REFRESH: I_DYNPREAD .
    CLEAR : I_DYNPREAD .
    I_DYNPREAD-FIELDNAME = 'P_KAPPL'.
    APPEND I_DYNPREAD.
    CLEAR I_DYNPREAD.
    L_REPID = SY-REPID .
    L_DYNNR = '1000' .
    CALL FUNCTION 'DYNP_VALUES_READ'
    EXPORTING
    DYNAME = L_REPID
    DYNUMB = L_DYNNR
    TABLES
    DYNPFIELDS = I_DYNPREAD.
    IF SY-SUBRC EQ 0.
    READ TABLE I_DYNPREAD INDEX 1.
    P_KAPPL = I_DYNPREAD-FIELDVALUE.
    ENDIF.
    REFRESH: I_DYNPREAD .
    CLEAR : I_DYNPREAD .
    REFRESH: I_KSCHL.
    TRANSLATE P_KAPPL TO UPPER CASE.
    TRANSLATE P_KVEWE TO UPPER CASE.
    SELECT KAPPL KVEWE KSCHL VTEXT FROM T685T
    INTO CORRESPONDING FIELDS OF TABLE I_KSCHL
    WHERE KAPPL = P_KAPPL
    AND KVEWE = P_KVEWE
    AND SPRAS = 'EN'.
    IF SY-SUBRC <> 0.
    MESSAGE E001(ZZ) WITH 'No Condition Type exist for Application'.
    *p_kappl ' and Usage' p_kvewe.
    ELSE.
    REFRESH: I_FIELDS.
    I_FIELDS-TABNAME = 'T685T'.
    I_FIELDS-FIELDNAME = 'KAPPL'.
    I_FIELDS-SELECTFLAG = ''.
    APPEND I_FIELDS.
    I_FIELDS-TABNAME = 'T685T'.
    I_FIELDS-FIELDNAME = 'KVEWE'.
    I_FIELDS-SELECTFLAG = ''.
    APPEND I_FIELDS.
    I_FIELDS-TABNAME = 'T685T'.
    I_FIELDS-FIELDNAME = 'KSCHL'.
    I_FIELDS-SELECTFLAG = 'X'.
    APPEND I_FIELDS.
    I_FIELDS-TABNAME = 'T685T'.
    I_FIELDS-FIELDNAME = 'VTEXT'.
    I_FIELDS-SELECTFLAG = ' '.
    APPEND I_FIELDS.
    CLEAR: V_SEL.
    CALL FUNCTION 'HELP_VALUES_GET_NO_DD_NAME'
    EXPORTING
    CUCOL = 0
    CUROW = 0
    DISPLAY = ' '
    SELECTFIELD = 'KSCHL'
    TITEL = 'Cond Type'
    IMPORTING
    IND =
    SELECT_VALUE = V_SEL
    TABLES
    FIELDS = I_FIELDS
    FULL_TABLE = I_KSCHL
    IF SY-SUBRC = 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDIF. "SY-SUBRC.
    And also go throw the link which it clears more about F4
    Check the link below for creating collective search help
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee86446011d189700000e8322d00/content.htm
    Check the ink below for creating elementary search help
    http://help.sap.com/saphelp_erp2005/helpdata/en/cf/21ee5f446011d189700000e8322d00/content.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/3d/e53642e2a3ab04e10000000a1550b0/content.htm
    <b>Reward with points if helpful.</b>
    Regards,
    Vijay

  • Filter multi-select field

    Hello all,
    I have a document library and one of the fields is a lookup back to the library itself (title field) to allow users to select references.  So a user would upload a document and one of the fields they can populate is a References field which is a multi-select
    enabled lookup field. 
    Two other fields are Dept and Sub Dept.
    I am wondering how I could filter the choices in the multi-select reference field.... so if a user selects Dept A and Sub Dept A2 then the multi-select lookup would only show those items that are from Dept A and Sub Dept A2.
    Thanks for any suggestions and help!

    Hi Rybyscye, sounds like you're referring to a cascading lookup. There isn't a way to do that out of the box. If you have access to InfoPath, you can accomplish it using that program. Otherwise I can recommend a third party product-
    Kwiz
    (Note: I have no affiliation with Kwiz, just vouching for the product)
    cameron rautmann

  • Workaround for not being able to reference a multi-select field in a calculated field?

    Does anyone have a workaround for the fact that SP doesn't allow the use of a multi-select choice field to be used in a calculation in a calculated column?  I have a list that WAS a single choice in a Status field with three other calculated columns
    that were dependent upon that field.  Then I had to change the Status field to be to multi-select (checkboxes). Now of course my calculated columns don't work.  In addition, the end user can't fill them in either.
    I've got a Status field (multi-select), a Status Date field and Expiration Date field (calc).  The expiration date's calculation is shown below.   This worked great until I was asked
    to change the Status field to multi-select.<o:p></o:p>
    =IF(Status="NoI
    Review",DATE(YEAR([Status Date]),MONTH([Status Date]),DAY([Status
    Date])+21),"")<o:p></o:p>
    There are no mistakes; every result tells you something of value about what you are trying to accomplish.

    Hi run4it,
    Since SharePoint calculated column cannot reference the choice field with multiple-select value enabled, a workaround is to use workflow to copy the "Status" column value to another single line text column, then reference this single line text column in
    calculated column.
    Thanks,
    Daniel Yang
    Forum Support
    If you have feedback for TechNet Subscriber Support, contact [email protected] 
    Daniel Yang
    TechNet Community Support

  • Need help deleting an image field/pictures in worksheet

    I am in need of help!!! Added photos in an important .pdf document (a worksheet form that was pre-made) and I added image fields (Top box photo and small bottom box for text). I need to delete some image fields now and it won't let me. I upgraded my Adobe Reader to Acrobat XI Pro trial, still can't. If I try to edit image, it says I need to have Live Cycle designer to edit this form. Someone please help! This is my son's Eagle Scout worksheet and needs to be fixed tonight....please

    If the file was created in LiveCycle Designer then it can only be edited
    there.
    It's not clear in what way you edited it originally.

  • Need help with db select

    As usual I have been stuck for a while on what is probably a very simple solution so perhaps someone can help me, thanks.
    I have a portfolio page to which I post a url to filter the portfolio type (0, 1 or 2) and display the results.
    It works ok except that I can't get the url right to show all records. I have tried things like
    /portfolio.php?websitetype=1&2
    and
    /portfolio.php?websitetype=*
    /portfolio.php?websitetype>0
    Perhaps I need to change my select?
    $query_portfolio = "SELECT * FROM portfoliodb WHERE portfoliodb.websitetype='". $_GET['websitetype'] ."'  AND portfoliodb.visible = 1 ORDER BY portfoliodb.portfolio_id DESC";

    bikeman01 wrote:
    Ok I've now got it working as suggested so that's a big improvement, thanks but it's not quite what I was after. What I want is for all records to be retrieved by default when there is no url suffix and not require ?websitetype=ALL
    That is not what your OP asked for!
    It works ok except that I can't get the url right to show all records. I have tried things like
    /portfolio.php?websitetype=1&2
    and
    /portfolio.php?websitetype=*
    /portfolio.php?websitetype>0
    // determine if the URL parameter for websitetype is set.
    if (isset($_GET['websitetype'])) {
                   // run a query to filter only selected types
                   // based off value of URL parameter
                        $query_portfolio = "SELECT *
                        FROM portfoliodb
                        WHERE portfoliodb.websitetype='". $_GET['websitetype'] ."'
                        AND portfoliodb.visible = 1
                        ORDER BY portfoliodb.portfolio_id DESC";
    // else if the URL parameter for websitetype is not set.
    } else {
                        //  run query to display ALL types
                        $query_portfolio = "SELECT *
                        FROM portfoliodb
                        ORDER BY portfoliodb.portfolio_id DESC";
    // end condition if the URL parameter for websitetype is set.

  • OIM: Help understanding Multi-Valued fields

    I'm having a bit of trouble passing the values of a multi-value field into an adapter and I think I have the whole structure of how this works wrong.
    I have a custom RO where a user can select multiple custom defined "Roles". I want to pass the selection of these roles to an adapter for processing. I thought I could just pass the variable name selectedRoles and it would automatically concatenate them into a string delimited by "|".
    is this not the case? How would I process the selections made by the user? I have the whole process working, form wise. It's just I can't seem to pass the selected roles into an adapter.
    Any ideas?
    When I try to map adapter variable to Process Data -> (Child Table) Roles -> Role Name I get this error:
    ERROR,27 Sep 2010 12:35:08,289,[XELLERATE.DATABASE],select UD_ROLES_P_ROLENAME from UD_ROLES_P where UD_ROLES_P_KEY =
    java.sql.SQLSyntaxErrorException: ORA-00936: missing expression
    at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:91)
    Edited by: Alex S on Sep 27, 2010 12:41 PM

    Nops ! ! For child table data, your custom adapter or code would be called in every time for each value selected, so its not a string separated by a delimiter. Also its easier for OIM to manage these values individually rather than passing them as a string.
    So your Process Data -> (Child Table) Roles -> Role Name mapping appears fine, but this would just pass one value at a time and then you have to call this adapter number of times based on the action insert, update or delete on child table data.
    Thanks
    Sunny

  • Need help for use crm fields into EJB2

    hello i need help.
    i have one db table (table_1):
    id_1
    field_1
    nad the second table that depends from the tale 1:
    id_2
    fields
    id_1
    id_1 is the field that join the table 2 with the table 1.
    can anybody helps me to implemet this relationship into the xml files and into the java class?
    into the java class for the second table i have:
    public abstract long getId_1();
    public abstract void setId_1(long Id_1);
    public abstract long getId_2();
    public abstract void setId_2(long Id_2);
    public abstract String getField();
    public abstract void setField(String field);
    how must i reference the relation into the bean and into the confdiguration xml files (i use Weblogic 8 and EJB 2.1)
    Thanks

    SRM doesn't use kind of "cockpit" LO-like in ECC.
    Overall picture:
    http://help.sap.com/saphelp_srm40/helpdata/en/b3/cb7b401c976d1de10000000a1550b0/content.htm
    If you setup data flows accordign Business Content of SRM:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/3a/7aeb3cad744026e10000000a11405a/frameset.htm
    Then just perform an init load and schedule the deltas.

  • Need help in writing SELECT   (strange, to many data in output?)

    Hi,
    I have:drop table jk_t1;
    drop table jk_t2;
    create table jk_t1 (
      c1  number,
      c2  varchar2(3),
      c3  number
    create table jk_t2 (
      d1  number primary key,
      d2  varchar2(4)
    alter table jk_t1 add constraint t1_t2_fk foreign key (c3) references jk_t2(d1);
    insert into jk_t2 values (1,'T2_1');
    insert into jk_t1 values (1,'A11',1);
    insert into jk_t1 values (2,'A21',1);
    commit;I need to write a SELECT to get an output as:<ALL>
      <D1>1</D1>
      <D2>T2_1</D2>
      <INN>
        <T1>
          <ROW><C1>1</C1><C2>A11</C2><C3>1</C3></ROW>
          <ROW><C1>2</C1><C2>A21</C2><C3>1</C3></ROW>
        </T1>
      </INN>
    </ALL>I'm trying:SELECT XMLElement("ALL",
    extract(XMLType(CURSOR(SELECT t2.*, XMLElement("T1",extract(XMLType(CURSOR(
                                SELECT t1.*
                                  FROM jk_t1 t1
                                 WHERE t1.c3=t2.d1
                              )), '//ROW')) as inn
                FROM jk_t2 t2
               ORDER BY d2)
      ),'//ROW/*')
    ) AS output
    FROM dual;but the output is<ALL>
      <D1>1</D1>
      <D2>T2_1</D2>
      <INN>
        <T1>
          <ROW><C1>1</C1><C2>A11</C2><C3>1</C3></ROW>
          <ROW><C1>2</C1><C2>A21</C2><C3>1</C3></ROW>
        </T1>
      </INN>
      <C1>1</C1>
      <C2>A11</C2>
      <C3>1</C3>
      <C1>2</C1>
      <C2>A21</C2>
      <C3>1</C3>
    </ALL>What SELECT should it be to give me the correct output?
    Thanks in advance,
    JackK

    Hi,
    Drop the CURSOR thing, and use only SQL/XML functions :
    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
    PL/SQL Release 10.2.0.5.0 - Production
    CORE     10.2.0.5.0     Production
    TNS for 64-bit Windows: Version 10.2.0.5.0 - Production
    NLSRTL Version 10.2.0.5.0 - Production
    SQL>
    SQL> set long 5000
    SQL>
    SQL> select xmlelement("ALL",
      2           xmlelement("D1", d1)
      3         , xmlelement("D2", d2)
      4         , xmlelement("INN",
      5             xmlelement("T1",
      6               xmlagg(
      7                 xmlelement("ROW",
      8                   xmlforest(c1, c2, c3)
      9                 )
    10               )
    11             )
    12           )
    13         ).extract('/*') -- for display purpose only
    14  from jk_t2 t2
    15       join jk_t1 t1 on t1.c3 = t2.d1
    16  group by t2.d1, t2.d2 ;
    XMLELEMENT("ALL",XMLELEMENT("D
    <ALL>
      <D1>1</D1>
      <D2>T2_1</D2>
      <INN>
        <T1>
          <ROW>
            <C1>1</C1>
            <C2>A11</C2>
            <C3>1</C3>
          </ROW>
          <ROW>
            <C1>2</C1>
            <C2>A21</C2>
            <C3>1</C3>
          </ROW>
        </T1>
      </INN>
    </ALL>
    {code}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Need help using the selection tool

    Hi all,
    I have some strange (to me) occurrences while using the 'quick selection tool'...
    Explanation
    I'm using PS Elements 11 on a Win 7 (64) PC.
    What I want to do is to create a new pic from an existing pic.  The existing pic's background is unsuitable for what I want.  But the FG is what I need.  I thought that selecting the FG object and placing into a new pic would be what I needed using the <quick selection tool>.
    To do this, I am trying to use the <quick selection tool>.  I've had varying degrees of success using it.  One main thing I don't understand & pretty much renders my project useless & undoable, is the fact that whenever I use <refine edge> so that I can refine my edge selection, my pic is immediately lost or taken away.  Since I have no idea as to what's happening, I am forced to close the pic (W/O saving changes, of course) & then re-opening the pic.  All's well until I click the <refine edge> button again, then, my pic disappears AGAIN! 
    My guess is that maybe the pic is somehow transformed to a layer or something.  But, how can I turn this behavior off and not make my pic disappear?? 
    There are a few more details about this <selection tool> that I'm muddy on.  Is there something where I can read more about its use?  I would love to know more, but how?  Where?
    I've now read the online manual part about selection tools.  Although it shed some light, I'm still needing more.
    I am not a constant user of PSE, rather,  I only use it on occasions.  Normally, I use its scanning features.  I may play around with a few other features, but I also know that PSE offers many other powerful features, I rarely, if ever, use.

    This is the Photoshop forum.  You want the Photoshop Elements forum:
    Photoshop Elements

  • HELP~~ NO multi selection for camera roll ??

    i got this issues that no multi selection for camera or album?sometime i did shoot too many photo,when come del or share i totaly freak out!! one by one this make sick,any one know how to do that ??

    Yeah
    Just give me an hour or two and I'll rewrite the OS for you so you can do that........

Maybe you are looking for

  • Report based on custom Query - Question about Data Source

    Hello, I am trying to create Crystal reports (EBO R3.1, Oracle 11g Database, CR2008) based on custom queries. Tried using different kinds of Data Sources but getting stuck once I export them to Infoview. 1. Using Oracle Server: This method works fine

  • Compiling ant 1.6.2 for Solaris 10 x86

    Hi, I need to compile Ant 1.6.2 on Solaris 10 x86 edition (S10 x86 comes with ant 1.5.4 but some of the newer ant syntaxes are not supported in 1.5.4). When I tried doing the compile using Ant 1.6.2 sources from ant.apache.org, I get the following er

  • Spry Accordion, UseFIxedHeights is not sticking

    Hello ds::Spry, I have been working with accordion widget, i changed the css styles to it matches the layout. Its using a dataset with it. But it seems since i started using the dataset + region observer, the fixedheight isnt working anymore. The odd

  • Iweb page asking my friend for mobile me id to see page not marked private

    After several days of trying, I got Iweb to publish my site. I sent the link provided. I tried the link myself...opens fine. Also opens on an XP / IE laptop after typing in the url. Now my friends can't open it. I did not mark it private and don't kn

  • Exit or BADI for checking insurance relantionship

    Hi    I need to make some checkings on insurance provider on insurance relationship screen on NP10. I've been looking for them and i've got user-exits NVVH0000 and NVVH0001. I've implemented my checkings, and activate them, but the code is not execut