This document explains how to remove action buttons in My Servers popover.
There are no specific requirements for this document.
The information in this document is based on these hardware and software versions.
The following configuration applies to IAC versions 4.0.
Creating new action buttons is beyond the scope of this document.
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”
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.
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.
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.
The Cisco Support Community is a forum for you to ask and answer questions, share suggestions, and collaborate with your peers.
Refer to Cisco Technical Tips Conventions for information on conventions used in this document.