Suppress Link Warning Messages for Embedded Web View Reports
By default, during report generation the slreportgen.webview.EmbeddedWebViewDocument
base class of the Embedded Web View report generator displays warning messages for invalid links. These warnings appear if you include multiple links to an element in the Web View, although these multiple links are permitted. If you do not want to display these warning messages, you can suppress them. Set the ValidateLinksAndAnchors
property, which is inherited from the base class, to false
in the constructor of the report generator. For example,
function rptvar = SystemDesignVariables(reportPath, modelName) rptvar@slreportgen.webview.EmbeddedWebViewDocument(reportPath, ... modelName); rptvar.ValidateLinksAndAnchors = false; end
For other tasks to create your Embedded Web View generator, see:
To generate the Embedded Web View report, see Generate Embedded Web View Reports.