cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
Walkthrough Wednesdays
1158
Views
20
Helpful
9
Replies
mneubacher
Beginner

Finesse 12.0 Horizontal Header Gadget

Hi Community,

I'm currently checking out the new capabilities with Finesse 12.0, but I'm failing to add a custom gadget to the horizontal header. It works when it's loaded in the regular tabs.

The code looks good/processed in the debugger, but the onConnect function is not called.

layout:

            <headercolumn width="251px">
                <gadget>/3rdpartygadget/files/TopBarGadget/TopBarGadget.xml</gadget>
            </headercolumn>

gadget:

<?xml version="1.0" encoding="UTF-8"?>
<Module>
    <ModulePrefs title="top bar sample gadget"
        description="top bar sample gadget">
        <Require feature="pubsub-2" />
        <Require feature="setprefs" />
    </ModulePrefs>

    <Content type="html">
        <![CDATA[
            <!DOCTYPE html>           
            <!-- jQuery -->
            <script type="text/javascript" src="/desktop/assets/js/jquery.min.js"></script>
           
            <!-- Finesse Library -->
            <script type="text/javascript" src="/desktop/assets/js/finesse.js"></script>

            <body>
                <div id="displayOut">Hello World!</div>
            </body>

            <script type="text/javascript">
                // initialize the gadget
                gadgets.HubSettings.onConnect = function () {
                    console.log("onConnect");
                    $(document).ready(function(){
                        console.log("onConnect - ready");
                    });
                };
            </script>
        ]]>
    </Content>
</Module>

 

2 ACCEPTED SOLUTIONS

Accepted Solutions
dekwan
Cisco Employee

Hi,

 

I was able to reproduce your issue and looks like you are hitting a bug (CSCvn92810). This will be fixed in 12.0 ES1.

 

Thanx,

Denise

View solution in original post

Thanks, Denise. Checked ES01 out today and it works :)

View solution in original post

9 REPLIES 9
dekwan
Cisco Employee

Hi,

 

I don't think it is intended for gadgets to be put into the horizontal header. I was trying to double check in the admin guide, but it seems to be down right now.

 

Thanx,

Denise

Hey Denise,

Thanks for your answer. In the sessions regarding release 12.0 they were promoting that we can use all the space in the header for custom gadgets.

The admin guide says: "The Horizontal Header on the Finesse desktop has the following components from left to right. All these components can be removed and replaced with custom gadgets as required."

Thanks,

Matthias

Hi,

 

My 12.0 testbeds are tied up for other issues right now, so I can't test this out for myself. I have reached out to the Finesse team to get clarification because the text you provided does seem like it is supposed to be possible.

 

I will try to add a gadget to the header once one of my testbed frees up.

 

Thanx,

Denise

dekwan
Cisco Employee

Hi,

 

I was able to reproduce your issue and looks like you are hitting a bug (CSCvn92810). This will be fixed in 12.0 ES1.

 

Thanx,

Denise

View solution in original post


I was able to reproduce your issue and looks like you are hitting a bug (CSCvn92810). This will be fixed in 12.0 ES1.

Denise, FYI the above bug can't been seen by the public - and interested developers.

 

Paolo

I have reached out to the engineer to make it visible.

 

Thanx,

Denise

Thanks, Denise. Checked ES01 out today and it works :)

View solution in original post

Great! I'm glad its fixed.

Works pefect also on 12.5 without title of gadget

Content for Community-Ad