Leave a comment at the end of this page or email contact@krishagni.com
Configure headers & breadcrumbs
Header and breadcrumb configuration were not supported from v11.x to v12.1.x. Support was reintroduced starting from v12.2.x based on client requests.
In the v5.0 version, the headers and breadcrumbs on participant, visit & specimen pages are configurable based on the user requirement.
Headers and breadcrumbs are configurable on the following pages:
Participant
Detail
Add/edit
Visit
Detail
Add/edit
Specimen
Detail
Add/edit
Create Aliquots
Create Derivative
Specimen Collection
Important Compatibility Notes for v12.2.x
Templates using Angular-specific constructs are not supported in v12.2.x.
Unsupported constructs include:
ng-switchng-switch-defaultuserCtxUI filters using pipes (
|)
If unsupported Angular-specific syntax is used in the template configuration, it will display an below error message.
You can use the template configuration below, which is compatible with v12.2.x.
Field Type | Expression |
|---|---|
Fancy Control (From 6.3 Onwards) Here 'FC2' is the fancy control/field name. |
{
"name" : "common",
"view" : null,
"ctrl" : null,
"data" : {
"participantHeader" : {
"breadcrumb" : "<ul os-breadcrumbs><li><a ui-sref=\"cp-list-view({cpId: cpr.cpId})\">{{cp.shortTitle}}</a></li><li><a ui-sref=\"participant-list({cpId: cpr.cpId})\">Participants</a></li></ul>",
"leftTitle" : "{{cpr.participant.extensionDetail.attrsMap.$$FC2_displayValue}} <span ng-if=\"userCtx.hasPhiAccess\"></span>"
}
}
}
|