I have requirement to customize search results hover panel, where we need to add Delete link same as Edit,Follow,Send as shown in below image which delete the current item.

Need To Add Delete link which delete the current item/selected item

  • 1
    What have you tried and investigated till now? You will have to work with Display Templates for customizing hover panels. – Asad Refai Sep 27 '17 at 6:07
  • I have added Version History and Edit Properties links to the hover panel and working fine . but i am not able to achieve delete link to delete the item. – sridhar reddy Sep 27 '17 at 6:34
  • I tried with deleteObject() function but it didn't worked. Can we use REST Api in Display templates? – sridhar reddy Sep 27 '17 at 6:40
  • Did you check this link? technet.microsoft.com/en-us/library/dn794232.aspx – John Zachariah Sep 27 '17 at 11:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.