DemandFlow Support Centre

PORTALCONFIG: Portal Configuration

ReferenceEntity Reference16/04/2026Updated 16/04/2026
The PORTALCONFIG entity represents configuration record for a customer-facing portal. Each subscription can have multiple portals, each with its own subdomain and type (IT Support, Contractor, etc.).

PORTALCONFIG: Portal Configuration

The PORTALCONFIG entity represents configuration record for a customer-facing portal. Each subscription can have multiple portals, each with its own subdomain and type (IT Support, Contractor, etc.).

Default definition. This article describes the default PORTALCONFIG definition shipped with DemandFlow. Administrators can add, remove, rename, or re-type fields, change which ones are required, and alter the layout from the Definitions screen in Settings. Your tenant's current schema may differ from what is shown here. To read the current definition at any time, GET the DEFINITION object whose id matches PORTALCONFIG.

Entity properties

PropertyValue
Entity codePORTALCONFIG
Display namePortal Configuration
PluralPortal Configurations
Level60000

Use cases

PORTALCONFIG is managed via the Portal Settings page (settings_portal.js). Multiple records per subscription are supported, each with a unique subdomain. The portalType field determines which features are available. The subdomain field maps to {subdomain}.portal.demandflow.com. The portal rendering Lambda reads this record to build the public site. logoKey references an S3 file uploaded via api.uploadFile.

Fields

General

FieldTypeRequiredNotes
portalTypeenumYesPortal Type. Valid ids: 1 (IT Support), 2 (Contractor).
nametextYesPortal Name.
subdomaintextYesYour portal will be available at {subdomain}.portal.demandflow.com.
portalTitletextDisplayed as the main heading on the portal.
portalDescriptiontext (multi-line)Shown on the portal homepage.
supportEmailtextContact email displayed on the portal.
primaryColortextHex colour code for portal header and accents.
logoKeytextS3 key for the uploaded logo (managed via Portal Settings page). Read-only.
enabledbooleanEnable or disable the public portal.
portalUserAccountsEnabledbooleanAllow portal visitors to create accounts and log in.
knowledgeBaseEnabledbooleanAllow visitors to browse public knowledge base articles.
ticketSubmissionEnabledbooleanAllow visitors to submit support tickets.
captchaEnabledbooleanRequire CAPTCHA verification on ticket submission.
timesheetEnabledbooleanAllow contractors to submit timesheets.
expenseEnabledbooleanAllow contractors to submit expenses.
invoiceEnabledbooleanAllow contractors to submit invoices.

Legal

FieldTypeRequiredNotes
privacyPolicytext (multi-line)HTML or plain text content for the Privacy Policy page on the public portal.
termsOfUsetext (multi-line)HTML or plain text content for the Terms of Use page on the public portal.

Relationships

  • Related lists: PORTALUSER via format SUB|PORTAL.

Creating a Portal Configuration via the API

POST /v1/objects
Authorization: Bearer <your-pat>
Content-Type: application/json

{
  "entity":   "PORTALCONFIG",
  "level":    60000,
  "comboKey": "SUB:<your-sub-id>|ENT:",
  "portalType": "1",
  "name": "Example",
  "subdomain": "Example text",
  "portalTitle": "Example text"
}

Listing PORTALCONFIG records

# All portal configurations in your tenant
GET /v1/entities/PORTALCONFIG/SUB

See also

portalconfigportal configurationportal configurationsportalconfiguration

Was this article helpful?

← Back to Knowledge Base