Stack Exchange network consists of 176 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It only takes a minute to sign up.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
I am not able retrieve image column from SharePoint list in my solution using sp-pnp-js.
Try below code inside forEach:
let imageUrl = item.Picture.Url
let imageUrl = item["Picture"].Url
Then pass this image URL inside src attribute of img tag.
let dateColValue = item.InternalNameOfDateCol
let dateColValue = item["InternalNameOfDateCol"]
You could get picture url this way:
get date column:
This worked for me:
BUT I was using CAML query to retrieve items.
Required, but never shown