API Questions on Kentico API.
Version 6.x > API > Get attachments for unpublished documents View modes: 
User avatar
Member
Member
sergey.shlyagin-gmail - 2/15/2013 8:59:25 AM
   
Get attachments for unpublished documents
Hi, I use workflow for some document type.
I have som page where users can upload field attachments. And then administrator publish that documents. The problemm is that before publish users can't see their attachments. DocumentHelper.GetAttachment() does not work for unregistered users before document is published.
Is any way though API to make link to unpublished attachments?

User avatar
Kentico Consulting
Kentico Consulting
richards@kentico.com - 2/19/2013 4:37:03 AM
   
RE:Get attachments for unpublished documents
Hello,

are you using some sort of user contribution on the live page? And those user can create document types with attachments without registering to your site?

In this case I dont think that would be possible since the workflow would have no meaning in this scenario when users could see the document type.

Best regards,
Richard Sustek