Bug 1591579 - [RFE] Describe how to export and import custom buttons
Summary: [RFE] Describe how to export and import custom buttons
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Documentation
Version: 5.10.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.10.0
Assignee: Chris Budzilowicz
QA Contact: Red Hat CloudForms Documentation
URL:
Whiteboard:
Depends On: 1164306
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-06-15 04:26 UTC by Andrew Dahms
Modified: 2018-11-20 12:07 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-11-20 12:07:47 UTC
Category: ---
Cloudforms Team: Documentation
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Andrew Dahms 2018-06-15 04:26:08 UTC
Red Hat CloudForms 4.7 adds the ability to export and import custom buttons so that they can be moved from one environment to another. A procedure outlining how to do so must be added to the documentation.

Comment 2 Nikhil Dhandre 2018-11-14 06:13:55 UTC
Hey Chris,

As per my understanding, it due to not provided proper directory path. We have to provide a directory path[1].

1. For export

$ mkdir /tmp/custom_buttons
$ vmdb
$ rake evm:export:custom_buttons -- --directory /tmp/custom_buttons
$ cd /tmp/custom_buttons #here you can check created yaml file


2. For import

$ vmdb
$ rake evm:import:custom_buttons -- --source /tmp/custom_buttons"

Note: While importing you can specify directory or specific yaml file as a source [2].

Chris, I am testing this feature on the same appliance, with steps [3].

Let me know this info helpful or not...

Thanks,
~Nikhil


[1] https://github.com/ManageIQ/manageiq/pull/17699
[2] https://github.com/ManageIQ/manageiq/pull/17726
[3] https://github.com/ManageIQ/integration_tests/blob/master/cfme/tests/automate/custom_button/test_import_export.py#L87


Note You need to log in before you can comment on or make changes to this bug.