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

Similar Messages

  • 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
    -------------------------------------------------------------------

  • 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

  • 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

  • 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

  • How to view multi-select responses in individual columns

    Hi,
    I have a multi-select field on my form. Users can check none, one, or many responses. When viewing the resluts, the response are concatenated together by a semi-colon and displayed in one column. I need to be able to sort based on the specific responses. Other form engines put these types of multi-select responses into unique columns for sorting purposes. How do I do this in Adobe Forms?
    Thanks,
    Doug Ward

    Doug,
    Did you try the right click and leftclick on the column letter?  I'm pretty sure that addresses the issue.
    Here are a couple of screen shots using a multiselect field with choices "AnswerOne AnswerTwo AnswerThree"
    Here is what happens when you right click on the column heading:
    Here is what happens when you left click on the column's letter (in this case B):
    You'll see that in both cases, you can sort first or last by any of the options in the multiselect field.  If you sort first by AnswerOne, all the responses that chose "AnswerOne" will show up first.  If you sort last by "AnswerOne" all of them will show up last.
    Does this solve the issue you're describing?
    Another option would to use the filtering functionality.  If you open up FormsCentral, go to the Help Menu, and click on FormsCentral Help, then click on "View Responses" and click on "Sort and Filter data", it will walk you through filtering data.  Here is the link
    You can set up filters to show only the response that answer "AnswerOne" or any number of combinations ("AnswerOne" AND "AnswerThree", "AnswerTwo" OR "AnswerThree").
    Hope one of these two methods helps
    Anatole

  • Crystal Reports 8.5 Multi-Selection Formulas

    Let me start by saying that I am fairly new to Crystal Reports design, so I appreciate your patience as I try to describe my issue to you.
    I am using Crystal Reports 8.5 with an Oracle database.  The database contains a field that I refer to as a multi-selection field, meaning that end-users have the ability to select zero, one, or all values available to them in that field.
    I am designing a Crystal Report which has a checkbox for each of the selection values within the multi-selection field. So, if the end-user selects three of the values in that field, then three checkboxes appear checked, while all the others checkboxes remain empty.  I have no problem getting the checkboxes to appear; that's not the issue.
    I have tried using direct table linking and views, subreports, formulas and running totals in a number of different combinations,
    to no avail. The results have been mixed; most of the time, only one of the values gets a checked box, while all the other checkboxes are blank. Other times (with some of the subreports) it returns a full set of checkboxes with only one box checked, for each selection value that is chosen in the record.
    My basic formula for the field looks like the following, and the formula is repeated for each checkbox (country).
    if {TW_V_COUNTRY.S_VALUE} = "Japan" then chr(253) else chr(168)
    The closest I've gotten to this report working correctly is when I link an alias of the view for each country.  If I have a view for two countries and select those two values in a record, both checkboxes appear checked.  However, if I add more views for additional countries and select those values within the record, only one checkbox appears checked.
    Has anyone ever done something like this successfully? I'd appreciate any help I can get. Thank you in advance.

    Okay, I know I've said this before, but this time it really works!
    I saw something online about how crystal processes null fields - that if it reaches a null value, it will stop processing it altogether.  Here's what I saw online about null fields: http://publib.boulder.ibm.com/infocenter/iadthelp/v7r0/index.jsp?topic=/com.businessobjects.integration.eclipse.designer.doc/designer/Crystal_Syntax47.html
    I have successfully created a report that will display all of the appropriate checkboxes - blank or checked.  This method does NOT use custom views.
    My report uses a separate subreport for each selection value in the multiselection field.  The subreports are located in the Group Footer of the main report.  Each subreport has PR.ID left outer linked to the VIEW.PR_ID.  Each subreport is grouped by PR.ID.  Each subreport contains a formula for the corresponding selection value:
    WhilePrintingRecords;
    global StringVar VarCH;
    If VarCH = "" then
    VarCH:= if IsNull({VIEW.S_VALUE}) then chr(168) else
    if {VIEW.S_VALUE} = "Swiss Confederation - CH" then chr(253)
    else chr(168);
    WhilePrintingRecords;
    global StringVar VarCH;
    VarCH
    Each selection value has an abbreviation: AT, BE, BU, CH, CY, CZ, etc.  So, in the above formula, the only difference for each selection value is the name of the variable: VarAT, VarBE, VarBU, etc., and the actual selection value itself: Republic of Austria - AT, Swiss Confederation - CH, etc.  However, it may work with one universal variable throughout, like VarCountries. 
    The formula field is placed into the Group Footer within each subreport, formatted with Wingding font.  All other subreport sections are suppressed.  The subreport is placed next to its corresponding text object on the main report.  The subreports are linked to the main report: PR.ID --> VIEW.PR_ID.

  • Sun IdM: How to set a multi-value field on document.mainform via javascript

    The following will set variables.variable1 to variables.variable2 when the "Script Link" component is clicked. I would like to modify
    this so that el2 references a multi-valued element (e.g. a list generated by a Select Field)
    <Field>
    <Display class='Javascript'>
    <String>
    function myScript() {
    el=getElement(document.mainform,"variables.variable1");
    el2=getElement(document.mainform,"variables.variable2");
    el.value=el2.value;
    </String>
    </Display>
    </Field>
    <Field name='Script Link'>
    <Display class='Link'>
    <Property name='URL'>
    <String>javascript:myScript();submitCommand(document.mainform,%20'Recalculate');</String>
    </Property>
    </Display>
    </Field>
    My issue is, if variables.variable2 is a list / multivalued, i get errors trying to traverse through the "array".
    How can i read and set a list element via the javascript function above? I've tried things like get(), put() , as well
    as path expressions like variables.variable2[0] .
    any help would be appreciated....
    is there an API somewhere i can reference?

    The MultiSelect field-type is a little different than the rest of the fields. If you use the applet version, then selecting/deselecting values cannot be captured by referencing the field directly in javascript.
    The way to identify the selections is to use the javascript methods includes/MultiSelect.js file (IDM form submission uses the same method):
    fixMultiSelectAppletBeforeSubmit( )
    fixMultiSelectNonAppletBeforeSubmit( )
    .. and then referencing the "<multiselect-field>_selected" form element.
    So in your case, the code should look something like this:
    function myScript() {
        fixMultiSelectAppletBeforeSubmit(document.mainform,"variables.variable1");
        var el1 = getElement(document.mainform,"variables.variable1_selected");
        // assign the value to variable2..
        el2 = getElement(document.mainform,"variables.variable2");
        el2.value = el1.value;
    }Just make sure ":variables.variable2" is not a multi-select field, else the value set here will be reset during form submission.
    Adi
    [www.xpressutils.com|http://www.xpressutils.com]

  • How Do I Filter a Report Using a Multi Select List Box and Specifying Date Between Begin Date and End Date

    Hope someone can help.  I have tried to find the best way to do this and can't seem to make sense of anything.  I'm using an Access 2013 Database and I have a report that is based on a query.  I've created a Report Criteria Form.  I
    need the user to be able to select multiple items in a list box and also to enter a Begin Date and End Date.  I then need my report to return only the records that meet all selected criteria.  It works fine with a ComboBox and 1 selection but can't
    get it to work with a List Box so they can select multiple items.  Any help is greatly appreciated while I still have hair left. 

    The query should return all records.
    Let's say you have the following controls on your report criteria form:
    txtStart: text box, formatted as a date.
    txtEnd: text box, formatted as a date.
    lbxMulti: multi-select list box.
    cmdOpenReport: command button used to open the report.
    The text boxes are used to filter the date/time field DateField, and the list box to filter the number field SomeField.
    The report to be opened is rptReport.
    The On Click event procedure for the command button could look like this:
    Private Sub cmdOpenReport_Click()
    Dim strWhere As String
    Dim strIn As String
    Dim varItm As Variant
    On Error GoTo ErrHandler
    If Not IsNull(Me.txtStart) Then
    strWhere = strWhere & " AND [DateField]>=#" & Format(Me.txtStart, "yyyy-mm-dd") & "#"
    End If
    If Not IsNull(Me.txtEnd) Then
    strWhere = strWhere & " AND [DateField]<=#" & Format(Me.txtEnd, "yyyy-mm-dd") & "#"
    End If
    For Each varItm In Me.lbxMulti.ItemsSelected
    strIn = strIn & "," & Me.lbxMulti.ItemData(varItm)
    Next varItm
    If strIn <> "" Then
    ' Remove initial comma
    strIn = Mid(strIn, 2)
    strWhere = strWhere & " AND [SomeField] In (" & strWhere & ")"
    End If
    If strWhere <> "" Then
    ' Remove initial " AND "
    strWhere = Mid(strWhere, 6)
    End If
    DoCmd.OpenReport ReportName:="rptMyReport", View:=acViewPreview, WhereCondition:=strWhere
    Exit Sub
    ErrHandler:
    If Err = 2501 Then
    ' Report cancelled - ignore
    Else
    MsgBox Err.Description, vbExclamation
    End If
    End Sub
    If SomeField is a text field instead of a number field, change the line
            strIn = strIn & "," & Me.lbxMulti.ItemData(varItm)
    to
            strIn = strIn & "," & Chr(34) & Me.lbxMulti.ItemData(varItm) & Chr(34)
    Regards, Hans Vogelaar (http://www.eileenslounge.com)

  • In BI how to filter the selection options based on inputs on top field

    Hi Friends,
    In BI, How to filter the selection options based on inputs on top field.
    The system should automatically filter the lower level drop downs based on the selection of a higher level.
    For e.g. :
    If a user selects a Country then the States drop down should only display the State's belongs to the Country. Similarly when a State is selected, the District drop down should display only those District's belongs to the State.
    Thanks in Advance.
    Regards
    Jayaram M

    Hi Anil,
    Thanks for reply but I couldn't use Compounding Characteristic here. Need some other solution.
    Regards
    Jayaram M

  • Query values in Multi Select form field

    I have a table and one of the fields is a multiple select box. It is currently working fine
    What I now need to do is create a report based on the individual elements in that field: (This report will really just do a count of the events for ownership purposes)
    Example:
    Table simplified:
    Name     | Teams Involved
    One     | TeamA:TeamB:TeamC:TeamD
    Two | TeamC
    Three | TeamB:TeamD
    Four | TeamA:TeamD
    Five | TeamD
    Six | TeamA
    Seven | TeamA
    Eight | TeamB
    The Teams Involved are populated from a Multiple Select LOV so the Data will always remain constant in spelling etc...
    TeamA
    TeamB
    TeamC
    TeamD
    I am trying to create a report that will show me the number of times a team is selected in the Teams Involved column and the results would look like:
    TeamA 4
    TeamB 3
    TeamC 2
    TeamD 4
    I am not very good with PL/SQL but assuming I might need to do a foreach loop type using the values in the LOV and the LIKE %LOVVALUE% but just not really sure
    any assistance would be appreciated.
    Thanks in advance
    wfsteadman

    As Prabodh pointed out, I'm placing a colon at the beginning and end of the value list before doing the LIKE, so every value in the list is guaranteed to have a colon before and after it.
    Of course, this could be a performance issue if your dataset becomes large--you're not going to be able to use an index on this column--in which case you'll want to go to a more normalized solution (a table for your teams, a table for your projects [or whatever], and a reference table in the middle), but then you'll need to worry about parsing your multi-select values via a view with an instead of insert trigger. I do this on my blog for assigning tags to posts; it's not difficult, but APEX--for whatever reason--doesn't expose triggers on views as easily as on tables.
    -David

  • Multi select date field

    Hi,
    Is there any idea how to combine multi select DATE field in the check-in screen?
    Thanks, eran.

    Dates are stored using a DATE field in the database in a database date format. As such, multiple values can not be stored in the same field, only single values.
    What's the use case?

  • How to make Multi Select Picklist Field Required Based on another field

    Hi,
    I want to make one filed which is Multi select Required(mandatory) based on certain value in another filed.
    I tried putting IIf([<FieldNAme>]> 1000 AND [<FiledNAme1>] IS NULL,"Invalid",[<FieldNAme>]) in the Field validatation as but it is not working.
    Please suggest any workaround available.
    Warm Regards
    Pramod
    Edited by: user11361975 on Jun 3, 2011 5:03 AM

    I guess FieldName1 is the multiselect picklist you are referring to?
    Where did you get the ITAG from? I don't see any multiselect picklists available in Expression Builder. I doubt whether you can set validations on multi select picklists at all.
    If anyone has achieved this please let me know as well.
    Regards,
    Udaya

  • Reporting on a Multi-Select list field X:Y:Z

    I'm sure someone must have come across this problem but I can't find a reference to it on the forum.
    PROBLEM
    I have a data entry form with multi-select lists. Users choose a number of display values and the return values are stored in the field in the format
    20:30:50
    When I create an SQL report on a row, there is no option to Display the column as a "multi-select list" like there is with a standard List of Values.
    How do I report the display lookup values rather than the return code?
    Is it possible to display the selected values in a report for example
    red
    orange JOHN 10-JAN-07
    green
    red
    orange MARY 12-FEB-07
    orange
    green MARK 13-JUL-07
    regards
    Paul P

    Paul,
    I have several examples on this topic:
    http://htmldb.oracle.com/pls/otn/f?p=31517:87
    http://htmldb.oracle.com/pls/otn/f?p=31517:84
    http://htmldb.oracle.com/pls/otn/f?p=31517:75
    Basically, you will need to create a table out of your colon separated values and then
    join this table with other tables to be able to display it however you want.
    What just comes to my mind is that Dietmar presented a nice workarround for a similar
    problem here:
    Nested report howto?
    Denes Kubicek

  • What is the easy way to update Managed Metadata field multi select values using client object model C#?

    The below mentioned code works sometimes and doesn't most of the time. What is the real best way to update multi select managed metadata fields?
    Microsoft.SharePoint.Client.File file = site.GetFileByServerRelativeUrl("/sites/myspsite/Documents/Presentation2.pptx");
    clientContext.Load(file);
    clientContext.ExecuteQuery();
    ListItem currentItem = file.ListItemAllFields;
    clientContext.Load(currentItem);
    clientContext.ExecuteQuery();
    currentItem["Country"] = "-1;#India|1d13cfe9-d6f4-4bd3-a6c7-4b46a81f2a96;#-1;#China|9c1dff73-82db-44b1-8d70-f4258dd24e47;#-1;#USA|b9295c0b-67d4-4dc5-99d4-e88af888de48";
    currentItem["Title"] = "Demo Doc";
    currentItem.Update();
    clientContext.ExecuteQuery();
    file.CheckIn("test check-in", CheckinType.MajorCheckIn);
    clientContext.ExecuteQuery();
    Anuradha!!

    Hi,
    Here are two blog for your reference:
    How to Work with Managed Metadata Columns by Using the SharePoint Client Object Model
    http://blogs.msdn.com/b/sharepointdev/archive/2011/11/18/how-to-work-with-managed-metadata-columns-by-using-the-sharepoint-client-object-model-kaushalendra-kumar.aspx
    SharePoint 2010 Code Tips – Setting a Managed Metadata Field with the Client Object Model
    http://sharepointfieldnotes.blogspot.com/2011/08/sharepoint-2010-code-tips-setting.html
    Best Regards
    Dennis Guo
    TechNet Community Support

Maybe you are looking for

  • Music + ical bug

    I have found a recreatable bug that is somewhat annoying. When listening to music I hit the home screen button then the iCal button. When iCal is loading the music stops and iCal crashes. It happens everytime. Does anyone else get this? Thanks!

  • Table difference between different versions

    how do i find out which sap tables has been changed between 4.6C and ecc 6.0 version.  Is there a program I can run? website?

  • Whi isn't my Ipad able to connect to wifi when I was able to previously?

    A few days ago I had been able to connect to my home Wifi and now I can't get onto the net.  Why and what can I do to get my Wifi back on line?

  • Manipulating Images (Preview, etc.)

    I found a website that lets you download old books (public domain). Each page is saved as a jp2 image, which I can't open with my CS3 version of Photoshop. My goal is to open these images, resize and crop them, then save them for my website with the

  • Can't load class with Class.forName()

    Hi, can somebody help me with this problem. I have clas copiled with jdk 1.3.1 (I also test it with jdk 1.4.1). If I try to load a Class instance with Class.forName("package.app.MyClass)") I have a runtime exception: java.lang.ClassNotFoundException: