This task creates a web script description document for a Folder Listing web script.
-
Log in to Alfresco Share:
- Open a web browser and enter the URL: http://localhost:8080/share
- If prompted, log in with the user name admin and password admin.
- Click the Repository link in the Share header.
- Navigate to .
-
Create a web script description document for the Folder Listing
example:
You now have a web script package named/org/example where you will place all your component files for the Folder Listing web script. You have already placed the description document there, which is named dir.get.desc.xml.
Your Folder Listing web script defines the following short name and description:
<shortname>Folder Listing Utility</shortname> <description>Sample demonstrating the listing of folder contents</description>
As the Folder Listing web script queries the repository, you must ensure that only authenticated users have access. This means the web script will only return folder contents that the authenticated user has permission to see.
Your Folder Listing web script defines the following level of authentication: <authentication>user</authentication>