microsoft-search / pnp-modern-search

Home of PnP Modern Search solutions, helping you move from classic to modern SharePoint and beyond
https://microsoft-search.github.io/pnp-modern-search
Other
388 stars 341 forks source link

Pnp Result Download button remains grayed out #4116

Open CSARTAVIQ opened 1 day ago

CSARTAVIQ commented 1 day ago

Hi I've dowloaded the last version of PnP Search and I try to enable the new "Download" functionality on the search result. I'm working for several customers and it is running without problem at several customers. I'm facing an issue in 1 of my customer. I've enabled it (also the possibility to select multiple items), but when I select files in the Pnp Search Result, the Download button remains grayed out. So no possibility to use it. What's wrong ? Regards

patrikhellgren commented 1 day ago

The following selected properties needs to be available for it to be enabled SPWebUrl, ContentTypeId, NormListID and NormUniqueID so you are probably missing one of those. Also required but less likely is that it is only enabled if the files/folders are within the same host as the page you are on, i.e. the host for SPWebUrl is the same host as the one in the browsers url, and that the content type id starts with 0x0101 (files) or 0x0120 (folders). And of course it is only enabled if there is one or more files or folders selected.

CSARTAVIQ commented 22 hours ago

Hello Indeed the SPWebURL was missing. It is solved. Many thanks!


De : Patrik Hellgren @.> Envoyé : jeudi 21 novembre 2024 10:16 À : microsoft-search/pnp-modern-search @.> Cc : SARTEEL Christophe @.>; Author @.> Objet : Re: [microsoft-search/pnp-modern-search] Pnp Result Download button remains grayed out (Issue #4116)

The following selected properties needs to be available for it to be enabled SPWebUrl, ContentTypeId, NormListID and NormUniqueID so you are probably missing one of those. Also required but less likely is that it is only enabled if the files/folders are within the same host as the page you are on, i.e. the host for SPWebUrl is the same host as the one in the browsers url, and that the content type id starts with 0x0101 (files) or 0x0120 (folders). And of course it is only enabled if there is one or more files or folders selected.

— Reply to this email directly, view it on GitHubhttps://github.com/microsoft-search/pnp-modern-search/issues/4116#issuecomment-2490471891, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BJZO6HXUUSE5HXZ7CUGHFY32BWQIJAVCNFSM6AAAAABSGOPFAGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOJQGQ3TCOBZGE. You are receiving this because you authored the thread.Message ID: @.***>