Sp-dev-fx-controls-react: FilePicker: How to allow picking URLs of site pages?

Created on 6 Jul 2020  路  4Comments  路  Source: pnp/sp-dev-fx-controls-react

Category

[ ] Enhancement
[ ] Bug
[x] Question

Version

Please specify what version of the library you are using: v1.19.0

Question 1

Is it possible to configure FilePicker component to display ASPX page files also? At least on the "Site" tab where I can pick a page from the SharePoint site. There is a task to provide users with ability to reference a page by its URL.

Question 2

As I can see from the code, there is an argument includePageLibraries in the getSiteMediaLibraries(). However, all the calls of this method are parameterless. Is it planned to propagate this argument to FilePicker props?

fixed-next-drop enhancement

Most helpful comment

v2.5.0 has been released.

All 4 comments

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

Same issue here, we'd like to be able to browse the files in the SitePages tab using the FilePicker component, just like the picker in the Quick Links webpart. At the moment _(version 2.1.0)_ it is only possible to browse Documents and Site Assets.

Picker in Quick Links webpart
image

Picker in FilePicker component (Hid everything except Site)
image

Any updates on this issue?

Hi @msgx - thank you for reporting this one!

The enhancement PR has been merged and will be included in the next release.

In a meanwhile you can test the functionality in beta version.

v2.5.0 has been released.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

joelfmrodrigues picture joelfmrodrigues  路  4Comments

pavan2920 picture pavan2920  路  8Comments

AdiuTankT72 picture AdiuTankT72  路  4Comments

semopz picture semopz  路  3Comments

bva999 picture bva999  路  5Comments