Home » Sharepoint

How to attach a file with blog post.


I have created a blog site. Now requirement is to enable user to attach a file with the blog post. I have checked the list (Posts) settings that attachment is enabled for the list but in the new/view/edit form there is not way to add or view attachment. Is it by design or an issue.

Gaurav Dixit


1 Answer Found




In SharePoint Blog site:

-how to enable add attachements to a blog post?

- is it possible to control the "Posts" list columns? i want to configure the "Body" to support pictures?



I have googled and searched for a way to change the links (remove and or edit) shown below:

Posted at 4:05 PM by THETEST\Administrator | Category: Category 1 | Permalink | Email this Post | Comments (0)

I got as far as changing the views for the Posts list, I un checked the Comment field. It still shows up, so I opend all of the views and unchecked the Comment field and it is still there. Do i need to approve the view? I have tried to see where the view is pending but I cannot.

Anyone have any ideas that can help me?

Thanks for your help.


I'm trying to make the OOB blog site template fit into the design of my custom master page....so far its been fairly easy.  I was able to customize the default.aspx file in the root of my blog site, and the list of posts display exactly as i want.

I've hit a snag though....when I click a blog post title, I'm taken to a view of the post located at (for example) <domain>/Lists/Posts/Post.aspx?ID=4.  I want to also customize the display of this post in the detail view.  When I open the /Lists/Posts/Post.aspx, it seems that one cannot customize the individual post layout here (even when selecting to customize the xsl), and instead its calling /_layouts/xsl/blog.xsl for the template.

I've found that there is a blog.xsl located on the filesystem itself, at: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\XSL   When I customize this file, it does seem to affect the blog posts.  The problem is, it doesn't happen instantaniously....one seems to have to restart the server to see changes applied.


So here's my questions:

1) is there a better way to affect the post as seen at /lists/posts.aspx rather than altering blog.xsl in the filesystem?

2) if altering blog.xsl is the only way, how can I go about seeing changes immediately on the front end?  I cannot restart the server over and over as I'm trying to bolt on this blog to a production customer-facing site.




I just created a new Blog site in Sharepoint 2007, and set permisions to the users and admins.
Now, I have a question on how to set the post life time. Is there any setting to contral how many days that the posts can last in the blog? We want the post include the comments kept in the site for one month.

Please help.

Hi I was using blog in sharepoint 2010 .I got a requirement to add the option of attach file in blog. At present sharepoint doesnt have the attach file option .Please provide a solution to include the attach file option in sharepoint 2010.

Hi All,

I'm new to Blog concepts.Is it possible to post the comments to website using the webservice instead of directly post the comments in website. Any help can welcome.



I wanted to know if anyone knew of a way to present a view of blog posts were created is equal to [Today]-7?  I am trying to come up with a way to present a filtered view of posts to a blog in our site collection on the root page of our site.

A you know, the Blog site is a site itself, so I am trying to get the post information from this site to our root site collection.

Thank you for your ideas!




I have tried "Email this Post" in a SharePoint blog. I got the email as desired, but the doesnot resolve the post.

Here are the link examples:

I got the link in email as mentioned below:


But i should get as below to resolve the link:


Any ideas?




I am  trying to provide certain users with permission to post items certain blog categories. I've been told this can be achieved using workflows.

Lets say I want user 'X' to post in blog category 'Other' without requiring approval. The user X has contribute permissions only.

Would it be possible to do this using workflows? Any solution would be great as long as it does the trick.

I tried using workflow with auto exec and condition [if user x = & category = other, change approval status to approved] but I am getting permission denied.

I really need to find a solution for this as I am  running closer to a deadline.




I know this is a lot to be asking, but I am attempting to create my own weblog without using sites such as Wordpress or Blogger and I have no web design experience.  I am using Microsoft Expression Web 4 to create my website through Office Live Small Business.  I have been searching for this topic everywhere but I can't seem to find exactly what I'm looking for.

I am interested in creating a section at the end of each blog where people can add comments.  However, in addition to this, I would like to set it up so that they must login before posting comments.  I was looking at Janrain Engage for this purpose because it does not constrict what people use to log in, like other programs do, such as Google Friend Connect.  I would also like to approve comments before they are posted to avoid spam.  Lastly, can I have a link where it shows how many comments have been posted that people can click to read the comments?

In addition to this, I was wondering if it is possible to integrate all of this with followers and if I can notify my followers when I post a new blog. 

I know this is a ridiculous amount to ask and it probably requires 50 pages of code, but any help would be greatly appreciated.  At the very minimum, it would be helpful if someone could direct me somewhere that I could read more about doing this.  I know it would be easier to use a premade site, but I am stubborn and determined to do this on my own site.  Thank you!



I want to fetch all posts from all blogs of site and its subsite into data view web part.

