01-01-2018 11:42 PM - edited 03-18-2019 01:43 PM
Hi!
I have been trying to create XML commands to do the branding on Touch10 that CE9.2 introduced. I can make the commands in CLI (SSH) and execute single line XML commands over http. The braniding commands contain the image Base64 encoded. There is no example I could find on how to construct the XML command for multine commands. Does anybody know?
Thanks in advance for any help!
Solved! Go to Solution.
01-16-2018 02:10 AM
Hi,
there is a macro related topic (https://supportforums.cisco.com/t5/telepresence/uploading-telepresence-macros-or-startup-scripts-via-api/m-p/3311652/highlight/true#M59261) that explains the multiline commands a bit, and it seems you have to use a <body></body> tag to send the contents of the command. I was trying this without much luck till now, but it might work with your command.
01-02-2018 01:39 PM
Take a look at Custom Commands for Endpoint Configuration Templates in TMS, it includes details on how to build a multi-part XML string that can be sent to the endpoint which can be used with TMS custom commands. Unfortunately, there isn't any documentation outside of the API Guides that covers the branding commands in specific detail.
01-02-2018 11:23 PM
Thanks for the reply. I have seen the custom commands in TMS guide. The problem isnt multiple commands - thats just a mater of filling the XML parse-tree, I have been able to do that. The problem is the xCommand UserInterface Branding Upload type: Mode command. In CLI I can issu a command like this:
xCommand UserInterface Branding Upload type: HalfwakeBranding
iVBORw0KGgoAAAANSUhEUgAAAOcAAAEQCAYAAABLFGM1AAAxNUlEQVR4nO2dd9wcVdXHv+mFhB
[BASE64 data abbreviated]
Vy2Ra9z/D40tNf44ygZOAAAAAElFTkSuQmCC
.
Which works. Translating this command to XML is the problem. There is a couple of these type of multiline commands available.
01-04-2018 02:27 AM
OK - So this is unknown terriroty. Should I open a support enquiry with Cisco to get help?
BTW: there is a error in the API documentation. "xConfiguration UserInterface OSD SettingsMenu Mode" should be "xConfiguration UserInterface SettingsMenu Mode".
01-04-2018 08:07 AM
Probably best, and you can also bring up the document defect to them as well so it can be corrected.
01-16-2018 02:10 AM
Hi,
there is a macro related topic (https://supportforums.cisco.com/t5/telepresence/uploading-telepresence-macros-or-startup-scripts-via-api/m-p/3311652/highlight/true#M59261) that explains the multiline commands a bit, and it seems you have to use a <body></body> tag to send the contents of the command. I was trying this without much luck till now, but it might work with your command.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide