Skip to content

Deploy Extensions via Control Hub

Abstract

Adding custom buttons can be achieved in several ways, including via the API, embedded in a macro , the web admin portal on the device, Control Hub, or CE-Deploy. Regardless of the method you choose, all approaches yield the same outcome. In our labs, we will try using Control Hub and then CE-Deploy. Make sure to complete lab dep-1.4 before continuing with this lab. The Run Commands lab lays the foundation for this lab.

dep-1.5 Lab

dep-1.5.1 In the clear search box for Run xCommands type UserInterface > Extensions >Panel and select the Save option

Extensions

dep-1.5.2 This will open the Save Arguments dialog

Save

dep-1.5.3 Use Post_Meeting_Survey as the PanelId. Open Post_Meeting_Survey.xml in a text editor, or copy the XML provided below. Then, paste the contents of Post_Meeting_Survey.xml into the Body section. To make this easier, you can also use the copy button located on the right of any text section.

Post_Meeting_Survey_Macro.xml
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
<Extensions>
    <Version>1.11</Version>
    <Panel>
        <Order>14</Order>
        <PanelId>Post_Meeting_Survey</PanelId>
        <Location>Hidden</Location>
        <Icon>Lightbulb</Icon>
        <Name>Post Meeting Survey</Name>
        <ActivityType>Custom</ActivityType>
        <Page>
            <Name>Post Meeting Survey</Name>
            <Row>
                <Name>Overall Rating</Name>
                <Widget>
                    <WidgetId>post_overall_text</WidgetId>
                    <Name>- - - - -</Name>
                    <Type>Text</Type>
                    <Options>size=2;fontSize=normal;align=center</Options>
                </Widget>
                <Widget>
                    <WidgetId>post_overall_change</WidgetId>
                    <Name>Change</Name>
                    <Type>Button</Type>
                    <Options>size=2</Options>
                </Widget>
            </Row>
            <Row>
                <Name>Audio Quality</Name>
                <Widget>
                    <WidgetId>post_Audio</WidgetId>
                    <Type>GroupButton</Type>
                    <Options>size=4</Options>
                    <ValueSpace>
                        <Value>
                            <Key>4</Key>
                            <Name>Superb 🎉</Name>
                        </Value>
                        <Value>
                            <Key>3</Key>
                            <Name>Good 😊</Name>
                        </Value>
                        <Value>
                            <Key>2</Key>
                            <Name>Ok 👍</Name>
                        </Value>
                        <Value>
                            <Key>1</Key>
                            <Name>Poor 🫤</Name>
                        </Value>
                    </ValueSpace>
                </Widget>
            </Row>
            <Row>
                <Name>Video Quality</Name>
                <Widget>
                    <WidgetId>post_Video</WidgetId>
                    <Type>GroupButton</Type>
                    <Options>size=4</Options>
                    <ValueSpace>
                        <Value>
                            <Key>4</Key>
                            <Name>Superb 🎉</Name>
                        </Value>
                        <Value>
                            <Key>3</Key>
                            <Name>Good 😊</Name>
                        </Value>
                        <Value>
                            <Key>2</Key>
                            <Name>Ok 👍</Name>
                        </Value>
                        <Value>
                            <Key>1</Key>
                            <Name>Poor 🫤</Name>
                        </Value>
                    </ValueSpace>
                </Widget>
            </Row>
            <Row>
                <Name>Room Cleanliness</Name>
                <Widget>
                    <WidgetId>post_Room</WidgetId>
                    <Type>GroupButton</Type>
                    <Options>size=4</Options>
                    <ValueSpace>
                        <Value>
                            <Key>4</Key>
                            <Name>Superb 🎉</Name>
                        </Value>
                        <Value>
                            <Key>3</Key>
                            <Name>Good 😊</Name>
                        </Value>
                        <Value>
                            <Key>2</Key>
                            <Name>Ok 👍</Name>
                        </Value>
                        <Value>
                            <Key>1</Key>
                            <Name>Poor 🫤</Name>
                        </Value>
                    </ValueSpace>
                </Widget>
            </Row>
            <Row>
                <Name/>
                <Widget>
                    <WidgetId>post_Email_text</WidgetId>
                    <Name>[Enter Email] -- &gt;</Name>
                    <Type>Text</Type>
                    <Options>size=3;fontSize=normal;align=center</Options>
                </Widget>
                <Widget>
                    <WidgetId>post_Email_enter</WidgetId>
                    <Name>Enter</Name>
                    <Type>Button</Type>
                    <Options>size=1</Options>
                </Widget>
            </Row>
            <Row>
                <Name/>
                <Widget>
                    <WidgetId>post_Submit</WidgetId>
                    <Name>Submit</Name>
                    <Type>Button</Type>
                    <Options>size=4</Options>
                </Widget>
            </Row>
            <Options/>
        </Page>
    </Panel>
</Extensions>

Saving the Panel extension
Saving the Panel extension

dep-1.5.4 Scroll done to the bottom of the Arguments section and Select Execute

Execute

You should see a response after execution to show it has been successful

Success

Success

You should now see the Post_Meeting_Survey button on your device panel/display. Next step is making our new custom button function.