Please help me out by suggesting some way to do this.





It seems all of the canned templates such as Contoso, Classic, etc would template a blog post by implementing [Theme]\Views\DisplayTemplates\Items\Blogs.BlogPost.ascx.

This is consistent with how you would template the actual blog landing page by implementing [Theme]\Views\DisplayTemplates\Items\Blogs.Blog.ascx.

Today, the way BlogPosts are being templated is falling all the way down into [Theme]\Views\DisplayTemplates\Items\Contents.Items.ascx.

The breaking change first occurred in Changeset 1826 (bd13cf1245f2) in src/Orchard.Web/Modules/Orchard.Blogs/Drivers/BlogPostDriver.cs, and by Nathan's comments, this was an intentional change.  It seems like this change only served to make the blog less theme-able.  My blog template before this change was all pretty and looked very much like the SharePoint 2010 blog with the calendar off to the side of the blog post and such.

My Question: What template file am I supposed to implement to override the appearance of a BlogPost?



When I create a blog post in Orchard 0.5 it doesn't show the date next to it on either the list page, or the detail page. Do I need to enable a feature for it to show this?




Does anyone know how to truncate the blog posts that are shown on the a main page? 

I've been tasked with creating a blog for my director to publish his conference updates. Some of these updates can run into 5 - 6 pages. I'm looking for a way to truncate these down on the main page and add in a small "Read More" link. I've found jQuery scripts and html modifications for 2007 but they do not work in 2010.

Any ideas?


Ihave created a Site definition and added a Posts Listview in the same.

<View List="$Resources:core,lists_Folder;/$Resources:core,blogpost_Folder;" BaseViewID="10" WebPartZoneID="Left" WebPartOrder="1"/>

This list is created using my own schema.xml which i have copied from the Blog site template.

I wanted to rename the title of the list [not Title field] which is coming to be Posts right now.

Is there anyway to do it?

Any help appreciated



We have a request from our client to show the 5 most recently updated blogs on the site collections landing page. I have been able to, without issue, return the list of all of the posts from the "Posts" list of the blog site. I have even been able to go so far as to return them in ascending/descending order based on the "PublishedDate" of the blog. The problem I am having is this ... the PublishedDate, Modified, and Created fields all return the same value. So if my Blog entry was created and added to a Category, say this morning at 9:07 am, then all three fields would return 9:07 am. If I then added a comment to the blog at 1:23 pm, all three values would still be returning 9:07 am. This is not working for me since the date returned is not a true representation of when the blog was last updated. I am hoping someone can see an issue with the code I have posted below.

NOTE: I am using VB.Net and have created a class, which implements List(of SPItem) and populated it with the items from the SPListItemCollection. I am doing this so I can use LINQ to query and filter the data.

Here is my code ...

Partial Public Class CommunitiesUserDrivenContentUserControl
    Inherits UserControl  
   Private Class GenericListBlog
        Inherits List(Of SPItem)

        Private _ListItemCollection As SPListItemCollection

        Public Sub New(ByVal oListItemCollection As SPListItemCollection)
            _ListItemCollection = oListItemCollection
        End Sub

        Private Sub PopulateColection()

            For Each oitem As SPListItem In _ListItemCollection
        End Sub
    End Class
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs) Handles Me.Load

     Dim thisweb As SPWeb

     If WebPart.Tab3Site <> String.Empty Then
  thisweb = SPContext.Current.Web.GetSubwebsForCurrentUser(0).Item(WebPart.Tab3Site.Replace("%20", " "))
  thisweb = SPContext.Current.Web
     End If

     Dim oGenericList As New GenericListBlog(thisweb.Lists("Posts").Items)

     Dim tmp = (From c In oGenericList Order By CDate(c.Item("PublishedDate").ToString) Descending Take 5)
     Dim resutls() As SPItem = tmp.ToArray
    End Sub


I hope someone can help me with this issue.




I'm using Sharepoint Foundation 2010 and more specifically the blog application.

I've turned on Anonymous Access so people can read posts, but I also want them to be able to respond to the posts.

Is this possible?

Thanks in advance,

hello, i wanted to know how you can make a post in a particlular category in wordpress through xml-rpc. From here : http://msdn.microsoft.com/en-us/library/aa905668.aspx i got to know how to make a post. But the arguments does not take any categories into consideration. Does anyone have any idea?
How to embed a video in my blog post, in SharePoint 2010?

Hi together,

I'd like to store some extra information in the BLOG.
For testing purposes, it would be nice if the DateTime-Field from the documentation would be attached to every BLOG-Post.
Unfortunately, no documentation tells a word about handling that.
Is it possible at all / do I have to extend the BLOG-Code itself?

Thanks for any hint!


<< Previous      Next >>

Microsoft   |   Windows   |   Visual Studio   |   Sharepoint   |   Azure