The <local-portlet> element assigns the name to the portlet. The name cannot contain spaces. The portlet identifier, which consists of the portlet path (defined in the <portlet-path> element) together with the portlet name, must be unique within the SAS Information Delivery Portal. This example uses the testportlet scripting facility to build the portlet, which will replace @webapp.testportlet.contextroot@ with the literal name SampleWelcome.


   <local-portlet name="@webapp.testportlet.contextroot@"
       title="Welcome Portlet Sample">