As a supplement to the design document, please donot display it in the Author environment (editor, view as published screens), but operate only in the Publish environment .
When I give the root path check the value on the component the first time set the path default set again open the component change the path that time change but reopen the component root path value To show the first time set path
rootPath="/content/dam/hcp/jp/products"