FilterZen: Feedback Forum > List View Picker: Disabled choice field and no default choice
Hi Mario,
this is by design: the idea is that you set the default View to show directly in the consumer Web Part. You cannot edit the choices at present and it will offer all existing List Views --- what use-case do you see for changing this? Once we make this editable, then removed Views would have to be removed manually, Views may be entered erroneously leading to support cases etc... so I'm curious if this really needs to be editable?
ROXORITY
Hello Support,
Frequently we tend to make views just for administration reasons or even temperarily ones. I think the common user would benefit only being offered appropriate ones.
I agree that this would mean a possble manual update when views are changing. But I would be in favor for that.
Kind regards,
Mario
Mario
OK we'll give this some consideration for the next update!
ROXORITY
Actually there is an easy solution for you: create your own Choice filter with the name:
_roxListView
The choices are set up one per line in this pattern:
Lists/Custom/AllItems.aspx;#All Items
Lists/Custom/TestView.aspx;#Test View
ie. web-relative-View-URL;#View Title
This lets you choose which views to offer and pre-select your own default choice.
ROXORITY
Hello Support,
Good option. We will check it out.
Kind regards,
Mario
Mario
Hello Support,
With Lists it works good.
With Libraries I tried every possible URL but cannotget it to work.
Please advice.
Kind regards,
Mario
Mario
Hello Support,
Another issue to the above:
- When we submit the _roxListView choice filter the Title fields are hidden.
The title header and title column are visible. The edit item dropdown menu is visible.
But the titles itself are not visible.
Kind regards,
Mario
Mario
Should be fixed in 3.8.0.19 --- but we're about to look into your toggle checkbox filter issue which may or may not result in another hot-fix (see different thread once we get there) so you may want to wait for this one first.
ROXORITY
Hello Support,
We have version 25 now and tried the following scenario but we cannot get this to work on a library. Please advise.
create your own Choice filter with the name: _roxListView
The choices are set up one per line in this pattern:
Lists/Custom/AllItems.aspx;#All Items
Lists/Custom/TestView.aspx;#Test View
ie. web-relative-View-URL;#View Title
Kind regards,
Mario
Mario
Works for us. Have CAML Direct filtering mode enabled? You're on SP2010 in this use case by now, correct?
Tested this from scratch with revision .25 just now and worked fine on a library. By the way you say library but then you mention "Lists/Custom", which one is it? Either way this works for Lists and Libraries -- over here.
ROXORITY
Hello Support,
Libraries never have and still does not work for me.
Can you give us a precise choice filter configuration which is tested at your end please?
Kind regards,
Mario
Mario
We just used the simplest-possible vanilla Choice filter configured only to the minimum (name and choices). Still works over here.
Anyway, this functionality is just a gizmo / gimmick, not the core product. It works for many users including us -- but it's not the core product.
ROXORITY
Hello Support,
Can give me the choice settings of your working vanilla solution. please?
Kind regards,
Mario
Mario
Will email you in due time.
ROXORITY
Mario/rest,
I tried this and it worked great. What worked for me is to set up the web-part as the List View Picker first. Then run the page and make sure it is working and showing all the views. Then view the source from your browser and you'll see the format for the choice fields. It is slightly different for a document library rather than a list.
<option value="Expense Vouchers/Forms/AllItems.aspx;#All Items" selected="selected">All Items</option><option value="Expense Vouchers/Forms/Group by Branch.aspx;#Group by Branch">Group by Branch</option><option value="Expense Vouchers/Forms/Group by Vendor.aspx;#Group by Vendor">Group by Vendor</option></select> </span> </span> </span> </span>
Then delete the filter and re-create as a Choice filter, using only the views you want to appear. I also set mine to auto update the filter when the user changes the dropdown and I removed the Filter button HTML code. Just a nice simple dropdown to change views..
Roxority product development: I understand not wanting to allow us to select the view fields because we could muck them up, but it would be nice to have a section where we could list the views we do -not- want to show up. Seems like that would solve most support issues but we could hide system views, etc that we did not want to show.
Keith



Hello Support,
The List View Picker works OK. But the possible choices field is disabled andI cannot set a default.
Foundation 2010.
Any suggestion?
Kind regards,
Mario