0 votes
668 views
in Coach Views by (21.5k points)

1 Answer

0 votes
by (30.6k points)

A human service always renders inside the page that launched it (portal task frame, dashboard tile). To get a maximized / full-screen experience:

  • Open it in its own window / tab - the coach's URL (/teamworks/process.lsw?zWorkflowState=1&zTaskId=… for tasks, the startable service URL for services: /teamworks/executecf?modelID=…&branchID=…) opened with window.open(url, "_blank") or a portal link target; the page has no portal chrome. Process Portal 8.5.7+ offers "Open in new tab" on tasks.
  • Hide the portal chrome: in 8.5.5+ Process Portal the task pane can be maximized (the maximize icon collapses the header); Workplace (BAW 20+) opens tasks in a focused view by default.
  • Inside the coach: use the browser Fullscreen API from a button of a custom coach view - document.documentElement.requestFullscreen() - only works from a user gesture and only affects the current tab.
  • Layout: make the coach itself use the width: the top layout with 100% width, no fixed pixel widths, Responsive settings on layouts; the portal's task pane then fills the window.
// coach view "Fullscreen button" - load handler
var btn = this.context.element.querySelector("button");
btn.onclick = function () {
  var el = document.documentElement;
  if (!document.fullscreenElement) (el.requestFullscreen || el.webkitRequestFullscreen).call(el); else document.exitFullscreen();
};
// from the portal: open the task in a clean tab
window.open("/ProcessPortal/launchTaskCompletion?taskId=" + taskId, "_blank");

For kiosk-style screens (call-centre agents) the usual answer is a custom launcher page that opens tasks in tabs without the portal, driven by the REST task list (question 756) - full width, no chrome, still standard coaches.

References

Related questions

0 votes
1 answer 938 views
0 votes
1 answer 2.0k views
0 votes
2 answers 4.6k views
0 votes
1 answer 2.1k views
asked May 26, 2018 in Coach Views by BHAGYARAVI (320 points)
0 votes
1 answer 1.2k views
0 votes
1 answer 1.7k views
0 votes
1 answer 774 views

723 questions

807 answers

98 comments

4.9k users

Join BPM Community Discord Channel

Welcome to BPM Tips Q&A, Community wiki/forum where you can ask questions and receive answers from other IBM BPM experts and members of the community. Users with 2000 points will automatically be promoted to expert level.
Created by Dosvak LLC
Our Youtube Channel
...