---
title: "Alfresco JavaScript Console · Appnovation"
url: "https://www.appnovation.com/insights/alfresco-javascript-console"
description: "How to use the Alfresco JavaScript Console to run custom scripts against the repository, with features like code completion and run-as-user."
---

Article

# Alfresco JavaScript Console

[![](https://cdn.sanity.io/images/ey850001/production/e97c2753023ea4f5c82f300813837655ec798fe7-68x68.jpg?w=68&auto=format) paladro paladro Alfresco Developer](/people/paladro-paladro.md) Oct 14, 2014  
 1 min read 

![Alfresco JavaScript Console](https://cdn.sanity.io/images/ey850001/production/2a0d4b9a23a2b8e31e63d7251c948a0304d5041a-1400x400.jpg?w=1400&auto=format) 

Today I want to talk about one of the most useful tool for [Alfresco developers](/services/technology-platform-development.md): the Javascript console. This add-on is a Share administration console component to execute custom Javascript code against the Alfresco repository. You can download it [here (opens in new window)](https://code.google.com/p/share-extras/wiki/JavascriptConsole).

Some features:

*   Run scripts with different users
*   Integrate custom JavaScript functions
*   Code completion via CTRL + SPACE
*   Save & load scripts from Data Dictionary

Here are some useful script examples that could be necessary in some projects:

**Users information**: retrieves the information of all the users in the repository

var users = people.getPeople(null); for each(user in users){  user = search.findNode(user); print(user.properties.userName+": " + user.properties.firstName+ " " + user.properties.lastName + "("+user.properties.email+")");}

**Permissions report**: recursive function to get all the permissions for a folder and its children

recurse(companyhome, function(node) { for each(permission in node.fullPermissions) { if (/;DIRECT$/.test(permission)) { logger.log(node.displayPath + "/"+ node.name + ";" + permission); } }});

[![](https://cdn.sanity.io/images/ey850001/production/e97c2753023ea4f5c82f300813837655ec798fe7-68x68.jpg?w=68&auto=format) paladro paladro Alfresco Developer · Appnovation](/people/paladro-paladro.md) 

## Keep reading

[![What is Sovereign AI](https://cdn.sanity.io/images/ey850001/production/a5889abdd5e80376912546622e046e3fbef234b4-2496x1664.png?w=640&auto=format)](/insights/what-is-open-source-sovereign-ai.md)

 Article · 7 min AI 

### [What Is Open Source, Sovereign AI?](/insights/what-is-open-source-sovereign-ai.md)

Every company is encouraging more AI, and almost every AI bill is climbing. Sovereign AI is about two kinds of control: over your data and over your costs. Here's why open source sits at its foundation.

[Iain MacNeil](/people/iain-macneil.md) Article 

[![AI-first experience design](https://cdn.sanity.io/images/ey850001/production/8bbc2418e87924ef10f36115478a2e10d5bed95e-1584x624.jpg?w=640&auto=format)](/insights/how-build-ai-first-experience-without-throwing-out-everything-youve-already-built.md)

 Article · 6 min AI Sep 10, 2026 

### [How to Build an AI-First Experience Without Throwing Out Everything You've Already Built](/insights/how-build-ai-first-experience-without-throwing-out-everything-youve-already-built.md)

Users now expect a direct answer, not a list of links to click through. Here's how organizations can layer an AI-First experience onto their existing website or app, in weeks rather than years.

[Andrew Douglas](/people/andrew-douglas.md) Article 

[![What Becomes Possible When AI Can Read All the Data](https://cdn.sanity.io/images/ey850001/production/c28ab0bd26753421ee42937e13adc7a7f19b47f0-1296x510.jpg?w=640&auto=format)](/insights/what-becomes-possible-when-ai-can-read-all-data.md)

 Article · 4 min AI Sep 09, 2026 

### [What Becomes Possible When AI Can Read All the Data](/insights/what-becomes-possible-when-ai-can-read-all-data.md)

Most of the world's data has never been analyzed, only sampled. AI changes that. How AI-ready data platforms unlock questions no one could ask before.

[Appnovation](/people/appnovation.md) Article 

## Get the thinking,  
*before everyone else.*

One considered email a month. New essays, field notes from live engagements, and the occasional strong opinion. No noise.
