Saturday, April 18, 2020

PeopleTools 8.58 - New Window feature for Fluid

Previously, I wrote about how we can implement the New Window link as a workaround since it was missing in Fluid. The idea was to add the New Window link to the Actions menu.

Refer: Fluid UI - New Window Feature - Workaround

The good news is that in PeopleTools 8.58, the New Window link is available for Fluid components as well!

How does it work? It is implemented very similar to my workaround as a link in the Actions menu.


Further, the New Window can be enabled on a Fluid Component using the same approach that we use for Classic Components. That is, using the Component Internet Properties.


Few things I noticed while testing this feature.

Disable Pagebar

The Disable Pagebar checkbox in the Pagebar settings has no effect on the New Window link for Fluid. This is working as designed because the Pagebar is not available in Fluid. The New Window link is part of the Action Menu in Fluid.

I bring this up because we cannot simply use the Disable Pagebar and assume that the New Window link will be disabled at the component level for Fluid. In this case, we must disable the New Window link property specifically.

Web Profile Disable New Window Setting

There is a setting/option in the Web Profile - General 'tab' that allows us to enable or disable the New Window feature at a global level. If we disable the New Window feature in the Web Profile, then even if components have the New Window enabled, the New Window will not appear. That is how it works for Classic.

Although, when I tested this by disabling the New Window on my web profile and restarted the web server, I found that Fluid components do not honor this Web Profile setting. This appears to be a bug.

Refer: Configuring Web Profile - General Portal Properties

Fluid/Classic Components displayed in wrappers

I found this interesting PeopleBooks which describes the expected behavior and priority for displaying the New Window.

Refer: Opening New Windows

5 comments:

  1. Do you by any chance know which style does the blue bar on the navigator where you mouse over it like you have on the "New Window" ?

    ReplyDelete
    Replies
    1. Are you referring to this: https://snipboard.io/zkhp4x.jpg

      Then it should be the following: https://snipboard.io/Vbt4Ka.jpg

      Delete
    2. that was it exactly. Thank you for responding.

      Delete
  2. How can we remove Home Page icon & new window either using settings or using peoplecode ?

    ReplyDelete
    Replies
    1. Refer the following for Home Icon:
      E-FLUID: How to Remove Home Button On The Fluid Landing Page (Doc ID 2238177.1)

      If you want to conditionally disable Home icon:
      https://pe0ples0ft.blogspot.com/2018/03/branding-dynamic-header-icons.html


      For the 'New Window', you can try disabling it at the Web Profile level. This will be for the entire application.

      At the component level, you can do that using Component Properties (as shown in this blog). Hope this helps.

      Delete