Load Portal
Audience:
Low-code EngineersSkill Prerequisites:
Actions,Tokens
Reads the details of a DNN portal (site), such as its name, administrator and default language, into tokens. Leave the identifier empty to load the current portal.
This action is part of the Portal Management add-on, which is installed and licensed separately (feature package PORTAL). If it isn't licensed, the action fails with a not-licensed error.
Typical Use Cases
- Get the current portal's administrator or email to send a notification
- Check that a portal ID exists before updating or deleting it
- Read the portal's default language or culture to format content
- Show portal details in an admin tool
Don't use it to
- Find a portal by alias or name. Only a portal ID or GUID works. Look the ID up with Run SQL Query first if you only have the alias.
- Load a page or module. Use Load Page or Load Module instead.
Related Actions
| Action Name | Description |
|---|---|
| Create Portal | Creates a portal and returns its ID. |
| Update Portal | Changes the portal's name, administrator, keywords, description or email. |
| Delete Portal | Deletes a portal. |
| Load User | Loads the administrator's details from the loaded Administrator Id. |
| Load Page | Loads a page's details into tokens. |
Input Parameter Reference
| Parameter | Description | Supports Tokens | Default | Required |
|---|---|---|---|---|
| Portal Identifier | The portal to load, as a portal ID (for example 3) or portal GUID. Leave it empty to load the current portal. | Yes | empty string | No |
Output Parameters Reference
Each parameter is the name of a token that receives one value. Square brackets are optional. Leave a parameter empty to skip that value. Tokens aren't applied to these names.
| Parameter | Description |
|---|---|
| Store Portal Name in | Receives the portal name. |
| Store Administrator Id in | Receives the user ID of the portal administrator. |
| Store Portal CreatedByUserID in | Receives the ID of the user who created the portal. |
| Store Portal CreatedOnDate in | Receives the date and time the portal was created. |
| Store Culture Code in | Receives the portal's culture code, for example en-US. |
| Store Default Language in | Receives the portal's default language, for example en-US. |
| Store Portal Email in | Receives the portal's email address. |
| Store LastModifiedByUserID in | Receives the ID of the user who last changed the portal. |
| Store LastModifiedOnDate in | Receives the date and time the portal was last changed. |
Considerations
- The identifier must be an ID or a GUID. Anything else, or an ID that doesn't exist, makes the action fail with
LoadPortal action: Could not identify portal. - An empty identifier needs a current portal. If the action runs where there's no portal in context, it fails with
Can not load current portal without portal into context. - There's no permission check in the action. Anyone who can run it can read these details for any portal in the installation.
Examples
To understand how to use the below examples, please see Running Examples.
1. Load the current portal
This action loads the current portal's name, administrator and email into [PortalName], [PortalAdminId] and [PortalEmail].
{
"Title": "Load Portal",
"ActionType": "LoadPortal",
"Description": "Load the current portal's details",
"Parameters": {
"PortalIdentifier": "",
"PortalName": "PortalName",
"AdministratorId": "PortalAdminId",
"Email": "PortalEmail"
}
}
2. Load a portal by ID
This action loads the portal whose ID is in [SelectedPortalId], including its creation date and default language.
{
"Title": "Load Portal",
"ActionType": "LoadPortal",
"Description": "Load the selected portal",
"Condition": "[SelectedPortalId] != \"\"",
"Parameters": {
"PortalIdentifier": "[SelectedPortalId]",
"PortalName": "SelectedPortalName",
"CreatedOnDate": "SelectedPortalCreated",
"DefaultLanguage": "SelectedPortalLanguage"
}
}
Revised 09/27/2026