The Stack Overflow podcast is back! Listen to an interview with our new CEO.
7

Certainly, the standard recommendation moving forward would be to use modern sites and a flat structure, rather than subsites and/or classic sites. You're right, this changes how we approach things like content types. The content type story is an interesting one these days: Content type hubs haven't been updated recently, nor have they been talked about ...


4

I had similar requirement recently, however did not find any out of box way of doing it. Something I did: Create a new column e.g. status Create a workflow to rename the title (add [CLOSED] to the beginning) and then modify the permission of members group to read. Once the status has changed to closed, members will not be able to reply. If you have found ...


3

No, you can't do it for sub community sites The Enable auto-approval option is available only for communities that are root site collections and not available for community subsites Managing Community Memebership


3

When a user join the community then its Member Status set to 1 with reputation score of 0. But if the user left the community without doing anything then his Member status change from 1 to 2 and reputation goes to Minus -1 I.e if User a join and left without any participation then his Member Status will 2 & Reputation Score will be -1 If user b join ...


3

In general, team sites are more focused on content. They are meant to be used as "a single environment to create, organize, and share content." Features of this site type include: shared docs, announcements, calendars, links, tasks, discussion boards. These sites are good for document management or when the site is focused more on providing content and ...


3

Discussion content type seems to be very fragile. Reputation mechanism started failing when I added the Enterprise Keywords column to this content type. While in this context, discussion counters where not updated and as soon as I removed the column, expected behavior came back. Some other remarks: discussion counters will not decrease if the posts are ...


2

