Tag Info

Hot answers tagged

2

Try adding dialogReturnValueCallback:RefreshOnDialogClose to your options object: var options = { url : pUrl, dialogReturnValueCallback:RefreshOnDialogClose };


1

Seems this is a bit tricky as SharePoint uses the modified by field for the poster. There's two ways I could see this working. I don't know XSL well enough to advise you on creating an XSL template and injecting it into the web part, but seeing as this is an xslt web part you presumably could do this and return whatever value you want in any area. You may ...


1

How to post a reply in Discussion Board using SharePoint JSOM Use SP.Utilities.Utility.createNewDiscussionReply(Context, parent) Method to post a reply to a discussion item: function createMessage(discussionItem,properties,OnItemAdded,OnItemError) { var context = new SP.ClientContext.get_current(); var messageItem = ...


1

I think you got the answer by now. Recently I get into same problem so here is what I think. Discussion board app - You would not choose this approach unless you don't need the feature like reputation. This app is just a document library limited in two content types: message and reply. Community site - It gives you the full feature of a dicussion board ...


1

Microsoft recognize this as an issue and at this point cannot make a fix to the edit logix for the page as it introduces substantial risk to the product stability, instead suggested to go with the workaround "The user has to explicitly checkout the page and then click Edit Page."


1

One approach is to add the existing field "Append-Only Comments" to your document library and activate versioning. Than you have the same behaviour like the "Comments"-Column in the "Issue Tracking"-List. Everytime a user edits an item the user can add a new comment with username and timestamp. Sure, you don't have the same features like the discussion ...


1

If you are using SP2013/2010, there is a feature for what exactly you are looking for. 1) Go to the document library. 2) Select a document(by clicking the check-box). 3) Open the Library tab from the ribbon on the top. 4) Click on the "Tags and Notes" link on the ribbon. 5) Click on the "Note Board" tab on the Popup. 6) Write your comment and ...


1

Consider setting up permissions right after the topic is created. In simplest case you can do it manually: click Manage discussions link, select discussion and click Shared With: Or you can create a workflow for that, that would pick the settings from the field. This opensource project provides a set of workflow actions for setting permissions: ...


1

Out of the box, it's not possible to get notifications unless you are mentioned or replied to. All Newsfeed settings can be found at About Me > Edit > ... > Newsfeed settings Reference: Change your newsfeed settings


1

Ticketing system is usually necessary if there are many tickets. But putting many items in one SharePoint list is usually not a very good idea, because after reaching 5k limit, it will become more and more difficult to work with this list, especially programmatically. Also there's a limit of how much unique permissions can be in a list. Distributed ...


1

Since a reply in Discussion Board is represented as List Item you could utilize a common update operation as demonstrated below: var ctx = SP.ClientContext.get_current(); var list = ctx.get_web().get_lists().getByTitle('Discussion Board'); var messageItem = list.getItemById(listItemId); //get message item by its Id messageItem.set_item('Body','Welcome to ...


1

I just encountered a similar issue after editing the ReadOnly value of the Allitems.aspx view (Subject) to ReadOnly="False". When I saved the file, it changed the Show this view value (on the Edit View page) to In all folders. Once I changed that back to In the top-level folder, discussions would default back to the flat view.


1

First off, if you are running code to update list items outside of sharepoint, you need to have it run on the sharepoint server. Scripts that access your sharepoint web, grab elements by parsing lists, and updating items, all needs to happen serverside. It currently sounds like, since you are using javascript, that you are attempting to access this data ...


1

Please check if you had set any hidden fields to non-blank. If so, you need to change the option "Require that this column contains information" of them to "no". See the following article: http://www.alexangas.com/blog/2009/07/the-rows-you-modified-could-not-be-saved-to-the-server-due-to-validation-errors/


1

I would imagine the content is most important here. One way to do this, might be to export your source Discussion Board to Excel, then use one of the open source projects from Codeplex to import that content into your target Discussion Board. https://spimporter.codeplex.com/



Only top voted, non community-wiki answers of a minimum length are eligible