Questions tagged [pnp]
The Offive Dev PnP is an open-source, community-driven initiative coordinated by SharePoint engineering. PnP includes development documentation, samples, reusable controls, and other relevant open-source initiatives related to SharePoint development that are closely involved with SharePoint engineering, but are not part of the official standard product or service offerings.
432 questions
0
votes
0
answers
6
views
Custom Layout for Filter or verticals Webpart PNP Modern Search
I was trying to create a custom search verticals layout, only to find out the ootb search verticals are not customizable. Is it possible to display static refiners/filters with the PNP Filter Web Part?...
0
votes
2
answers
69
views
PnP modern search: showing results from 2 sites in separate results web parts on the same page
I'm tasked with adding filter/search results from a different site (with different managed properties) on the same page as an existing search set up. One instance has 2 filter options, the other 3. ...
0
votes
0
answers
28
views
The Summary column in the PnP Modern Search Web Part does not highlight matching text from file content
I am new to PnP modern search webpart V4.
Version : 4.16.0
in Search result webpart the query template is as :{searchTerms}
when I search something in searchTerms it shows summary with matching ...
-1
votes
1
answer
109
views
PnP Modern search v4 isn't returning file names in results
No matter which template I use for results, the "title" field shows up in place of the file name. I've replaced the Title reference with "FileLeafRef", "Name" etc in the ...
0
votes
0
answers
23
views
RichText editor pnp font size
Does anyone know how to set default font Size on RichText pnp spfx component ?
The default is 18px for some reason...
0
votes
0
answers
21
views
$Resources not resolved in SP 2019 in Custom Ribbon button
I have a custom Ribbon Button Deployed using pnp. The relevant part of the template is
<pnp:CustomAction
Name=...
...>
<pnp:CommandUIExtension>
<CommandUIDefinitions>
...
0
votes
3
answers
156
views
SPFX setup for pnp
Dear experts below are the configuration i have for spfx setup, when i do gulp serve i get the error (Task never defined: serve
To list available tasks, try running: gulp --tasks
About to exit with ...
0
votes
1
answer
25
views
Returning SharePoint workspaces in PnP modern search results
I have a one hub site and around 150 sites are associated with it.
I have created a modern search experience, in one of the scenarios when searched using search box I have to show the workspaces ...
0
votes
1
answer
65
views
How to update a SharePoint row instead of creating a new one?
I am using the PnP DateTimePicker web part in SPFx, and the following code works great. When I select a new date in the DateTimePicker, it saves the date to a SharePoint list. However, every time I do ...
0
votes
1
answer
43
views
'DateTimePicker' is declared but its value is never read
I try to use the PNP DateTime picker. In the instructions it said I have to put this line for the import:
import {DateTimePicker} from "@pnp/spfx-controls-react/lib/DateTimePicker"
But i ...
0
votes
0
answers
64
views
How do I use PnP to move large amounts of files without breaking sharing links and permissions?
I'm trying to find an archiving solution for my company that's easier than using the GUI and scrolling through large amounts of files and folders and manually using the Move To button. I have written ...
0
votes
0
answers
45
views
PnP Modern Search not getting value of column for Site Pages
I am trying to build a search page that uses PnP Modern Search web parts that would be looking at 2 paths: 1st path is a Document Library and 2nd path is the Site Pages library. Both paths have a ...
0
votes
1
answer
593
views
Access Denied: This application does not have the required permissions to access profile information. Pnp Framework
I'm using pnp framework with App registration client id & secret to authenticate to sharepoint site. I'm able to access list & user based on email. I need to find manager of the user from ...
0
votes
2
answers
174
views
pnp get another site
I am in one sharepoint site and want to get the news from another one
I have my method
async function fetch(sp: SPFI, filterSite: string = null) {
try {
const myurl = "https://mygroup....
0
votes
1
answer
261
views
Invoke-PnPSiteTemplate stops at error "The given GUID does not exist in the term store"
My goal is to clone a whole site from one tenant to another.
I can obtain the content of the source site by opening a connection
Connect-PnPOnline -Interactive -ApplicationId…
and extracting the ...