DefaultPortalName method: IntBroker class

Syntax

DefaultPortalName()

Description

Use the DefaultPortalName method to return the name of the default portal on this system.

Parameters

None.

Returns

None.

Example

In a MAP application, use this method when generating a link to a classic component or to a fluid component. For example, the following PeopleCode generates a link to a fluid homepage.

&URL = GenerateComponentPortalURL(%IntBroker.DefaultPortalName(), %IntBroker.DefaultLocalNode(), MenuName.NUI_FRAMEWORK, %MAP_Market, Component.PT_LANDINGPAGE, Page.PT_LANDINGPAGE, "U");