callout.js not located

MadelineJen 21 Reputation points
2020-07-17T13:43:36.36+00:00

Hi, I would like to create a callout to display comments in the list view. However, I'm not able to locate callout.js in my c drive (base on this website ). Is there another way to locate the file or create callout?

Thank you

SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,569 questions
0 comments No comments
{count} votes

Accepted answer
  1. MichaelHan-MSFT 18,016 Reputation points
    2020-07-20T07:57:34.263+00:00

    The callout.js file is not located in the local machine. It is located in the server where your SharePoint is installed.

    For SharePoint 2013, it is located in:
    C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\LAYOUTS

    For SharePoint 2016, it is located in:
    C:\Program Files\Common Files\microsoft shared\Web Server Extensions\16\TEMPLATE\LAYOUTS

    You don't have to locate the file. Just use the SP.SOD.executeFunc function to create your custom callout. Below is my demo code for your reference:

    12889-7.png
    Test result:

    12950-4.png

    Reference:
    36851.sharepoint-2013-creating-custom-callouts.aspx
    highlight-content-and-enhance-the-functionality-of-sharepoint-hosted-sharepoint


2 additional answers

Sort by: Most helpful
  1. srikanth chillapalli 1 Reputation point
    2020-07-24T03:06:41.363+00:00

    Test as per the user reported.

    0 comments No comments

  2. VenkataNageswaraRao Akula 1 Reputation point
    2020-07-24T03:08:12.113+00:00

    Test as per the user reported.

    0 comments No comments