Questions tagged [pnp]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4
votes
2answers
6k views

How should I update the Office SharePoint PnP PowerShell Commands?

Every month there is a new release of the Office SharePoint PnP PowerShell Commands. I've been downloading them and just running the install wizard (next-next). This time (november 2016 release) I ...
1
vote
1answer
546 views

SPFX - cannot get actual label of managed metadata list field

I am using @pnp/sp to get list item data from sharepoint and i am getting list items with managed metadata field and user field. i can get all but not the metadata label which is the one i mainly need....
1
vote
1answer
360 views

var values outside the PnP JS-Core method

Why doesn't this work? Example var w = new $pnp.Web(baseurl); var thisfieldid; w.lists.getByTitle("List").fields.filter("Title eq 'Column1'").get().then(function(data) { thisfieldid = data[0]....
1
vote
1answer
615 views

How to publish a HTML pagelayout in pnp-Powershell?

I would like to publish a pagelayout html file with pnp-Powershell. This is a custom html pagelayout which is related to an aspx file. These files are stored in the masterpage gallery.
1
vote
1answer
524 views

Trying to update Managed metadata column value in sharepoint library using pnp js

pnp.sp.web.lists.getByTitle("ListName").items.getById(1).update({ Title: Title, DeptDiv://internal name of list column { __metadata: { "type": "SP.Taxonomy....
1
vote
2answers
4k views

Sharepoint Online upload files to library with PnP-JS-Core 2.0.7

How do I upload a file with all properties or fields values to a sharepoint library? I'm using PnP-JS-Core 2.0.7 Thanks!