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
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
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:
Test result:
Reference:
36851.sharepoint-2013-creating-custom-callouts.aspx
highlight-content-and-enhance-the-functionality-of-sharepoint-hosted-sharepoint
Hi Michael,
Thank you for the explanation and the script. My goal is to have the callout display the comments in list view in SharePoint 2013. I'm new to SP, Can you walk me through the process?
Thank you
Madeline.
Hello, Madeline.
What comments did you want to display? You could just create the callout as I mentioned, just change the content you want to disply in content attribute.
29 people are following this question.