1

I have a SharePoint Online site that uses some custom Search Display Templates to display content from Document Libraries and Picture Libraries. The JavaScript code had been running fine for a couple of years. However, within the past few days, several properties of the ctx.CurrentItem object have started returning null. Namely:

  • ctx.CurrentItem.UniqueId
  • ctx.CurrentItem.WebId
  • ctx.CurrentItem.SiteId

Does anyone know what might have changed in SharePoint Online recently to cause this? Were these properties deprecated?

Thanks!

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.