Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Creating an Announcements webpart View modes: 
User avatar
Member
Member
caramoSC - 3/7/2012 8:20:06 AM
   
Creating an Announcements webpart
I need to create an Announcements webpart that will display announcements to the users when they log into a custom application we created using Kentico.

Users will only see the announcements, but based on the user role (admin), the admin should be able to modifiy the announcements. We need the editor to display for the admin without him or her going into the cmsdesk (the application users never need to go into CMSDesk, everything is done through the custom application).

Is there an api call that can be used to put the editor for editable text into edit mode for the admin role and just display the text for basic users?




User avatar
Kentico Support
Kentico Support
kentico_janh - 3/12/2012 2:49:57 AM
   
RE:Creating an Announcements webpart
Hello,

I think, that the easiest way is to add a Bizform web part to a page, set permissions only for requested roles and then create a web part, which will display the latest message from this form through the CMS.FormEngine.BizFormItemProvider.GetItems(className, where, orderBy) method.

Best regards,
Jan Hermann