function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ 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