Questions tagged [pnp-js-core]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3
votes
1answer
7k views

SPFx - How to get current user properties with PnP-JS-Core [duplicate]

I want to get current user login name with PnP-Core-Library for SPFx in Office365. My page is modern Page аnd I can not use it _spContextPageInfo How to do this?
1
vote
1answer
30 views

Getting always extra button on display .. 1 button dont have any ID

I am having problem while looping. I am always getting an extra button. Please help. {this.state.items.map(myitems1 => { return ( <div key={myitems1.Id}> <span>{...
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!
1
vote
1answer
509 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....