Expand my Community achievements bar.

SOLVED

Checkout oak index folder using vlt

Avatar

Adobe Champion

I use the below command to checkout apps folder components and it works

 

vlt --credentials admin:admin co http://localhost:4502/crx/-/jcr:root/apps/dam/gui/coral/components/admin/timeline admintimeline

 

But, if I use the below to check out oaK:index folder, it says folder don't exist. Do we need to escape any characters for this to work.

 

vlt --credentials admin:admin co http://localhost:4502/crx/-/jcr:root/oak:index index

 

Appreciate if someone can comment?

 

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @P_V_Nair,

Please try this 

vlt --credentials admin:admin co http://localhost:4502/crx/-/jcr:root/_oak_index index

Generally, repo commands expect the file system path as argument, not the JCR path. Currently the mapping of the vault mapped paths for namespaces in file or directory names is only done in one direction, from mapped to jcr, such as _oak_index to oak:index.

Hope that helps!
Regards,

Santosh

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Hi @P_V_Nair,

Please try this 

vlt --credentials admin:admin co http://localhost:4502/crx/-/jcr:root/_oak_index index

Generally, repo commands expect the file system path as argument, not the JCR path. Currently the mapping of the vault mapped paths for namespaces in file or directory names is only done in one direction, from mapped to jcr, such as _oak_index to oak:index.

Hope that helps!
Regards,

Santosh