Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Checkout oak index folder using vlt

Avatar

Level 5

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