Guestbook and submissions from non registered users

hepi73
Member since: 2012
 

Hi! I'm new to Epiworld and Episerver and I've searched the forum without finding much on the topic. How does Episerver handle submissions from non registered users... Say I want to set up a guestbook where anyone simply can add posts. Can it be easilly done? I've seen an example where posts actually were added as "pages" and not just rows in a database. That made me wonder how Episerver handles posts from non registered users. If anyone can shed some light on this I would be thankful. And what is the best way to go about creating let's say a guestbook in Episerver?

#64541 Dec 30, 2012 10:52
  •  

    You have a couple of option when it comes to how you want to save the entries: pages in EPiServer CMS, dynamic data store, custom table, custom system. Since you're doing this on the server, it doesn't matter that the user is anonymous, for the EPiServer page case see: http://tedgustaf.com/blog/2010/5/create-a-page-programmatically-in-episerver/ (notice the AccessLevel.NoAccess flag that you pass to the Save method).

    Hope this helps.

    Frederik

    #64542 Dec 30, 2012 13:33
  • hepi73
    Member since: 2012
     

    Thanks Frederik... That's good to know :) I come from the land of PHP and MySQL and at the moment this is pretty much new territory for me. Are there any "prefered" methods in this (simple guestbook) case? I'll look into the methods you mentioned... If you have more links to share feel free to do so ;) Thanks again!

    #64547 Dec 30, 2012 21:32
  •  

    Well, how many entries are you expecting? Do you need an administration/moderation system on top? With EPiServer CMS pages you get a lot of this out of the box (ability to unpublish/unaprove, edit interface for moderators, caching, easy property structure etc). I would probably go done this route, but if you're expecting 10 000+ entries, then you EPiServer CMS pages doesn't cut it.

    Let me know if you have any questions.

    Frederik

    #64548 Dec 30, 2012 21:36
  • hepi73
    Member since: 2012
     

    Thanks... The guestbook I was refering to is more of a hypothetical guestbook but I see your point. For the project I'll be working on soon I believe some kind of plugin/widget/code which makes it possible to easily create pages so that people can submit information (kind of like a guestbook or comment function but not necessarly visible to everyone) can come in handy. I know it will for a fact... I know the page method you mentioned has been used before. I just felt I had to query this since when I first saw it it felt a little odd. Hopefully the "oddness" of the whole thing will go away once I get more familiar with Episerver ;) Thanks again!

    #64559 Jan 02, 2013 10:46