DataPower

DataPower

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

New UI does not seem to support custom user interface file

  • 1.  New UI does not seem to support custom user interface file

    Posted Tue July 25, 2023 01:26 PM

    The messages defined in the custom user interface customization file are shown in the (now deprecated) WebGui. But these messages are not shown in the new UI. Does this work differently for the new UI? 

    DataPower firmware: 10.5.0.6



    ------------------------------
    John Gouw
    ------------------------------


  • 2.  RE: New UI does not seem to support custom user interface file

    Posted Wed July 26, 2023 05:40 AM
    Edited by Hermann Stamm-Wilbrandt Wed July 26, 2023 05:40 AM

    (old) WebGUI custom controls are described here:
    https://www.ibm.com/docs/en/datapower-gateway/10.5.0?topic=webgui-controls-in

    New UI has custom controls as well, but different:
    https://www.ibm.com/docs/en/datapower-gateway/10.5.0?topic=ui-controls-in-new



    ------------------------------
    Hermann Stamm-Wilbrandt
    Compiler Level 3 support
    IBM DataPower Gateways (⬚ᵈᵃᵗᵃ / ⣏⠆⡮⡆⢹⠁⡮⡆⡯⠂⢎⠆⡧⡇⣟⡃⡿⡃)
    https://stamm-wilbrandt.de/en/blog/
    ------------------------------



  • 3.  RE: New UI does not seem to support custom user interface file

    Posted Wed July 26, 2023 05:54 AM

    Thank you for the reply. The control settings are not what I was looking for. My question was about the customization interface file which allows you to set messages, not about adding/changing controls. This is the functionality I'd like to use in the new UI: User interface customization - IBM Documentation

    In the old WEBUI it allowed you to set messages at the bottom and/or top of the page as shown below.



    ------------------------------
    John Gouw
    ------------------------------



  • 4.  RE: New UI does not seem to support custom user interface file

    Posted Wed July 26, 2023 10:14 AM

    John, I think the issue might be that the new UI is currently experiencing problems with HTML tags in the messages. I notice that the text in in italics. I think if you remove the tag that makes it italic that it'll show up. As I stated in another response, text without character styling (aka using the template) works.



    ------------------------------
    F Hackerman
    ------------------------------



  • 5.  RE: New UI does not seem to support custom user interface file

    Posted Wed July 26, 2023 10:11 AM
      |   view attached

    I copied the template from the documentation, and I'm not having any problems with these messages show Uploading... Upload file ing up in the new UI.
    > https://www.ibm.com/docs/en/datapower-gateway/10.5.x?topic=customization-template-custom-user-interface-file

    I'm uploading the copied template from this topic. I wonder whether there's some special characters or HTML tagging in your file that are causing problems.



    ------------------------------
    F Hackerman
    ------------------------------

    Attachment(s)

    xml
    ui.xml   1 KB 1 version


  • 6.  RE: New UI does not seem to support custom user interface file

    Posted Wed July 26, 2023 01:54 PM

    We know of an issue displaying custom UI files with HTML markup. Should be addressed in future fix pack.



    ------------------------------
    Chris Jaun
    ------------------------------



  • 7.  RE: New UI does not seem to support custom user interface file

    Posted Wed July 26, 2023 01:54 PM

    John,

    Does your custom UI file contain HTML markup? If so, we are aware of an issue displaying such text in 10.5.0.6 and a fix should be coming in a future fix pack.

    Thanks, 

    Chris



    ------------------------------
    Chris Jaun
    ------------------------------



  • 8.  RE: New UI does not seem to support custom user interface file

    Posted Thu July 27, 2023 02:45 AM

    Hi all, 

    Thanks! I've got it working. So for me this thread can be closed.

    Indeed I used an extra xml tag <em> but that did not solve it. 

    The real issue for me was I used location='both'. That worked in old webgui, not in new UI. I just made 2 separate entries, one for the header and one for the footer. That fixed it.

    One additional finding is that the post login message is shown in the old webgui, but not in the new UI. (I just tested it out of curiosity)

    Best regards,

    John



    ------------------------------
    John Gouw
    ------------------------------



  • 9.  RE: New UI does not seem to support custom user interface file

    Posted Thu July 27, 2023 12:54 PM

    I find in interesting they didn't improve this, but rather, made it worse.



    ------------------------------
    Joseph Morgan
    ------------------------------



  • 10.  RE: New UI does not seem to support custom user interface file

    Posted Fri July 28, 2023 08:56 AM

    Hi John,

    Thanks for the feedback.


    location='both' will be supported in upcoming fixpack as well. I will have check on the post login message.



    ------------------------------
    Chris Jaun
    ------------------------------