SUPPORT / SAMPLES & SAS NOTES
 

Support

Usage Note 68564: The SAS® Risk Governance Framework includes enhancements to document template administration

DetailsHotfixAboutRate It

A hot fix provides enhancements to the document template capability in the SAS Risk Governance Framework. You can now insert a list of object references into a generated document or substitute a hardcoded string for a missing object reference in the document. The hot fix also provides the ability to insert an image or table from the WebDAV repository or from the file system into a generated document. You can also insert a SAS® Visual Analytics report into a generated document.

Note: When you insert an image or table from the WebDAV repository, the source file should be placed in the /sasdav/Products/SASRiskGovernanceFramework/RiskGovFrwkMid-Tier/solution-identifier/Resources directory.

The details of the enhancements are as follows:

  • With a new function, you can insert a list of object references, such as a list of linked users, into a generated document, as shown in the example below:
${function:formatList(object.nav("model_owner|MRM"), "displayNm")}
  • When you insert an object reference, you can specify a string to insert in the document if the requested object is empty. In the example below, the string "None" is inserted if no user is linked in the specified relationship:
${function:coalesceBlank(object.nav("model_dev|MRM")[0]. userId, "None")}
  • With the following function, you can insert an image from the WebDAV repository into a generated document:
${function:InsertImageFromFile("image-file-name","width-in-pixels","height-in-pixels")}


See the example below:
${function:InsertImageFromFile("pie_graph.png","406","324")}
  • To insert a table from a SAS data set in the WebDAV repository, specify the following function: 
${function:InsertTableFromSASDataset("data-set-name", "image-header")}


An example is shown below:
${function:InsertTableFromSASDataset("contain.sas7bdat", "Container Table")}
  • To insert a table from a SAS data set in the file system, specify the file path in the command, as shown in the following example: 

${function:InsertTableFromSASDataset("/install/SASHome/SASFoundation/9.4/sashelp/players.sas7bdat", "Table – Volleyball Players")}

  • You can also insert a table from a class file that is located in an accessible library, as shown in the following example: 

${function:InsertTableFromSASDataset("sashelp.class", "Class Roster")}

  • This hot fix also provides the ability to insert a table from a JSON file located in the WebDAV repository, as shown in the example below: 

${function:InsertTableFromJson("ActionPlan.json", "Action Plan Table")}

  • To insert a table from a SAS Visual Analytics report into a generated document, specify the following command:
${function:InsertVAReport("report-path/report-name", "table-name", "width-in-pixels", "height-in-pixels")}


See the example below: 
${function:insertVAReport("/Products/SAS Risk Governance Framework/Reports/mrm/MRM Dashboard", "Residual Risk Average", "500", "300")}

Click the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Risk Governance FrameworkLinux for x647.49.4 TS1M5
Windows 7 Ultimate x647.49.4 TS1M5
Windows 7 Ultimate 32 bit7.49.4 TS1M5
Windows 7 Professional x647.49.4 TS1M5
Windows 7 Professional 32 bit7.49.4 TS1M5
Windows 7 Home Premium x647.49.4 TS1M5
Windows 7 Home Premium 32 bit7.49.4 TS1M5
Windows 7 Enterprise x647.49.4 TS1M5
Windows 7 Enterprise 32 bit7.49.4 TS1M5
Microsoft Windows Server 20167.49.4 TS1M5
Microsoft Windows Server 2012 Std7.49.4 TS1M5
Microsoft Windows Server 2012 R2 Std7.49.4 TS1M5
Microsoft Windows Server 2012 R2 Datacenter7.49.4 TS1M5
Microsoft Windows Server 2012 Datacenter7.49.4 TS1M5
Microsoft Windows Server 2008 for x647.49.4 TS1M5
Microsoft Windows Server 2008 R27.49.4 TS1M5
Microsoft Windows Server 20087.49.4 TS1M5
Microsoft Windows 107.49.4 TS1M5
Microsoft Windows 8.1 Pro x647.49.4 TS1M5
Microsoft Windows 8.1 Pro 32-bit7.49.4 TS1M5
Microsoft Windows 8.1 Enterprise x647.49.4 TS1M5
Microsoft Windows 8.1 Enterprise 32-bit7.49.4 TS1M5
Microsoft Windows 8 Pro x647.49.4 TS1M5
Microsoft® Windows® for x647.49.4 TS1M5
Microsoft Windows 8 Enterprise 32-bit7.49.4 TS1M5
Microsoft Windows 8 Enterprise x647.49.4 TS1M5
Microsoft Windows 8 Pro 32-bit7.49.4 TS1M5
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.