S11 URL of Specified Application ID
Use the S11 Tag to access the URL of an application from its numeric ID.
Application
Platform
Can You Add This S-Tag in the Luminate OnlineContent Editor?
No, add the S-Tag code to the HTML using the Plain Text Editor.
Can You Add This S-Tag in the Luminate CMSContent Editor?
No, add the S-Tag code to the HTML using the Plain Text Editor.
Format
- Standard[
[S11:appID]][[S11:appID:contextType]]
- XML
<convio:session name="11" param="appID"/>
Parameters
- appID: Numeric ID of any application for which URL is desired. Appendix C is a list of application IDs.
- contextType: The context type can be one of the following (email is the default)
- Page: Returns the URL as a string that is suitable for inclusion in a web page. This means that it is HTML encoded (for example, ampersands are included as &) and may include an application context node and may include the session ID parameter JServSessionId. It also may be a relative URL rather than an absolute one.
- Unformatted: Returns the URL as a string that does not have any extra formatting or session information. This means that it is not HTML encoded and does not include the session ID parameter JServSessionId.
- Redirect: Returns the URL as a string that is suitable for an HTTP redirect. It may be a relative URL and may include an application context node ID and may include the session parameter JServSessionId.
- Email: Returns the URL as a string that is suitable for inclusion in an email. This means that it does not include the session ID parameter JServSessionId. It is an absolute rather than relative URL. It may be HTML encoded depending on the rendering mode of the templateContext.
- Editor: Returns the URL as a string that is suitable for inclusion in a content editor such as the Blackbaud WYSIWYG HTML editor.
Sample Code
- Standard
<a href="[[S11:81=ConsProfileUser]]">Edit your Constituent Profile</a><a href="[[S11:12]]" />Click to search for your representative.</a>[[?x[[S11:12]x::null::Congress is not in session::<a href="[[S11:12]]" />Click to search for your representative.</a>]]
You can add additional parameters to the results of the S11 Tag. If the system already has parameters added then there will be a “?” in the URL returned. One can test for that before adding further parameters.
<a href=”[[S11:19]][[?[[S11:19]]::?::&::?]]pagename=foo”>go to a certain page</a>
In the above example, The “[[?[[S11:19]]::?::&::?]]” will render a “&” if the PageServer URL already has a “?” (as it will if there is a jservsession parameter). Otherwise, the conditional will render a “?”.
A link to change password: <a href="[[S11:81=ConsProfileUser]][[?[[S11:81]]::?::&::?]]op.dispConsPasswd=">Change your password</a>
Note: Parameters can be added to the results of S11. If the system already has parameters added then there will be a “?” in the URL returned. Test for that “?” before adding further parameters.
[[S11:19]] renders "http://bvt301.convio.com/site/PageServer" on the "bvt301" test site.[[S11:81:page]] renders "https://bvt300-secure.convio.com/bvt301/site/ConsProfileUser?JServSessionIda005=7yby9ytro1adm8009" with session ID
- XML:
<convio:session name="11" param="12" />
Commonly used with the S11 Tag to render a URL for a link that includes any session data that the application might want.
Note: For more information, see S4 and S11 Application IDs.