On 27.04.2017, at 06:12, Correia <[email protected]> wrote: > How do I add my second JSON file to the jcr:data on the first file??
The answer to that question must lie in the sling initial content loader mechanism, how it can incorporate binary files (i.e. the second en.json that should end up as-is as nt:file in the repository). It probably sees all json files as descriptor files and tries to read them as jcr content. Using "ignoreImportProviders=json" won't help, as then the english.json would no longer be seen as descriptor file either. You could turn the english.json into the xml descriptor format, and use "ignoreImportProviders=json"… that might not be perfect if you prefer the json descriptor format I guess. Note I am not very familiar with the content loader mechanism and if there is a better way. Cheers, Alex
