Is it possible to set the location on the toolbar for the qListView web part in the same way you can for the qListForm? - SharePoint Customization - SharePoint for All - Dell Community

Is it possible to set the location on the toolbar for the qListView web part in the same way you can for the qListForm?

Is it possible to set the location on the toolbar for the qListView web part in the same way you can for the qListForm?

This question has been answered by kenny.wu-quest

Hello there Community,

(Posting on behalf of a customer)

Is it possible to set the location on the toolbar for the qListView web part in the same way you can for the qListForm?

Version 6.4

Verified Answer
  • Hi Gary,

     

    The custom actions cannot work in this case, but you can create the custom actions in context menu instead of on the toolbar.

     

    Kenny.

All Replies
  • Hi,

    This would be useful as some of the qListView pages can be long even when using the filter.

    I know it is possible to limit the Page Size but I have been asked not to make this too small.

     

    Gary

  • Hi there,

     

    qListView doesn’t have this configuration. But I suggest you can try below solution as a workaround:

     

    add another qListView which has the same configuration with the first one, but keep empty in Display Fields setting, and set the CAML filter that let it return the empty record, such as “ID =-1”. After that, the second qListView just has a tool bar which is the same as the first one. At that time, no matter you click which toolbar in the page, it will effect to the same list. So you will have two toolbars around the first qListView.

     

    Kenny.

  • Hi Kenny

    Thank you for the suggestion....I have added the second qListView below the first one which looks okay but will custom actions that use a selected row still work?

    Gary

  • Hi Gary,

     

    The custom actions cannot work in this case, but you can create the custom actions in context menu instead of on the toolbar.

     

    Kenny.

  • Hi Kenny,

    They like this idea so I will add the custom actions to the context menu...

    Thanks

    Gary