Hi,
We are using Bloomreach version 15.7.2
We have implaemented the Translation Addon using EasyTranslate in our project and it translates documents as expected but on the documents with fileds of type hippostd:html the references to the embebbed links to internal documents are not translated.
In our connector class which extends com.bloomreach.cms.translations.connector.api.AbstractTranslationConnector class I am tring to instantiate the javax.jcr.Session and add the reference to the hippostd:html before I am sending it for translation.
I was able to get the session using the credentials in our develop environment as follows:
Repository repository = (Repository) HstServices.getComponentManager().getComponent(“javax.jcr.Repository”);
SimpleCredentials credentials = new SimpleCredentials(“admin”, “admin”.toCharArray());
Session session = repository.login(credentials);
This is not the solution for a production environment, though. Is there any way I can retireve the Session on my Translation Addon Connector?