My Repo Init config file is in Json format. The usual method $[env: VAR_NAME] threw syntax error
Solved! Go to Solution.
Views
Replies
Total Likes
          
        
Hi @Sharvesh106
The jcr.repoinit module only supports plain text (see SLING-6219). Therefore, you need to add the group name in plain text in the environment-specific OSGi config file.
          
        
Hi @Sharvesh106 
Please check 
Environment variable in OSGI config
Repoinit supported Syntax
https://sling.apache.org/documentation/bundles/repository-initialization.html
Can you share sample init config file.
          
        
create group $[env:GROUP_NAME] with path sample
Here i am trying to create group dynamically based on the name given on Environment variable
          
        
Hi @Sharvesh106
The jcr.repoinit module only supports plain text (see SLING-6219). Therefore, you need to add the group name in plain text in the environment-specific OSGi config file.
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies