A portlet script is nothing but a script that is used to create customized dashboard portlets. To explain in detail, let’s take an example:
One can use Suitescript to create a portlet where the messages can be populated on the fly within the company systems.