[progress Communities] [progress Openedge Abl] Forum Post: Re: Get Portal Id From Rollbase

  • Thread starter Thread starter Shiva Duriseati
  • Start date Start date
Status
Not open for further replies.
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...
 
Status
Not open for further replies.
Back
Top