Difference between revisions of "QPR PowerPoint Reports"

From Mea Wiki
Jump to navigation Jump to search
Line 20: Line 20:
 
====Link Tag====
 
====Link Tag====
  
This tag is used to add a hyperlink in the report (both QPR Portal and external links). If the link address is empty or not valid for any reason, no link is displayed by the tag.
+
Link tag is used to add a hyperlink in a slide. If the link address is empty or someways invalid, no link is displayed.
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 26: Line 26:
 
!Description
 
!Description
 
|- style="vertical-align:top;"
 
|- style="vertical-align:top;"
| address (string) || Hyperlink’s url address or location. Note that the address must not be added as a Word’s hyperlink format but as a text. QPR Portal links can be got using an expression and '''GetPortalUrl''' function.
+
| address (string) || Hyperlink’s url address (location).
 
|- style="vertical-align:top;"
 
|- style="vertical-align:top;"
 
| text (string) || Link’s displayed text.
 
| text (string) || Link’s displayed text.
 
|- style="vertical-align:top;"
 
|- style="vertical-align:top;"
| screentip (string) || Link’s screen tip (see '''Insert hyperlink''' window). (optional)
+
| screentip (string) || Link’s screen tip. (optional)
 
|- style="vertical-align:top;"
 
|- style="vertical-align:top;"
| target (string) || Link’s target (see '''Insert hyperlink''' window). (optional)
+
| target (string) || Link’s target. (optional)
 
|- style="vertical-align:top;"
 
|- style="vertical-align:top;"
| visible (boolean) || Determines content visibility shown by the tag. See [[Reporting Add-on#Setting Content Visibility|Setting Content Visibility]]. (optional)
+
| visible (boolean) || Determines content visibility shown by the tag. (optional)
|- style="vertical-align:top;"
 
| style (string) || Determines text style. See [[Reporting Add-on#Defining Styles|Defining Styles]]. (optional)
 
 
|}
 
|}
  
Line 42: Line 40:
  
 
<pre>
 
<pre>
<#link address=="getportalurl([diagramid], '', '')" text="Link to QPR Portal" target="_BLANK" screentip="Click here is go to QPR Portal">
+
<#link address=="getPortalUrl([diagramid], '', '')" text="Link to QPR Portal" target="_BLANK" screentip="Click here is go to QPR Portal">
 
</pre>
 
</pre>

Revision as of 21:09, 21 March 2018

Note: This page contains documentation of functionality that hasn't been released yet.

Configuration

Following table contains QPR PowerPoint Reports’ parameters, which are configured in the web.config file of QPR Web Services Extensions.

Parameter name Description
reporttemplateparameter (optional) Defines the name of the parameter which passes the report template path. See chapter Working with Report Templates for configuring the report template path.
qprtemplateidparameter (optional) Parameter name which passes QPR’s Word report template object id.

This can be used when the report templates are stored in QPR Portal (i.e. QPR system objects) (see chapter Working with Report Templates). Instead of report template path, the Word report template object id can be passed as a parameter. The Word report template object id gets a priority over report template path.

defaultimageformat (optional) Default image format for QPR Web Service’s GetGraph operation. This setting is used if image format is not explicitly defined.

Link Tag

Link tag is used to add a hyperlink in a slide. If the link address is empty or someways invalid, no link is displayed.

Attribute Description
address (string) Hyperlink’s url address (location).
text (string) Link’s displayed text.
screentip (string) Link’s screen tip. (optional)
target (string) Link’s target. (optional)
visible (boolean) Determines content visibility shown by the tag. (optional)

Example

<#link address=="getPortalUrl([diagramid], '', '')" text="Link to QPR Portal" target="_BLANK" screentip="Click here is go to QPR Portal">