+ Start a Discussion
LA_193LA_193 

How to display the content currently uploaded files in Visualforce page its very urgent.

Hi

 

 

  I want  to display the current uploaded file  in VF page from content .I have created one  Library in content .It displaying the all previous Uploded files  in VF page  . we need only currently uploaded files to display  not previous files

 

Please find the below code 

 

select Id, ContentWorkspaceId, ContentDocumentId from ContentWorkspaceDoc
Where ContentWorkspaceId=:apexpages.currentpage().getparameters().get('ContentDocumentId')];

 

 

 

Please suggest ..........................

 

Thanks