Question

Can anyone tell me which function or part of the code I have to override from SP.UI.discussion.js to display extra fields in subject view of discussion board? Other than the fields it has OOTB.

Was it helpful?

Solution

You can find a good example in the following blog post: http://aroundsharepoint.blogspot.co.at/2012/11/sharepoint-2013-add-geolocation-field.html

But I think the functions in the blog post are not the correct one. As far as I could find out, the correct one are:

$2z_0: function SP_UI_Discussions_PostBehavior$$2z_0($p0){} and
$2v_0: function SP_UI_Discussions_PostBehavior$$2v_0($p0, $p1)
Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top