S
Shiva Duriseati
Guest
Hi , As on today there is no such API or method to list all the portals. However if you are on private cloud please enable custom trigger and add following code to trigger method in RuntimeTrigger class. For a test I have printed all the portals on console. @Override public void trigger(TriggerRunner runner) throws Exception { List portals = WebSiteHandler.getPortals(runner.getCustomer()); Iterator listOfPortals=portals.iterator(); System.out.println("*********List of all portals**************"); while(it.hasNext()){ //System.out.println(it.next()); }} For more information on Custom Trigger please see attached document. (Please visit the site to view this file) Regards, Shiva
Continue reading...
Continue reading...