Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Feedback link in WCM pages

  Asked By: Alexandria    Date: Dec 24    Category: Sharepoint    Views: 1177

Is there a way to provision a feeback link in a page template/layout
where anonymous user's can give feedback to an article that is posted
on the web site?

What I am thinking is much like a blog page where the feedback is
audited by the author and then approve/decline it before publishing it
on the page.



3 Answers Found

Answer #1    Answered By: Dameon Dejesus     Answered On: Dec 24

OOTB, no… but this would be a fun task to build! Oh, if I only had the time right now…

I’m thinking you’ll want to implement this with a custom web  Part. Thinking off the cuff…

· Create a new Web Part

· Package it up and deploy it as a feature

· In the activation of the feature

o Create a new content type & list to retain the feedback

o Each “feedback” will reference the page, and other metadata about the feedback  (name, date, subject, email, etc)

o Automatically add the Web Part to all existing pages

· Create a new report that shows all the feedback

A few things I’d look at, but not sure if it’s even possible:

· Programmatically add the Web Part to the master pages  within the site

· Programmatically add the Web Part to the page  layouts

If you can’t do the two above, I’d do the following:

· In the activation of the feature, add a new page to the ../_layouts directory that will show you all the feedback & the pages they are linked to.

· On that page, have a button that will traverse all the pages and add the feedback Web Part back to all the pages that need it (or those that you want to add it to… <insert some cool UI here J>… then again, if you want it on ALL pages, it should be in the appropriate page layouts.

Answer #2    Answered By: Tejaswani Barve     Answered On: Dec 24

One thing I am stil trying to understand is the part where you
mention add a page  to the /_layouts directory.

So is that a physical page and not one that goes into the database?
How does that become part of my WCM site? I did read somewhere that
one of the ways to add custom code, apart from web  parts, is by
placing the page in /_layouts folder...

Answer #3    Answered By: Harshita Padwal     Answered On: Dec 24

“So is that a physical page  and not one that goes into the database?”

Yes, it’s a physical page. Every SharePoint site has a virtual directory _layouts that points to the ../12/Template/Layouts directory. Typically everything in that directory is considered common or admin-like pages.

Didn't find what you were looking for? Find more on Feedback link in WCM pages Or get search suggestion and latest updates.