Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The default breadcrumbs of the visit page is CP short title / PPID / Visits, whereas the breadcrumbs configured here do not have the visits list page navigation.


Expressions for other field types that can be added to the header :

Field TypeExpression

Fancy Control 

(From 6.3 Onwards)
Use below expression to displays the value of fancy controls like the 'user', in the participant header.
"cpr.participant.extensionDetail.attrsMap.$$FC2_displayValue"

Here 'FC2' is the fancy control/field name.


Code Block
{
  "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>"
    }
  }
}