Make your control panel custom portlet visible per site
Lets us assume we want to have an admin portlet in the content area in our site.
Getting the preview URL of a File Entry
If you are working in a custom portlet and with FileEntries, it is very likely that you will need the preview url of this file, to use it in your…
If we have a web content and we want to update the index of it we can do that with the following code:
Getting the model hints in the code
While trying to make a custom validator in a form, there was the need to reuse the information set in the portlet-model-hints.xml file.