The <remote-portlet> element assigns the name SampleRemote 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.


The true setting for the passContextId= attribute makes the SAS Information Delivery Portal session information, including user identity, available to the remote portlet.


   <remote-portlet name="@webapp.testportlet.contextroot@"
                   title="@webapp.testportlet.display.name@" 
                   passContextId="true" editorType="portlet"
                   showEditProperties="true">

      <localized-resources locales="en" />

      <deployment scope="user" autoDeploy="false" userCanCreateMore="true" />

      <portlet-path>/sample/portlets/remote</portlet-path>