Checkout oak index folder using vlt | Community
Skip to main content
Adobe Champion
September 14, 2022
Solved

Checkout oak index folder using vlt

  • September 14, 2022
  • 1 reply
  • 792 views

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?

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by SantoshSai

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

1 reply

SantoshSai
Community Advisor
SantoshSaiCommunity AdvisorAccepted solution
Community Advisor
September 14, 2022

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

Santosh Sai
P_V_NairAdobe ChampionAuthor
Adobe Champion
September 14, 2022

Thank you @santoshsai