Documentation Index

Fetch the complete documentation index at: https://docs.staedean.com/llms.txt

Use this file to discover all available pages before exploring further.

Portal settings

Prev Next

This page describes the different application settings available in the Anywhere Portal.

Settings overview

Setting name

Area (Cloud/On Premise)

Purpose

ApiBaseURL

Both

The endpoint of the Microsoft Dynamics 365 Business Central API

AuthenticationType

Both

Defines how the portal authenticates with the Microsoft Dynamics 365 Business Central web service

AuthorityURI

Cloud

URL where the authorisation token is requested

ClientID

Cloud

The ID of the app registration in the Azure tenant

ClientSecret

Cloud

Used with the ClientID to authenticate as an Azure App

Company

Both

Links the portal to one company in the tenant

ConcurrentUsersExceeded

Both

The message returned when no more users can log in

DataUploadErrorMsg

Both

The message returned when an upload of files or pictures exceeds the maximum size

Debug

Both

When enabled, error messages show more detailed information

enableAPI

Both

Switches the communication channel between SOAP and API (OData); default false (SOAP)

EnableCookies

Both

Enables cookies to save the current selected company in the company dropdown on the login page

EnvironmentName

Cloud

The environment that the portal connects to (Production/Sandbox)

ErrorOnTop

Both

Determines where the error displays when an error occurs before or after the first control (default false)

FirstColumnWidth

Both

The width of the first column on grids when no fields are present

GridButtonsImageFolder

Both

Obsolete

HorizontalLayoutMode

Both

Controls shrink or adjust when the screen width is below 320px

InfiniteScrolling

Both

Switch between pages or one continuous list

InitialRetries

Both

How many attempts the portal makes to connect to the web service

LicenseFile

Both

The local path to the license file

LoggingEnabled

Both

Creates a log containing all communication between D365 BC and the Portal

MediaFolder

Both

The local path where media files are stored, both static and dynamic

MetaTagName1

Both

MobileOptimised

MetaTagValue1

Both

320, default width of a window

MetaTagName2

Both

Viewport

MetaTagValue2

Both

Used for scaling on high resolution screens

MetaTagName3

Both

For Apple Devices

MetaTagValue3

Both

Set capability

PreAuthenticate

On Premise

To pre-authenticate the user to the web service

RedirectURI

Cloud

Set up in the Azure App Registration; must point to this website

RPNURL

Cloud

Fallback when the RPN URL does not match the web service URL

SessionTimeOut

Both

Determines when a user must log in again (default 20 minutes)

StyleSheet

Both

The stylesheet applied to the portal

Tenant

Both

The (Azure) tenant

UseIcons

Both

Use icon font instead of images

WebServiceUrl

Both

The SOAP URL from the Microsoft Dynamics 365 Business Central service

WebServiceDomain

On Premise

Web service user credentials

WebServicePassword

On Premise

Web service user credentials

WebServiceUserName

On Premise

Web service user credentials

Setting details

Api Base URL

The API base URL is the endpoint where the Portal retrieves the license from. APIs use the OData protocol, which requires OData to be enabled on the server.

Note
See Microsoft Learn for more information.

For cloud environments, the API base URL is typically: https://api.businesscentral.dynamics.com/v2.0///api/

For on-premise, the API base URL is typically: http://localhost:4048/BC/api

http://://api

Note
See Microsoft Learn for details on endpoint structures.

Authentication type

The values available for this setting are:

Value

Comment

OnPrem

Connects to an on-premise environment. This is the default value.

AzApp

Connects to an Azure environment via an app registration with ClientID and Secret.

AzDelegate

Deprecated. Uses the credentials from an admin to delegate permissions.

AZUser

Deprecated. Requires users to log in to Azure first, then access the portal with their mobile user account.

The authentication type determines whether the portal connects to a Microsoft Dynamics 365 Business Central environment with local or domain users, or via Azure authentication methods.

Note
If configured incorrectly, an error may occur suggesting that AZApplication is a valid setting. This is a known issue.

enableAPI

Default value: false

The portal communicates via SOAP with Microsoft Dynamics 365 Business Central, except for the license. When enabled, all communication goes through the API channel. This provides a minor performance improvement and better error handling. The SOAP channel only handled some error types. Via the API channel, error handling is improved at SaaS level and errors are no longer obfuscated with an HTTP 500 message.

Company

Default value: (empty)

When empty and connected to an environment with several companies, a dropdown appears on the login page for company selection. When you fill in this setting, the dropdown disappears and users can only log in to one company.

License file

The license file key has the initial value of:

~\Files\license.dat

To accommodate the new license model (see License update), the Portal uses the folder to retrieve the license file. From 1 October 2023, only .tilicense files are valid.

SessionTimeOut

Default value: 20 (minutes)

Determines how long a session remains active in the user's browser before they must log in again. This requires cookies to be enabled. In the Anywhere Framework, sessions remain active indefinitely until the user logs out. When a session becomes inactive, the user is automatically redirected to the login page. Otherwise, they return to the last page they visited.

ErrorOnTop

Default value: false

Enable this setting to display error messages at the top of the portal page.

When enabled:

Displaying errors in portal

Displaying errors in portal

When disabled:

Displaying errors in portal

Displaying errors in portal

WebServiceURL

The web service URL used to connect to Microsoft Dynamics 365 Business Central. For cloud configurations use https://api.businesscentral.dynamics.com/. For on-premise, the web service URL is typically http://localhost:4047/BC/WS/.

HorizontalLayoutMode

Default value: false

Enable this setting to display controls horizontally. Controls shrink or adjust when the screen width is below 320px for better device responsiveness.

Displaying settings in portal