I'm not sure about an add-on, but here's how I would do it without an add-on. Create a view of the discussion list filtered to show only items in one of the categories. Repeat for each category. (You'll probably have to base the views off of the "Management" view, but I think that's ok because users won't really ever look at these views.) You (or another ...


2

Another way to approach this is: how much risk is acceptable in my project ? The flat model and hub sites gives us a lot out of the box, however once we hit the boundries, we hit them at full speed, and only a very limited number of the old tricks we know is available in Modern SharePoint. One thing is for sure, we'll be writing a lot of PowerShell in the ...


2

hoffie4 is correct, but let me say that each of these is merely a template or jump start of a site. They are actually the same thing. You could start with a blank site and get to either one by creating libraries/lists or activating features. Just find the one that is closest to what you want and add or subtract elements to get what you want. I usually ...


1

To get the list of replies _api/lists/getByTitle('listname')/items?$filter=ContentType eq 'Message' or /_api/lists/getByTitle('listname')/items?$filter=FSObjType eq 0 To get the list of Discussions with the replies count: /_api/lists/getByTitle('listname')/items?$select=ID,Title,Body,Folder/ItemCount &$expand=Folder/ItemCount &$filter=...


1

If you are using SharePoint 2013 or later, create a subsite based on the "Community Site" template. It supports questions and answers, and even a point based scoring system with titles/metals if you like. Tagging will not work exactly the same, but you can create categories of questions.


1

You can activate feature using ShellScript as shown below Import-Module Microsoft.Online.SharePoint.Powershell $siteurl="https://sitename.sharepoint.com/sites/sitename/" [Microsoft.SharePoint.Client.ClientContext]$clientContext = New-Object Microsoft.SharePoint.Client.ClientContext($siteurl) $username="username" $secure_string_pwd = convertto-...


1

Communication site doesn't support global navigation using managed metadata. see below link. https://techcommunity.microsoft.com/t5/Communications-Sites-AMA/Do-Communications-Sites-support-Global-Navigation/td-p/83158 you need to create either team site.


1

It doesn't appear possible - Discussion boards are only a list that are just styled differently to appear like a threaded discussion. @Mentions and #Hashtags aren't compatible. See this post for more information > https://sharepointmaven.com/newsfeed-or-discussion-board/ It also would appear that if you created the discussion board PRIOR to activating ...


1

Shailen Sukul has a great example posted on the MSDN forums. I suggest you start there first. https://social.msdn.microsoft.com/Forums/en-US/54d780ea-df2f-408d-9056-cf6f0c27f04e/add-xsltlistviewwebpart-via-code?forum=sharepointdevelopmentprevious


1

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 ...


1

Sure, since members are stored in a regular list (named Community Members) in Community site, you could perform CRUD operations using any API (SSOM, CSOM, REST, SOAP) Example How to set Gifted Badge to a Member via CSOM (JavaScript) var context = new SP.ClientContext.get_current(); var list = context.get_web().get_lists().getByTitle('Community Members'); ...


1

In every blog site there is one Comments list. Always called "Comments". In this list there is a column called Post ID. Therefore if you already have your post, you grab the ID, look at the comments list and query for all comments where Post ID = Blog Post ID. A simple CSOM CAML query should do it. (Looking at the Post Id column it is stored as 1;#1 so you ...


1

i know there is no custom code but you need to change the aspx to show your new fields! as you pointed out it only displays the two fields! so you need to add in the extra custom fields to be displayed! i wouldnt of thought that its dynamic... if it was then they wouldnt of hard coded in two fields it would of been set to auto generate the columns! if it ...


1

Got the solution by referring this and this posts, thanks a lot to them who posted. My code is: SPFile file = web.GetFile("SitePages/Community%20Home.aspx"); file.CheckOut(); SPLimitedWebPartManager wpmgr = file.GetLimitedWebPartManager(System.Web.UI.WebControls.WebParts.PersonalizationScope.Shared); Guid wpStorageKey = Guid.NewGuid(); ...


1

Top contributor Web Part is based upon gramification and reputation model and I don't think members can't simply be added as top contributors. Instead members have to earn it or rewarded/gifted reputation scores to appear as top contributors. Moreover, Community site doesn't expose any API at the moment


1

The discussion board does not have a calendar view available. I don't recall it ever having an option to use a calendar view in any version of SharePoint.


1

You need to enable content types and add the Document Set content type for this to work. using (SPSite siteCollection = new SPSite("http://localhost")) { using (SPWeb site = siteCollection.OpenWeb()) { // Get a content type. SPContentType ct = site.AvailableContentTypes["...


1

Follow the steps below Go to your Promoted Links List. From the Ribbon select "List" and change the view to "All Promoted Links" Instead of default "Tile". This should change your list to regular list instead of showing Tile. Now select one Item from the list. While you item select, from the Ribbon select "Item" and click "Shared With". Click Advanced on ...


1

Yes, there are two parts you'll need to build. Part 1: A way to track which sites a person visits. This may be a httpmodule, or some JS/ajax in your masterpage, or a control in your masterpage or a webpart that is on the landing page of every site, etc. Something that will record in a database somewhere the userid, site title, site url, and datetime of ...


1

Based on Tim's version above, this version is CSOM. Our farm is set up to use our corporate ID numbers. This takes a text file with a list of those numbers and adds them to the community. # This script requires at least PowerShell 3.0 to work # Please install the SharePoint client components SDK - http://www.microsoft.com/en-us/download/details.aspx?id=...


1

If the problem is still occurs, try this PowerShell script: Add-PSSnapin "Microsoft.SharePoint.PowerShell" $site = Get-SPWeb -Identity http://<Your site address> $listname = "Members" $list = $site.Lists[$listname] $users = Get-SPUser -Web $site -Group "<The name of the required group on $site>" -Limit all foreach ($user in $users){ ...


1

I have investigated personally about this matter and the answer is no, out of the box. You can use the badge system but not automatically and any user can only have one badge at a time. Badges are assigned manually and not automatically. The community is a great improvement from the old discussion board, but still no cigar.


1

The workaround is to temporarily change the category of the discussion. This triggers some kind of job that corrects the counts. I am likely going to write a utility that goes through the list and does this automatically at the click of a button.


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