Quick Tip – passing parameters when using XP:openPage

Just a very quick tip.

If you are using the XPages simple action and you need to pass a parameter via the URL then you can do this. You will need to add it via the source as designer doesn’t support it via the properties.

<xp:openPage name="/xp_f_mod.xsp"
  <xp:this.parameters>
      <xp:parameter name="isRFM" value="Yes">
      </xp:parameter>
   </xp:this.parameters>
 </xp:openPage>

Gleaned from here – https://www.openntf.org/xspext/xpages%20extension%20library%20documentation.nsf/xpages-doc/xp_openPage.html

Categoriespl