|
I could not find an example for adding a dropdown field in advanced view. In my advanced view I would like to replace the regular input field with a drowpdown holding the field names on which the user can execute searches. Example: User selects B_NUMBER in dropdown and in the input field types 02155555. (B_NUMBER="02155555" to search) Currently I use the following view to search on 2 fields.
|
|
First off, I'm curious about why you're trying to do this in the advanced XML? It's much easier in the simplified XML but there might be something specific you're trying to accomplish by using the advanced XML. What is that? Now, to answer your question. If I take one of the simplified XML views from the UI examples that includes dropdowns, then append ?showsource=true to the URI, I can see the advanced XML behind the dropdowns. It looks like:
|
|
The reason i am using advanced XML is because I want to have this form-search on the left column of my dashboard, and another form-search on the right column. Or is there another way to do this (2 columns dashboard) without using advanced xml? |
|
If you want two columns then you need to look at the attribute 'layoutPanel' e.g <module name="StaticContentSample" layoutpanel="panel_row1_col1">then do for two columns you need another two with the following; layoutPanel="panel_row2_col1" layoutPanel="panel_row2_col1" |
