Click or drag to resize

NavHelperReportLink Method

Construct a report link from a NavTarget whose TargetType is "report".

If the report is unavailable then a null link will be returned. If unavailable and the report is unknown, a problem description (appropriate for a developer) will be returned in problemText. Note that if the report is unavailable, but known (e.g. permissioned out) then no problemText will be returned and it is expected that the caller will not render the link.

Namespace:  NetQuarry
Assembly:  EAP.WebMappers (in EAP.WebMappers.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public static string ReportLink(
	IAppContext cxt,
	PageInfo pi,
	IMapper mapperParent,
	NavTarget target,
	out string problemText
)

Parameters

cxt
Type: NetQuarryIAppContext
The application context.
pi
Type: NetQuarryPageInfo
The current page, may be null.
mapperParent
Type: NetQuarry.DataIMapper
The parent mapper, may be null.
target
Type: NetQuarryNavTarget
The report navigation target of interest.
problemText
Type: SystemString

Return Value

Type: String
The report link or null if the report is unavailable.
See Also