03-02-2021 02:26 AM
I am recording settings using AttributeServece in alfresco repo. How can I get these settings on side the alfresco share?
public class ConfigManager {
@Autowired
AttributeService attributeService;
public void set(String key, String value) {
attributeService.setAttribute(value, key);
}
03-02-2021 11:18 AM
Hello,
Better write a webscript in repo side and access it from the share.
You can check response.status for the response code and you can parse the response into a JavaScript object as needed.
For Example:
var connector = remote.connect("alfresco-api");
var data =connector.get("/nodes/{nodeId}/versions/{versionId}");
Explore our Alfresco products with the links below. Use labels to filter content by product module.