Logo 
Search:

MOSS Forum

Ask Question   UnAnswered
Home » Forum » MOSS       RSS Feeds

Publishing portal with MOSS

  Asked By: Keaton    Date: Jun 22    Category: MOSS    Views: 580

We have a requirement to create a portal where users (only admins) can post
articles along with metadata to the articles and depending upon the meta
data, the articles would be selectively visible to the general users.

I was wondering if we can achieve this just with using the publishing
portals or using Content Types would be required. The articles would be in
HTML only, can we have HTML as a Content Type? Do we need to store these
into document libraries or can we just push them to the database?

Would using blogs and then customizing fields of the blog would be better
than using publishing portal?

Share: 

 

2 Answers Found

 
Answer #1    Answered By: Baiju Hoskeri     Answered On: Jun 22

No matter which type  of site you choose, there isn't an out of the box
function that will parse who has access based upon the metadata  in the
document. That will require an Event Receiver.

 
Answer #2    Answered By: Kristy Hicks     Answered On: Jun 22

We have a requirement  to create  a portal  where users  (only admins) can
post
articles

Reply> This is easily controlled using permissions in Publishing. Using
Publishing you would store  the articles  in a Pages document  library and
only give admins  the ability to create new pages.

along with metadata  to the articles and depending  upon the meta
data, the articles would be selectively visible  to the general  users.

Reply> limiting visibility based on metadata is not something available
out of the box. However, a developer could write an Event Receiver that
would set the permissions on an individual article based on the
metadata. An Event Receiver for both the ItemAdding and ItemModifying
event would be required. I have a blog  entry showing how to write
something similar to set visibility based on content  type. The logic in
the code would be slightly different, but the concepts would be the
same. You can find the blog article here:

mindsharpblogs.com/.../1754.aspx


I was wondering if we can achieve this just with using the publishing
portals or using Content Types would be required.

Reply> publishing  uses Content Types. But assuming that the articles all
have the same Metadata fields  and Layouts only one Content type  would be
required for this application.

The articles would be in
HTML only, can we have HTML as a Content Type?

Reply> HTML would not be a Content Type, but it can be a Field in a
Content Type. Since Publishing is used to display the contents of a
Field or Fields on the page you could easily make the article a single
HTML field in the Article Content Type. Or you could define multiple
Fields an achieve more uniformity of the look and feel of an article.

Do we need to store these
into document libraries  or can we just push  them to the database?

Reply> Document library contents are stored in the database. In
SharePoint you should never access the database directly since it voids
your support agreement. You can access things in the SharePoint content
database easily using the SharePoint object model. This would be the
preferred method.

Would using blogs  and then customizing  fields of the blog would be
better
than using publishing portal?

I think publishing will give you more control than trying to use a blog
site, so no I wouldn't use a blog.

 
Didn't find what you were looking for? Find more on Publishing portal with MOSS Or get search suggestion and latest updates.




Tagged: