+ Start a Discussion

Need to retrieve data from WorkSpace

Hi all,

   I had a requirement to pull the documents from work space and i need to download them.

so i have developed code to retrieve the data from workspace but its not showing all the documents.

it is showing the record when i give the id in the url.Like this way iam getting only one particular data.

How can i pull all the data from work space....here is my code.


<apex:page standardController="ContentWorkspacedoc"> 

    <apex:form >

        <apex:pageBlock >

            <apex:pageBlockSection title="Content Doc" > 

                <apex:pageBlockSectionItem >

                    <apex:pageBlockTable value="{!ContentWorkspacedoc}" var="cwsd">


                        <apex:column value="{!cwsd.ContentDocument.Title}"/> 

                        <apex:column value="{!cwsd.ContentDocument.LATESTPUBLISHEDVERSIONID}"/>

                        <apex:column value="{!cwsd.ContentWorkspace.NAME}"/>