Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Learning Alfresco Web Scripts
  • Table Of Contents Toc
Learning Alfresco Web Scripts

Learning Alfresco Web Scripts

By : Ramesh Chauhan
4.5 (4)
close
close
Learning Alfresco Web Scripts

Learning Alfresco Web Scripts

4.5 (4)
By: Ramesh Chauhan

Overview of this book

If you are an Alfresco developer who has no experience with web scripts and you want to start developing Alfresco web scripts, then this book is definitely for you.
Table of Contents (12 chapters)
close
close
11
Index

Testing the web script


It's now time to test the functionality of the web script we have just created. We basically want to make sure that the logic we have incorporated in the Java-backed controller is working as expected.

In order to test the web script, upload some content (say an image) in the Alfresco repository first. Make a note of its nodeid. In order to get the nodeid of uploaded content after the content is uploaded using Alfresco Share, just take the mouse pointer to the content name and then right-click on it and click on Copy link location. Paste this link somewhere in a text editor and copy the value after workspace://SpacesStore; this forms the nodeid. Now, create two users and give one of them consumer access and do not give any permission to the other user on this content. Make sure inherit permission is also unchecked.

Now, with any of the two users, start testing the web script.

Test case 1 – mandatory check

The nodeid is a mandatory argument for the web script we created...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Learning Alfresco Web Scripts
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon