Foros de discusión

Portal URL

thumbnail
mohammad azaruddin, modificado hace 10 años.

Portal URL

Expert Mensajes: 492 Fecha de incorporación: 17/09/12 Mensajes recientes
Hi
how to get omniadmin portal URL in another instance
thumbnail
David H Nebinger, modificado hace 10 años.

RE: Portal URL

Liferay Legend Mensajes: 14919 Fecha de incorporación: 2/09/06 Mensajes recientes
there is no omniadmin url. You are either an omniadmin (because it's defined in portal-ext.properties) and you have admin privs or you're not an omniadmin and you don't.
thumbnail
mohammad azaruddin, modificado hace 10 años.

RE: Portal URL

Expert Mensajes: 492 Fecha de incorporación: 17/09/12 Mensajes recientes
In general scenario (www.localhost:8080) is the default instance which has all the previlages....And suppose i have created new instance(www.newinstance.com) and in new instance(www.newinstance.com) i want to get the portalURL of localhost ..that is (www.localhost:8080),Dynamically..



themeDisplay.getPortalURL() return the current portalURL.But i need default instance url www.localhost:8080 dynamically in (www.newinstance.com)
thumbnail
David H Nebinger, modificado hace 10 años.

RE: Portal URL

Liferay Legend Mensajes: 14919 Fecha de incorporación: 2/09/06 Mensajes recientes
localhost is never dynamic. localhost always refers to the local host. it doesn't dynamically point anywhere.
thumbnail
mohammad azaruddin, modificado hace 10 años.

RE: Portal URL

Expert Mensajes: 492 Fecha de incorporación: 17/09/12 Mensajes recientes
You are correct....ok i need portalUrl of instance which has all the previliges(ie default portal url ) when i work on newly created instance....hope u understood my question