Created
May 5, 2022 22:16
-
-
Save TiloGit/e69691a8c387a17a4dbf729196932a68 to your computer and use it in GitHub Desktop.
FileNet GCD Addon list (quick hack)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
importClass(java.lang.System); | |
function OnCustomProcess (CEObject) | |
{ | |
var objStor = CEObject.getObjectStore(); | |
objStor.refresh(); | |
var myDomain = objStor.get_Domain(); | |
myDomain.refresh(); | |
var AddOnListIterator = myDomain.get_AddOns().iterator(); | |
var output = ""; | |
while (AddOnListIterator.hasNext()){ | |
curr=AddOnListIterator.next(); | |
output = output + curr.get_Id() + " : " + curr.get_DisplayName() +"-replaceCR"; | |
//with SupersededAddOnIds output = output + curr.get_Id() + " : " + curr.get_DisplayName() + " : " + curr.get_SupersededAddOnIds() +"-replaceCR"; | |
} | |
//prints to SystemOut.log | |
//java.lang.System.out.println(output); | |
//prints to ACCE output if SystemOut is not accessible | |
throw new java.lang.Exception(output); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
list from ACCE Domain property "Add-on" inspect HTML code of ACCE: