How to differentiate a dimension single slect or multi-select

Hi,
I am trying to seperate out the dimensions list based on whether its a multi-select dimension or a normal one, beacause I want to display all multi-select (facets) dimensions at bottem and normal dimension for navigation at the top.
Is there any method(in presentation API) to get only the multi-select dimensions? bcz UI developer doesn't know what endeca developer configured as multi-select in Developer Studio.
Thanks
Dev

Key properties will give you the information you need.
If you call ENEQuery.setNavKeyProperties("KEY_PROPS_ALL"), your Navigation response object will include key properties. You can then call Navigation.getKeyProperties() to get the map of key properties, and look up the Endeca.MultiSelect property for a dimension to find out if it is multiselect.
This info can safely be cached, 'cause it doesn't change without a re-baseline.
--Andy                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Similar Messages

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

  • How to Delete the dimension from the cube ?

    Hi ,
    how to Delete the dimension from the cube ?
    i have added the new dimension by assiging one characteristic to that dimension .
    now i  want to delete it ,
    but system saying that   Dimension ZXXX  contains InfoObjects; deletion not possible .
    how to delete it ? any help .
    Thanks

    Make sure you donot have any data in cube. If you have some data in cube, then you will not be able to see Delete option.
    Right click on the cube-->Delete data.
    Then double click on the cube>Goto Edit mode> select the IO under that Dimension> right click> now you will be able to see the Delete option (provided you have deleted all the date from Cube)
    Then right click on Dimension-->Delete
    Regards,
    Pavan

  • How can I view as "single page continuous" in full screen mode?

    how can I view as "single page continuous" in full screen mode?
    preferences->page display:
    preference->accessbility:

    Not possible.

  • How can I restore a single image from an aperture time machine backup, do I have to restore the entire library? that does not make sense

    I hope there has been found a more efficiant solution for this,  how can I restore a single image from an aperture time machine backup, I really hope I don't have to restore the entire library? that does not make sense
    any suggestions?

    Did you try browsing your backups in the Finder ?  That is, do not go and "Enter Time Machine".  Instead, navigate to your Time Machine backup via Finder and then manually go to the time period (by folder name) you are looking for ... when you find your Aperture library you can then "Show Package Contents" and find the Master you are looking for.

  • How to differentiate b/w Plan and actual data

    Hi,
    How to differentiate b/w plan nad actual data.
    Is that value type or Version InfoObject??
    What should be the value for that and how it gets populated ??
    Regards,

    Hello Tapan,
    The plan and actual data is differentiated on the basis of value of infoobject 0VTYPE. Value 10 is for actual. Different plan versions can be differentiated by different values of infoobject 0VERSION.
    These values are populated when actual data is loaded or plan data is entered.
    Hope it helps.
    Regards,
    Praveen

  • HT1660 how can I use one single library for all users on the same laptop?

    how can I use one single library for all users on the same laptop?

    You are most of the way there. Each user having access to hard drive is the key. If users are limited in file privileges this is harder.
    Any files you add to your library and any files she adds to her library are available to the other. Just not automatically. Each user must add the files to their own library using the add file or add folder option from menu bar.
    What I have done is set library location to a location outside of My Documents\My Music. On my network storage I have a folder names s:\itunes. Both accounts iTunes are set to use this location for the library.

  • How Do I Use a SINGLE Custom CSS for My Project?

    How do I set a single CSS for a project?
    Currently, I have linked (I checked, they are actually linked) FM files. The project is Responsive HTML 5 Single Source Layout. It is set up this way:
    Project Files
    Each FM file has a folder that contains a CSS, an FPJ, any baggage (PNG, for example) and an HTM.
    So, for my project, I have 31 such folders.
    Above them is RHStyleMapping.css.
    That's it
    To map my project to a custom CSS, I did this:
    1) Created the custom CSS (let's call it TheSingleCSS-sb01.css) and put it in the same location as RHStyleMapping.css.
    2) Right-clicked Responsive HTML5 (Primary Layout) in the Single Source Layouts pane.
    3) Selected Properties. The Responsive HTML5 Properties dialog box opens.
    4) Click Content, select  the Apply to all Topics check box, select CSS, and choose my CSS, TheSingleCSS-sb01.css.
    5) Click Save and Generate. Generating happens.
    6) When prompted, click View Result.
    7) Double-click one of the resulting topics, and choose the HTML tab.
    8) Notice the following CSS files are referenced, NOT the one I want:
    <link rel="stylesheet" href="Configuration_ChangeWorkflow.css" type="text/css" />
    <link rel="stylesheet" href="..\..\RHStyleMapping.css" type="text/css" />
    <image>
    So:
    1) How can I replace 32 individual CSSes with one single custom CSS?
    2) Also note that Project Manager does not display my custom CSS, even though it is in the same location as RHStyleMapping.css and referenced in the Properties dialog box.
    Thanks all,
    Sean

    Hi, so as I mentioned before, I have used Apply to all and this doesn't work. The resulting HTML still uses a specific CSS for that one HTML file.
    1) I put the CSS I want to use, Sean01.css, in the top level of my project using Windows Explorer.
    2) I Save and Generate.
    3) But, my settings for styles in the CSS are not used. For example, FM_GlossaryDefinition is defined with a 0 left indent but actually uses a 144pt indent (that mirrors the print FM document and that I do not want).
    4) And, you can see from the actual HTML, that the Sean01.css file that I applied to all topics (see the first image) is not referenced. What am I doing wrong?
    What am I doing wrong? Again, these are imported FM files; this is not linked.
    Thanks,
    Sean

  • How do i transfer a single CD on to my back up hard drive without having to transfer the whole itunes library?

    How do I transfer a single CD recently loaded on to itunes to my hard drive without having to transfer the whole itunes library?

    Copy just those files. But that isn't ideal. You really want a differential system that efficiently updates the backup set with all new and updated files.  See Backup your iTunes for Windows library with SyncToy for a suggested strategy.
    tt2

  • How can I delete a single song from my iPad?

    How can I delete a single song from my iPad?

    Hi lizdance40,
    The first part of your answer worked great, thanks for that!  However, since doing that, there are still songs on the iPad that I want to delete. I place my finger on the song, swipe to the left....and nothing. No red "delete" appears at the right. That used to work on my full size iPad, but not on this mini. I just purchased it last Friday...maybe it's defective?
    Thanks again,
    Sirsheila

  • How can I create a single order from multiple quotations?

    How can I create a single order from multiple quotations that I have created by the transaction VA21 ?
    Thanks in advance for the answers.

    hi
    Go to transaction: /nva01
    Enter order type : ZOR
    Sale org :xxxx
    Dist.channel:xx
    Division :xx
    Press enter
    Click on “Sale document” and select Create with reference
    Then enter 1st quotation number & click on “COPY” or “Selection list”. Then click on “Copy “.Then all line items which belong to quoation1 copy to order.
    Then,
    Click on “Sale document” and select Create with reference
    Then enter 2nd quotation number & click on “COPY” or “Selection list”. Then click on “Copy “.Then all line items which belong to quoation2 copy to order.
    Then,
    Click on “Sale document” and select Create with reference
    Then enter 3rd quotation number & click on “COPY” or “Selection list”. Then click on “Copy “.Then all line items which belong to quoation3 copy to order.
    Now save the sale document.
    Kindly give reward points
    Edited by: WISH on Mar 19, 2008 2:25 PM

  • How can I get a single jar file with NetBeans?

    How can I get a single jar file with NetBeans?
    When I create the project I get these files:
    dist/lib/libreria1.jar
    dist/lib/libreria2.jar
    dist/software.jar
    The libraries that have been imported to create the project are in separate folders:
    libreria1/libreria1.jar
    libreria2/libreria2.jar
    libreria1, libreria2, dist folders are all located inside the project folder.
    I added the following code to the build.xml:
    <target name="-post-jar">
    <jar jarfile="dist/software.jar">
    <zipfileset src="${dist.jar}" excludes="META-INF/*" />
    <zipfileset src="dist/lib/libreria1.jar" excludes="META-INF/*" />
    <zipfileset src="dist/lib/libreria2.jar" excludes="META-INF/*" />
    <manifest>
    <attribute name="Main-Class" value="pacco.classeprincipale"/>
    </manifest>
    </jar>
    </target>
    Of course there is also the project folder:
    src/pacco/classeprincipale.form
    src/pacco/classeprincipale.java
    Can you tell me what is wrong? The error message I get is as follows:
    C:...\build.xml:75: Problem creating jar: archive is not a ZIP archive BUILD FAILED (total time: 2 seconds)

    This is not a NetBeans forum, it is a JDeveloper forum. You might want to try http://forums.netbeans.org/. I also saw your other question - try looking in the New to Java forum: New To Java

  • How can i declare a single radio button field in selection-screen ?

    How can i declare a single radio button field in selection-screen ?

    >
    Rob Burbank wrote:
    > And how will you turn it off once it is turned on??
    >
    > Rob
    Thats correct ;)...See ravi if users will ask so many things its our Job to convay the correct solution ....
    Just post your org requirement..SOo some body guide you better//
    Sas

  • How can I delete a single password stored in Sync?

    I entered a password that i don't want to be stored online. How can one remove that single password? thx for replying...

    My page was blank.  I took your suggestion and added some text.  When I deleted all of the text the page deleted too.  Thanks!!!!
    Spencer

  • How can I put a single song in ipod without having to reset it ?

    How can I put a single song in ipod without having to reset it ?

    Managing content manually on iPod
    http://docs.info.apple.com/article.html?artnum=61148
    Patrick

Maybe you are looking for

  • Certain podcasts won't download err=3259

    itunes 8, now 8.01 refuses to download certain larger podcasts. There is no firewall enabled, no norton/antivirus software, and yes, i have checked all of the other relevant information on the discussion boards and tried those that seemed applicable.

  • Can i connect apple thunderbolt display to an windows base pc

    is it possible to connect thuynderbolt display to windows base pc throu dvi or hdmi???

  • SetVariable in IE6.0

    I'm using the following code in a javascript function to set variables in a SWF It works fine in IE7 and FF2 but variables are not being passed in IE6.0 - they show up as undefined. I spent several hours Googling for some enlightenment on this, check

  • Default sorting for playlists

    I have Itunes on 3 computers, so whenever I make changes to playlists on one, I like to update the other 2 with those changes. The best way I find is to use "export library " and export my most recent playlists. I then delete all the playlists on my

  • Adobe InDesign CS6 8.0.3 Release ?

    What is this release? No link or download is available, but the update is included in the release notes. Hoping this will fix retina compatability issues!