Posted: 16 Oct 2017 9:15 EDT Last activity: 16 Oct 2018 12:03 EDT
How to close or hide overlay on active tab change
Hi everyone! I need help in trobleshooting a problem with overlay closing. I have a button in portal context (e.g. header), which on click runs a flow action as overlay in context of work object from currently active tab. Work object's context defined by data page. Data page reloads when active tab changes (Declare_pyDisplay.pyDisplay(BusinessUserPortal).pyUIActive(1).pyElementName Changes). When I change an active tab (or open new), overlay doesn't hide or close. How to close an overlay, when active tab changes?
Thanks in advance!
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
Unfortunately, according to requirements clickaway should be disabled. User should be able to work with main form while overlay gives him helpful information. Im going to try move this button to work harness level, maybe an idea to put buttons with overlays to portal layer was bad from the start.
I believe in this scenario, instead of an overlay, details(helpful information) should be shown on the page. It would be a better design. Because I don't think two windows will be visible unless you view them side by side. Please let me know I misunderstood the requirement.
Hi! I did this on the tab page context after all. The reason why i tried to do it on portal is to make this menu block reusable across all work objects, and invisible on data-portal (and some others) screens to add padding according to UI design requirements. I think it was my solution design mistake as you said, now it works fine on work objects, but i had to a bit more work adding paddings to meet UI requirements.