SharePoint Blog - Restrict to a Single Category

Hi - we're using SharePoint 2013 Blogs to implement a news site. However, we'd like the users to be restricted to only selecting a single category of post.
Can anyone advise on the easiest method to achieve this?
Thanks for your help.

Hi Simon,
Category field can't seem to be modified/configured to only select a single value OOTB from SharePoint 2013 Blog site Posts list, however we can use JQuery to disable the "Add" button when we selected one category value for new
item from NewPost.aspx and EditPost.aspx for the Posts list.
Please go to Posts list then click "Default New From" for editing the NewPost.aspx page then add a"Content Editor" webpart (or "Script Editor" webpart), then paste the following code without any modification, and then save
the webpart and page, then it will work (and repeat for "Default Edit Form" for EditPost.aspx).
If there is any unclear, please feel free to post.
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script><script type="text/javascript">
$(document).ready(function(){
$("#PostCategory_38bea83b-350a-1a6e-f34a-93a6af31338b_SelectCandidate").change(function(){
$selected = $("#PostCategory_38bea83b-350a-1a6e-f34a-93a6af31338b_SelectResult");
if ($selected.find('option').length>0)
$button = $("#PostCategory_38bea83b-350a-1a6e-f34a-93a6af31338b_AddButton");
$button.attr("disabled", "disabled");
else
$button = $("#PostCategory_38bea83b-350a-1a6e-f34a-93a6af31338b_AddButton");
$button.removeAttr("disabled");
</script>
See more from the below article.
http://sorin.serbans.net/blog/2013/07/limiting-sharepoint-2013-blog-posts-to-one-category/412/
Thanks,
Daniel Yang
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Daniel Yang
TechNet Community Support

Similar Messages

  • SharePoint Blog Post Email receipt

    Hi,
    I have a SharePoint blog post with predefined categories. Now, we email enabled this post. The emails are being  received. However, when a post is received, we are unable to push it into a particular category during the receipt. Is there anyway when
    an email is sent to the Blog that it automatically goes into the right category? This issue applies to the community site template as well.
    Thanks,
    techie

    Hi
    How the user will send the email , and more specific will set the category?
    A workaround
    send the email subject as
    CATEGORY _ TITLE
    where category is the blog's category , next << - >> will be a separator, next the title for the blog post
    Also add a new column to your blog list, as  [byemail] , type yes, no, default value = YESY
    What you have to do is to add a workflow to your blog list, which will start when an item is added ( by email )
    it will check if [byemail]=yesy, next will split email subject as category + title, will fill specific fileds in current item, and that's it!
    Let me know if you need more details
    Romeo Donca, Orange Romania (MCSE, MCITP, CCNA) Please Mark As Answer if my post solves your problem or Vote As Helpful if the post has been helpful for you.

  • SharePoint blog categories don't work sincee upgrading from 2010 to 2013

    Our Online Learning department had a SharePoint blog when we were using SharePoint 2010.  We recently upgraded to SharePoint 2013, and all of the category and archive links don't show any posts.  Does anyone know of a solution for this? 
    I was able to create a post today with several categories assigned to it, but it still didn't show when I clicked a category link.

    Hi,                       
    As I understand, all of the category and archive links don't show any posts in your sharepoint blog.
    Check things below:
    1. To check if the Url shows correctly. When I click the category url, my url show as
    “http://server name/blog site name/_layouts/15/start.aspx#/Lists/Categories/Category.aspx?CategoryId=3&Name=Events”. 
    2. Click the category link and edit the page, then check if the needed web parts exist.
    In my environment, there are four web parts named posts, categories, blog tools, and archives in the page.
    3. Can you provide the screenshot after you click the category link?
    Best regards
    Sara Fan
    TechNet Community Support

  • Bug in Search "Restrict by Forum or Category" Menu?

    Regarding the Restrict by Forum or Category menu in the search function...
    When in the Logic Pro forum, if I do a search having chosen "All Categories" from the menu, when my search results are returned the menu changes to "Logic Pro 7". However, if I select, say, ".Mac" from that menu, the menu stays on ".Mac".
    Now, compare and contrast...
    I just tested this same behavior out here in the Feedback forum and if "All Categories" is chosen, when the search results are returned, "All Categories" sticks. That's the behavior I expected when in the LP7 forum.
    [forms quizzical facial expression, scratches head...]

    Hi iSchwartz!
    I can't duplicate that behavior.
    Which of these Forums are you searching in?
    Logic Pro & Express
    Logic Pro 7
    Logic Express 7
    When I perform a search in any of those, the results page still displays All Categories for Restrict by Category or Forum:.
    Mybe I'm misunderstanding.
    ali b

  • How to set Image for individual SharePoint Blogs?

    Hi All,
    I have created a blog in SharePoint 2013 using SharePoint Blog Template.
    Now when I paste that url in linkedin or any other site, It is showing me like this:
    Here on a left side there is a place for Image but currently It is not showing.
    Now for each blogs I want to set one particular image which will be seen when I post that in social media.
    How should I do that?
    Thanks in Advance.

    Hi,
    Yes The issue is occurring in O365 site.
    I am creating blogs in O365 Blog site.
    I read some below links but could not get it exactly what they wanted to say or how I should do It:
    This link blog is having same issue which I am facing or stuck
    http://johnliu.net/blog/2013/9/10/fixing-facebook-preview-picture-of-your-sharepoint-site.html
    http://iedaddy.com/2014/01/sharepoint-2010-meta-tags-for-search-engine-optimization-seo-open-graph-and-twitter-cards/
    But I do not know how to set custom image instead of "spcommon.png"
    default image while posting the blog link to social sites like linkedin.
    Thanks.

  • Couldn't able to pass SharePoint group to Composite or single Task activity in Declarative workflow

    Hello,
    Couldn't able to pass SharePoint group to Composite or single Task activity in Declarative workflow.
    Any Help would be appreciated!!!!
    Thanks regards, Vignesh.

    You can use a Active Directory\exchange group here. 
    SharePoint group can be used to send emails

  • SharePoint Blog Site- Post and Comments

    Hi,
    How can we display for One post top 5 comments in Blog Home Page?
    Ex: On Blog Home page have like below
    Post 1
    (1)Comments
    Post 2
    (2)Comments
    Post3
    Comments
    Here, I want display All comments in this page only, instead of opening the particular post to see the comments.
    Could you please help here
    DVGR, SharePoint Developer

    Hello DVGR,
    Are all the items in a single site collection? If so my first thought is to use a content by query web part. In this blogpost they have done the same thing but for the posts content type instead of the comments content type:
    http://erikswenson.blogspot.nl/2010/03/sharepoint-2010-content-query-for-blog.html
    Otherwise if it is across site collections I would use search.
    Hope this helps
    - Dennis | Netherlands | Blog |
    Twitter

  • -How to restrict Description into single row in the report

    Hello Colleagues
    I have a report which shows Material number versus Revenue. In the row, material is displayed with Technical name and description.
    Here, the view of the report shows the description in single line. While, in the report, description of the report runs 3 to 4 lines though description contains 5 to 6 words (which can fit easily into single line).
    Let me know how to restrict each row descrption into single line.
    Regards,
    Ningaraju

    Hello Colleagues
    Please find the format it is currently appearing in the web reports.
    Material Num        Material Description    Revenues (In Eur)
    1000001               "SAP
                                ERP
                                Professsional
                                 User"                             111
    Wanted to change above format into as below in which it has to show material description in single row.
    Material Num          Material Description                              Revenues (In Eur)
    1000001                 "SAP ERP Professsional User"                         111
    Regards,
    Ningaraju

  • Error:      Restrict variable to single value

    Hi experts,
    for key figure planning, I created a planning profile group, which contains 3 planning profiles. But when choosing the Planing Profile Group, I get the error message as follows:
    Error:      Restrict variable 4MKTHI01 () (area 4CRM0001 (CRM Marketing Plan Values)) to single value
    How can I fix the error? I appreciate any kind of help!
    Thanks in advance,
    Thorsten

    Hello Ravi,
    I really appreciate that you try to help me - but can you please be explain more in detail what to do?
    What I did - and what did not work out:
    In TX BPS0, I doubleclicked on Planning Area 4CRM0001, I clicked on the tab "Variables" and I doubleclicked on the relevant variable 4MKTHI01 of the Type Hierarchy. By doing so, I get the message "Hierarchy CRMMKTROOT does not exist". I also do not have the possibility to edit the variable by right-clicking; also the edit button is disabled.
    Like described above: When I click on "Set Variables" and chose the variable, I am also not able to do any settings. So how?
    Thanks,
    Thorsten

  • Add scrollbars to OOB SharePoint Blog site

    All:
    I created an OOB SharePoint 2013 Blog site used for news updates.  The problem is that on smaller device form factors (e.g. tablets) or when I shrink browser window on the desktop, no horizontal or vertical scrollbars are visible.  My users
    cannot read or access the blog post info (especially on the right hand side). 
    How can I enable scrollbars in an OOB Blog site so that viewers can access all of the content?
    Thanks,
    Bill
    Bill Davidson

    Hi,
    According to your description, when you shrink the browser window or using a tablet, the scrollbars don’t appear.
    Is this issue only occur to Blog site but the other site templates?
    What version of the browser do you use?
    It would be better if you can provide more details about your browser or if there any customization has been made on your Blog site.
    Feel free to reply if there any progress.
    Thanks
    Patrick Liang
    Forum Support
    Please remember to mark the replies as answers if they
    help and unmark them if they provide no help. If you have feedback for TechNet
    Subscriber Support, contact [email protected]
    Patrick Liang
    TechNet Community Support

  • Javascript error after last sharepoint 2013 update : unable share single list element

    After yesterday update of SharePoint 2013 using Windows update we receive a JavaScript error when we try to share a single list element. Our IE is Italian the error is "Properties or field not inizialized"
    This is the user interface "hanged" and wait ....
    The problem not exist if we share an entire list or website.
    LSo Lorenzo Soncini Trento TN - Italy

    Hi Lorenzo,
    Glad that you solved the issue and thanks for sharing, this will benefit others who have similar issue.
    Regards,
    Daniel Yang
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Restriction on business partner category in BP

    I want to restrict for some users the business partner category in BP transaction. That means few users will be abe to create only persons (not organizations and groups).
    How can I set that up...
    TIA,
    Nishant

    Hi
    You can enhance the BP by creating a transaction code that allows you to create BP only with specific roles.
    Tx code: to create a transaction code is SE93
    To assign the Tx code to a specific role related activity: BUSF
    Hope this helps
    Regards
    Rekha Dadwal

  • Like Button in sharepoint Blogs 2013

    Hi,
    can anyone suggest me where to find the LIKE button in Sharepoint 2013 Blog in blog.XSL.
    When i modify the blog.XSL and do any modifications.
    Then add it in Miscelleneous Tab.The Blog look is converted to 2010 fashion
    And the Major Problem is "LIKES " disappears.
    Help me .Thanks in advance

    Hi,
    According to your post, my understanding is that the “LIKES” button disappeared in the blog.
    Per my knowledge, the “LIKES” button is a new feature for SharePoint 2013 site.
    When we enable the like feature in the Ratings Settings, then we can use the like button to like the items.
    Then I think the like feature is enabled in the list scope, not in the blog.xsl file.
    However, after you customized the file, the blog converted to SharePoint 2010 mode, as the feature is used in SharePoint 2013 mode, then you would not find the LIKES button.
    You can also use the Star Ratings feature in the blog.
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Restriction access to single pernr

    Hello!
    I'd like to restrict access for one pernr without changing of existant roles.
    These roles use P_ORGXX (SBMOD) for restriction. SBMOD (Administrator groups) depends from Employee Group and it's automatically filled out (the Feature/PE03).
    Is it possible to create the feature for pernr or may be to fill Admin. grout out other way?
    TIA
    Regards,
    Tonya

    VI libraries (llb) had certain advantages on older OS, they e.g. supported long filenames, even before W95. Now the advantages are are not as clear anymore except for the built-in distinction between plain and toplevel VIs. They are useful for distributing applications. or e.g. attach an example program containing multiple VIs here as a single file.
    > In LabView 4.0, Windows 95, how can I make files from single VIs?
    You can always open any subVI for editing, then save it to a plain "single-file" VI. You can also use the "VI library manager" (under tools. I don't remember if LV4 already had that).
    Newer version of LabVIEW have an option of "enable windows explorer for llb files". This is nothing more than a new "explorer like" interface that lets you b
    rowse inside llb files with a similar look-and-feel as windows explorer. It does not convert anything.
    LabVIEW Champion . Do more with less code and in less time .

  • Podcast only displays in single category

    Hi, So I did some searching about this, but didn't really see any definitive answer. I just uploaded and got approved for the first episode of a new podcast. We're going ot be talking about a range of topics, mostly geeky stuff like games and comics. So via Libsyn I have multiple categories. But iTunes appears to only accept the first one. While this isn't a huge issue, I wouldn't want someone to download an episode expecting us to only talk about say video games (which is the current category) and have us talk about just like a movie or something. Plus it would obviously be great to show up in multiple places.
    So does anyone have any ideas about this? I checked out my RSS .XML file and it's got the multiple category tags like the iTunes FAQ says, so I'm at a bit of a loss now.
    Thanks in advanced for any help or insights.

    I'm afraid there's not much you can do. The Store will display just the first category. You can search on categories, so in theory your podcast could appear in the results for the other categories, but in practice it's fairly unlikely: the cateory searches only bring up 'featured' podcasts selected for being of particular value (there would be thousands and thousands in each category so showing them all isn't practicable). If you can make your podcast really interesting you might get featured but you are up against an awful lot of competition.

Maybe you are looking for

  • Signal (buzz) from mic input on Nokia N8

    Hi, I'd like to record audio from the sound mixer to my Nokia N8. So I bought reducer from 4pin to 2x 3pin 3.5mm jack (speakers + mic) But when I connected the mix output (Main 6.3 Jack L) to the phone's mic input, it began to buzz from loudspeaker c

  • Finder "Crashes" when looking in certain folders

    Ok, so whenever I go to certain folders, the first time I go to the folder, the finder windows, the menu bar up top, and all the desktop icons all disappear, then reappear. however, if I browse to that folder again, they will all disappear, and not c

  • Can't open C:\bea\jdk141_03\lib\tzmappings

    Anyone know what causes these messages and how to solve the problem? can't open C:\bea\jdk141_03\lib\tzmappings. ZoneInfo: C:\bea\jdk141_03\lib\zi\ZoneInfoMappings (The system cannot find the path specified) ZoneInfo: C:\bea\jdk141_03\lib\zi\ZoneInfo

  • Xperia Z1 bluetooth issue with audio car radio ford mondeo

    Hello, I have the new Xperia Z1 and I have problems with bluetooth connection beetween mobile and car. First the connection is ok, but a few seconds later, it's lost. This happends when de 'Throw 'application it's active and I can't use it. I can't u

  • Lost contacts due to ios5

    two iphones, two users, one icloud/itunes account. now we have one set of contacts between the two devices, as one user deleted the unwanted contacts on her phone. question 1) can said deleted contacts be recovered from the phone, icloud or itunes? q