SharePoint
Feedback by UserVoice

Ron van der Ham

My feedback

  1. 223 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    2 comments  ·  SharePoint Dev Platform » SharePoint Framework  ·  Flag idea as inappropriate…  ·  Admin →
    Ron van der Ham supported this idea  · 
    An error occurred while saving the comment
    Ron van der Ham commented  · 

    I'd like to add, as a suggestion for implementation of this requirement, a ListViewPane extension.

    NPM Package
    -----------

    The destination package can be: "sp-listview-extensibility"
    Folder/files:

    /lib/pane
    BaseListViewPane.d.ts
    BaseListViewPane.js
    ListViewPaneContext.d.ts
    ListViewPaneContext.js

    BaseListViewPane
    ----------------
    The BaseListViewPane class can look like this.

    declare abstract class BaseListViewPane<TProperties> extends BaseExtension<TProperties> {
    readonly: context: ListViewPaneContext;
    constructor();
    getCommand(): Command; // get button in command bar
    onListViewUpdated(event: IListViewPaneListViewUpdatedParameters): void;
    onShow(): void; // when the pane gets shown because corresponding button is clicked
    onHide(): void: // when the pane gets hidden because other pane shows or button is clicked again
    onRenderPane(event: IListViewPaneEventParameters): void; // to fill the pane with awesome content
    onDisposePane(event: IListViewPaneEventParameters): void;
    }

    Custom Action
    -------------
    Custom action to add to Elements.xml

    <CustomAction
    ...
    RegistrationId="100" (or "101")
    RegistrationType="List"
    Location="CLientSideExtension.ListViewPane"
    ClientSideComponentId="012345-6789-abcd-ef01-2345-6789abcdef"
    ClientSideComponentProperties="{}"
    ...
    />

    Also there is a need for a button on the far right (LTR) of the command bar, which toggles together with the FilterPane and DetailsPane buttons.

    A pane like this can also be used to enable the MUI for DocumentSets: the DocumentSet-level properties can be shown in a ListViewPane.

Feedback and Knowledge Base