locked
Access another list in SharePoint controldisplay template RRS feed

  • Question

  • Hi All,

    I would like to know if it is possible to access another SharePoint list items in a control or item display template using Client object model or REST services. Can someone please confirm me? Thanks.


    Regards,
    SC Vinod
    Blog
    : http://sharesilver.wordpress.com/

    Wednesday, April 30, 2014 6:28 PM

Answers

  • Oh the display template. It should be possible, again you'd just have to drop the javascript onto the control template. I'll flag this thread to a colleague who's doing a bit of work on these.
    • Marked as answer by JasonGuo Sunday, May 11, 2014 4:05 PM
    Thursday, May 1, 2014 7:20 AM

All replies

  • Yes it is.

    Wednesday, April 30, 2014 7:10 PM
  • Thanks Alex...do you have any link that could help me?

    Regards,
    SC Vinod
    Blog
    : http://sharesilver.wordpress.com/

    Wednesday, April 30, 2014 7:22 PM
  • Well the new item, edit item and display item pages are simply that. You can edit them, drop a CEWP on the page and then include your javascript to pull the data from a REST API.

    Wednesday, April 30, 2014 10:33 PM
  • Hi Mike,

    I'm not asking for implementing COM or REST services in a CEWP but in the display templates of a Content search web part.


    Regards,
    SC Vinod
    Blog
    : http://sharesilver.wordpress.com/

    Thursday, May 1, 2014 5:07 AM
  • Oh the display template. It should be possible, again you'd just have to drop the javascript onto the control template. I'll flag this thread to a colleague who's doing a bit of work on these.
    • Marked as answer by JasonGuo Sunday, May 11, 2014 4:05 PM
    Thursday, May 1, 2014 7:20 AM