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