NiP GUI variables

Name Type Default value Description

acceptedTasks

None

acceptedUsages

None

allowHideStrings

boolean

False

True

Show menu which allows us to hide the fetched text resources and only show for example the keys FIELD_UserName which were used to fetch it.

autoBindUser

boolean

False

True

Automatically perform BindUser task when opening an external user in the Net iD Portal. For example from the Active Directory.

autoSearchOnInput

boolean

True

False

Requires user to press Enter to search.

autoSwitchOrganizationTheme

boolean

True

True

Change organization theme when changing organization.

backendSignMatch

"authid,subject;​issuer,subject;​authid,subject=CN+2.5.4.5;​authid,subject=2.5.4.5;​authid,subject=CN;issuer=O,subject=CN+O+OU;same-as-logon"

List of what criteria the signing and authentication certificates are mapped against.

backendSoapTrace

boolean

False

True

Show the SOAP trace.

backendUrl

string

No value needed

backendWsdlStatic

boolean

True

True

Use the static WSDL stored in the app.

False

Dynamically fetch the WSDL.

clientLogOutputMinLevel

Values:
0 (no log)

Determine debug information in the browser console.

error: { level: 1, name: "ERROR" },
warning: { level: 2, name: "WARNING" },
note: { level: 3, name: "NOTE" },
debug: { level: 4, name: "DEBUG" },

documentUrl

string

 — 

URL to add a link to a help page on the sidebar menu.

genericExtraInfo-ADMIN

None

Extra information which is fetched from the object and is shown on the object.
Semi colon (;) separated. The pipe symbol (|) is used to apply a filter to format the value.

Example

"genericExtraInfo-USER": "Organization||h;SerialNumber|usn;HsaId",

Available filters:

esn

Formatted as end entity serial numbers should be namely matching the regex /^EFOS16\d{10}[0-9A-Za-z]{6}$/ or split as XXXXXX-XXXXX where

nipi18n

Fetches the text string for the value instead of the value itself. For example FIELD_UserName might return User name

name

Returns the object name if it is an object (it wont be in the previous example)

id

Returns the object name if it is an object (it wont be in the previous example)

range

If used on a number returns an array of numbers. For example 5|range will return [0,1,2,3,4] (I dont think this has ever been used)

stripNonAlphanumeric

Strips non-alphanumeric text.

tsn

Token serial number. Formatted as NNNN-NNNN-NNN-NNNN-NNNN if 19 digits long. If not then space between every four digits.

usn

User serial number. Personnumber format Formatted as YYYYMMDD-NNNN or YYMMDD-NNNN.

genericExtraInfo-CERTIFICATE

None

genericExtraInfo-ENDENTITY

None

genericExtraInfo-SERVER

None

genericExtraInfo-TASK

None

genericExtraInfo-TOKEN

None

genericExtraInfo-USER

None

groupHierarchy

Null

Group hierarchy implementation for the GUI.

All non-ascii characters (for example ÅÄÖ) must be stripped.

groupHierarchyMode

"name"

States whether groupHierarchy element acts on group name or group ID.

name

Group name

id

Group ID

informationSiteURL

string

None

URL to add a link to an info site on the sidebar menu. Used to test the card.

languageList

string

{"en-US": "English", "sv-SE": "Svenska"}

Specifies what language the user can choose between in popup-preferences. (Preferences button). If you for exampel want to restrict the user to only english, then specifiy.

ListDefinitions

{
ActiveUser: ["DisplayName", "UniqueName", "IdleDateTime"],
Statistics: ["Name", "Time", "Size", "Success", "Failed"]
}

Which information to show about the ActiveUser and a debug feature statistics (which can comfortably be ignored)

logoffOnIdle

boolean

False

True

Log off user when idle.

logoffOnRemoval

boolean

True

True

Log off user when idle.

logonOneTimePasswordWithUser

boolean

False

MIFARE_DEFAULT_CONFIG

MifareSerialNumber:FFFFFFFFFFFF:0;;;;;;;;;;;;;;;;

Net iD specific Mifare Config…​ FFFFFFFFFFFFFF is the unlock code for the mifare sector. The rest I dont know…​ :-/

Config is overridden by task config. See ticket.

popupListItemsPerPage

10

Number of items per page for all popups which show a list, for example Acquis.

rememberLastOrganization

boolean

False

False

Take organization from serverResponse.

reportSearch

None

A list of the delimiters to filter reports by, and the field type. Generally very much not recommended to change this at all (presently)

Example

"StartDateTime,datetime;EndDateTime,datetime"

requiredLogonSubject

2.5.4.3

Specifies what certificate field you must have in your certificates to log on to Net iD Portal. 2.5.4.3 corresponds to Common Name (https://www.alvestrand.no/objectid/2.5.4.3.html)

revokeCertificateBlacklist

Null

Makes certificates from specific certificate template non revokable in revoke certificate task.

rolePresentation

string

none

Choose how to show the roles for the logged in user in the upper right menu.

none

Do not show any roles.

first

Show the first role.

list

Show all roles.

auto

If the user has only one role use first, and if the user has more than one role use list.

SearchDefinitions

{
USER: ["DisplayName", "SerialNumber", "OrganizationName"],
TOKEN: ["SerialNumber", "StatusName", "TemplateName", "OrganizationName", "SequenceNumber1", "SequenceNumber2", "Contactless"],
SERVER: ["Name", "OrganizationName"],
ENDENTITY: ["Name", "OrganizationName"],
LOG: ["LogType", "DateTime", "CreatorName", "ObjectDescription"],
AUDIT: ["LogType", "DateTime", "CreatorName"],
TASK: ["Name", "ObjectDescription", "StateName", "ValidTo"]
}

The information to show when searching for an object. That is, what fields to pluck from the object.

searchResultHeader

boolean

False

True

Show header on searchResult table.

showStrings

boolean

False

True

Always show the keys instead of the text resource (see allowHideStrings).

showVersionInfo

boolean

False

True

Show Net iD Portal version in title.

singleSignOn

boolean

True

True

Use single sign-on from Net iD.

startupLanguage

string

null

If set to en-US or sv-SE it will override the user’s browser and set the active language to the language specified.

null

Use language settings in the browser.

en-US

American English

sv-SE

Swedish

statistics

boolean

False

True

Show menu button to display statistics about Net iD Portal.

testSiteURL

string

None

URL to add a link to a test site on the sidebar menu. Used to test the card.

useQRCode

boolean

False

True

Show QR code on OTP popup.