08-15-2007 05:13 PM
08-22-2007 10:09 AM
var people = search.luceneSearch("TYPE:cm\\:person");
for each (p in people)
{
logger.log("Found user: " + p.properties.userName);
if (p.hasAspect("app:configurable"))
{
var config = p.childAssocs["app:configurations"][0];
var prefs = config.childrenByXPath("app:preferences");
if (prefs.length == 1)
{
var preferences = prefs[0];
if (preferences.properties["app:dashboard"] != null)
{
preferences.properties["app:dashboard"] = null;
preferences.save();
logger.log(" preferences found and cleared.");
}
}
}
}
If you run this as admin (via URL or whatever) then it will clear all user dashboard preferences.08-22-2007 06:50 PM
Assuming you are using 2.1
…
Kevin
09-18-2007 02:02 PM
If you run this as admin (via URL or whatever) then it will clear all user dashboard preferences.
…
var people = search.luceneSearch("TYPE:cm\\:person");
…
09-21-2007 10:14 AM
09-21-2007 11:22 AM
That's odd - i tested it here on a 2.1 installation, executed as the admin user and it worked.
No it is not limited by web-client-config settings.
Kevin
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.