Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 394995
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T16:24:37+00:00 2026-05-12T16:24:37+00:00

I am building an Internal social networking website on SharePoint. Since its a networking

  • 0

I am building an Internal social networking website on SharePoint. Since its a networking intranet, I want it to be Open and non moderated. However, I also dont want people to use abusive / Foul or bad language words in the portal.

I tried Googling and wasnt really sucessfull in finding a solution.

Microsoft Forefront will do that for me, but it only does for Documents. But I also want to do that on Lists since Discussion forum on the SharePoint is in a list format.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T16:24:37+00:00Added an answer on May 12, 2026 at 4:24 pm

    You may create site solution/list definition for your site using Visual studio Sharepoint Site Solution Genarator. Create a custom list and name it as you wish. I would name it “AbusiveWordList” in the following code example.

    After creating site solution/list definition, Add below code in Item Adding function, which will iterate through all column in the list and will check from the custom list that is created named “AbusiveWordList”. This list contains abusive words.

    The chkbody function which will reference list item from custom list named “AbusiveWordList” and check if the bodytext contains item from AbusiveWordList.If yes, then it will throw an error.

    *base.ItemAdding(properties);

    foreach (DictionaryEntry
    dictionaryEntry in
    properties.AfterProperties) { string
    bodytext = “”;

    bodytext = bodytext +
    dictionaryEntry.Value;

    finalwordcount = finalwordcount +
    chkbody(bodytext, properties); }

    if (finalwordcount > 0) {
    properties.ErrorMessage = “Abusive /
    Foul / Illicit information
    found.Kindly refer to the terms and
    conditions.”;

    properties.Cancel = true;

    }

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm building a small internal social media data sharing app. A bunch of users
I am building an internal, data-heavy website for my company on the Microsoft stack
I'm building an internal web app and I want to make use of the
I'm building a small local social good community website where every project has his
I'm building an internal app. I want to be able to press a button,
I'm building an internal website in Perl and I would like to get it
I'm building an internal (intranet) MVC3 application using Windows Authentication and a custom role
I'm building an internal monitoring site that mainly receives data. The site is intended
I'm building a new web app that has a requirement to generate an internal
We have an internal software development team in my company that are building a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.