Portal Engine Questions on portal engine and web parts.
Version 4.x > Portal Engine > Customized file display View modes: 
User avatar
Member
Member
tporter-beachboundtech - 8/5/2009 3:37:35 PM
   
Customized file display
Is there another web part besides "attachments" that you can use to list files in a folder? Also, how do you configure Kentico to only show specific files in the folder to specifc logged in users?

For example I only want user x to see files 1, 3 and 5. I want user y to only see files 2, 4 and 6. I want user z to see 1, 2 and 5.

I've got this figured out for newslistings but I have not been able to figure it out for files. Any help would be appreczited.

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 8/5/2009 4:18:35 PM
   
RE:Customized file display
Hi,

it depends on the fact if the files are CMS.File documents in the content tree or files on disk.

If it is the first case you may use for example the repeater: http://devnet.kentico.com/docs/webparts/Kentico_CMS_WebParts.htm#_0384da9a-d259-4919-8d89-0521262a3713 to list the file documents.

I would recommend you to assign users to roles and then assign the particular roles to documents by security system (the read permission). Please see here: http://devnet.kentico.com/docs/devguide/permissions_for_modules_and_documents.htm (Managing local permissions).

Then do not forget to check the “Check permissions” checkbox in Repeater web part Properties. Then everyone will see the different list according his/her permissions.

I hope it is helpful for you.

Best regards,
Helena Grulichova