Users are able to export the current document to PDF with the currently selected panels using the toolbar export to PDF icon.
If the toolbar is not available to end users the following methods can be used to export the document to PDF with the current panel selections using an object on the document template:
1. Express View Mode
The following URL API syntax can be used to export the current document including the currently selected panels in Express View mode:
ASPx:
Main.aspx?evt=3069&src=Main.aspx.3069&executionMode=3&messageID={&DOCUMENTMESSAGEID}
mstrWeb?evt=3069&src=mstrWeb.3069&executionMode=3&messageID={&DOCUMENTMESSAGEID}
<html>
<head>
<script language="JavaScript">
<!--
function myFunction() {
if(typeof Strategy!=="undefined"){Strategy.getViewerBone().commands.exec("export", "3");}else{alert('This action is not supported in the current view mode');};
}
//-->
</script>
</head>
<body>
<a href="javascript:myFunction()">Export</a>
</body>
</html>