Thank you but my section does not include the portal harness. That is a stand alone section. I cannot embed the screen layout inside a section. That section contains work object data and I am exposing it to external users without exposing any user portal/ and harness content. Please share your thoughts.
when you try to include a section it will prompt you about the page context.
Since your main section will be part of work class where as the pyPortalHeader will be part of data class, selecting current page context will not help. So you have to specify a page which belongs to data-portal class and then refer that page in order to access the pyPortalHeader section inside your work class section