Guest

Cisco Intelligent Automation for Cloud

Remove Action Buttons in My Servers

  • Viewing Options

  • PDF (104.1 KB)
  • Feedback

Document ID: 117672

Updated: Apr 16, 2014

   Print

Introduction

This document explains how to remove action buttons in My Servers popover.

Before You Begin

Requirements

There are no specific requirements for this document.

Components Used

The information in this document is based on these hardware and software versions.

  • The following configuration applies to IAC versions 4.0.

Adding New Buttons to My Server

Creating new action buttons is beyond the scope of this document.

IAC and Service Designer

The procedure for removing action buttons in My Servers requires the use of Service Designer.

Removing an Action Button

The following example illustrates the steps for removing the "Release Floating IP Address" action button.

Step 1: Find and open the file "IACServersPopover.js" for editing that is located at "\src\widget\iac\IACServersPopover.js"

Step 2: Search string button name “Release Floating IP Address”

Diagram1.png

Step 3: Remove or commit all occurrences of serviceNames, serviceIDs, cssClassNames related to “Release Floating IP Address” you found this code multiple times in file, see below image.

Diagram2.png

Step 4: Next open file “IACGenerateActionButtons.js” for editing and again search string “Release Floating IP Address” commit or remove its conditional block like following.

Diagram3.png

Step 5: Commit all occurrences. You may find multiple occurrences in this file.

Step 6: Build, run and deploy to verify new button is created.

Related Information

Updated: Apr 16, 2014
Document ID: 117672