10-24-2017 06:52 AM
I want to override people.post.json.js file to return true or false in order to compare number of users exists and number of users required(set a limit to add users, fetch the value for required user's count from alfresco-global-properties).
I am not sure how to :--
1 - get number of users exists in alfresco in javascript.
2 - fetch value from alfresco-global-properties in javascript.
thanks in advance.
10-24-2017 07:09 AM
Probably best approach is to develop a ScriptNode object in Java (https://docs.alfresco.com/5.1/references/dev-extension-points-javascript-root-objects.html). So you can access easily to alfresco-global.properties and PersonService.countPeople() method.
10-24-2017 07:09 AM
Probably best approach is to develop a ScriptNode object in Java (https://docs.alfresco.com/5.1/references/dev-extension-points-javascript-root-objects.html). So you can access easily to alfresco-global.properties and PersonService.countPeople() method.
Explore our Alfresco products with the links below. Use labels to filter content by product module.