Properties
Properties are customizable data fields of blueprints, used to save and display information from external data sources.
Configure properties in Portโ
You can create, delete, or edit properties via the builder page or directly from the software catalog.
From the builder pageโ
To edit an existing property:
- Go to your Builder page.
- Expand the blueprint you want to edit by double-clicking on it.
- Under the
Properties
tab, click on the property you want to edit. - Make your desired changes to the form, then click
Save
.
To create a new property:
- Go to your Builder page.
- Expand the blueprint you want to edit by double-clicking on it.
- Click on the
+ New property
button in the bottom of the tab:
- Fill in the form with the desired property details, including the property type, then click
Create
.
From the software catalogโ
Each catalog page in your software catalog contains a table with all entities created from a certain blueprint. You can modify the properties of the blueprint directly from this table:
-
Go to the desired page of your software catalog.
-
In the top-right corner of the table are its filters, click on the
Manage properties
button:
-
A dropdown will appear showing all of the properties.
To modify or delete a property, hover over the it and click on the...
icon:
Note that meta-properties are not editable, so you will not see a
...
icon next to them. -
To create a new property in the blueprint, click on the
+ Property
button in the bottom of the dropdown.
You can also hide properties from the table by clicking on the toggle next the ...
icon.
Structureโ
Each blueprint has a properties
section under its schema
. Each property is defined as an object with the following structure:
{
"myProp": {
"title": "My property",
"icon": "My icon",
"description": "My property",
"type": "property_type"
}
}
The different components that make up a basic property definition are listed in the following table:
Field | Description |
---|---|
title | Property title |
type | Mandatory field. The data type of the property. |
icon | Icon for the property See the full icon list. |
description | Description of the property. This value is visible to users when hovering on the info icon in the UI. It provides detailed information about the use of a specific property. |
default | Default value for this property in case an entity is created without explicitly providing a value. |
The name of the property is the key of the property object. For example, in the code block above, the name of the property is myProp
.
Supported propertiesโ
๐๏ธ Aggregation Property
Aggregation properties allow you to calculate metrics based on the relations in your catalog.
๐๏ธ Array
Array is a data type used to save lists of data
๐๏ธ Boolean
Boolean is a primitive data type that has one of two possible values - true and false
๐๏ธ Calculation
1 item
๐๏ธ Datetime
Datetime is a data type used to reference a date and time
๐๏ธ Email
Email is a data type used to save Email addresses
๐๏ธ Embedded Url
1 item
๐๏ธ Markdown
The Markdown property is used to display Markdown content within an entity in Port.
๐๏ธ Meta
A meta-property is a property that exists on every entity in Port by default.
๐๏ธ Mirror Property
Mirror Property allows you to map data from related entities to your entity
๐๏ธ Number
Number is a primitive data type used to save numeric data
๐๏ธ Object
Object is a data type used to save object definitions in JSON
๐๏ธ Proto
Proto is a data type used to save proto definitions in Port
๐๏ธ String
String is a primitive data type used to save text data
๐๏ธ Swagger UI
The Swagger UI property is used to import and display OpenAPI and/or AsyncAPI specification files within an entity in Port.
๐๏ธ Team
Team is a data type used to reference teams that exist in Port
๐๏ธ Timer
Timer is a data type used to define an expiration date/lifespan of a specific entity
๐๏ธ URL
URL is a data type used to save links to websites
๐๏ธ User
User is a data type used to reference users that exist in Port
๐๏ธ Yaml
Yaml is a data type used to save object definitions in YAML