The hammer command mentioned in the documentation is not correct. Instead of "Content_View_Version_ID" it should be "Content_View_ID" We use "Content_View_Version_ID" when we do not wish to enable "Always update to latest version" for Content View Organisation option is missing because of which getting below error. ~~~ [root@rhsat612 ~]# hammer content-view component add \ --component-content-view-id XX \ --latest \ --composite-content-view "Example_Composite_Content_View" Could not add the component: Error: Missing options to search organization. ~~~ Below is the command should be used with and without "Always update to latest version" option for Content View. Hammer command to add Content View in Composite Content View with "Always update to latest version" enabled. ~~~ # hammer content-view component add \ --component-content-view-id Content_View_ID \ --latest \ --composite-content-view "Example_Composite_Content_View" \ --organization "My_Organization" ~~~ Hammer command to add Content View in Composite Content View with "Always update to latest version" disabled. ~~~ # hammer content-view component add \ --component-content-view-id Content_View_ID \ --composite-content-view "Example_Composite_Content_View" \ --component-content-view-version-id Content_View_Version_ID \ --organization "My_Organization" ~~~
Hello, Thank you very much for reporting this issue. Updates about the progress on the fix will be shared here as well as the final link to fixed document. Thank you!
Hi! Created PR to address the issue: https://github.com/theforeman/foreman-documentation/pull/2305
The documentation has been updated: https://access.redhat.com/documentation/en-us/red_hat_satellite/6.13/html-single/managing_content/index#Creating_a_Composite_Content_View_content-management https://access.redhat.com/documentation/en-us/red_hat_satellite/6.12/html-single/managing_content/index#Creating_a_Composite_Content_View_content-management https://access.redhat.com/documentation/en-us/red_hat_satellite/6.11/html-single/managing_content/index#Creating_a_Composite_Content_View_content-management