Providing you have suitable access control permissions, you can add a multi-value property to most types of entity. See how to add a single-value property.
For example, you could add a Portfolio/Manager/Name property to a portfolio to record the names of all its managers:
If you have a Luminesce license, by writing a SQL query.
Once added, you can update a multi-value property at any time. If you no longer need a multi-value property, you can delete it.
Using the LUSID REST API
Each entity type adheres to a specific methodology for adding multi-value properties to entities:
If an entity type has an
Upsert*API (for example UpsertInstruments), you can add multi-value properties when you create or update entities (that is, at any time). There may be a dedicated property API that you can use independently if you want, for example UpsertInstrumentProperties.If an entity type has a
Create*API (for example CreatePortfolio), you can add multi-value properties when you create entities. Subsequently, you must use a dedicated property API, for example UpsertPortfolioProperties.
For example, to add a multi-value Portfolio/Manager/Name property to a transaction portfolio when you create that portfolio:
Call the
CreatePortfolioAPI for your LUSID domain, passing in your API access token and appending a property to thepropertiescollection:keymust be a 3-stage property key in thePortfoliodomain.valuemust be alabelValueSetobject consisting of avaluescollection with a comma-separated list of string values. If the underlying property type has:A
collectionTypeofSet, values are unordered and must be unique.A
collectionTypeofArray, values are ordered and can be duplicated. More information.
effectiveFromis nominally optional but for a time-variant multi-value property sets the 'start date' for all the values; it must a valid date:
curl -X POST "https://<your-domain>.lusid.com/api/api/transactionportfolios/examplescope" -H "Authorization: Bearer <your-API-access-token>" -H "Content-Type: application/json" -d '{ "displayName": "Portfolio UK", "code": "PortfolioUK", "baseCurrency": "GBP", "properties": { "Portfolio/Manager/Name": { "key": "Portfolio/Manager/Name", "value": { "labelValueSet": { "values": [ "Joe Bloggs", "Jane Doe", "Matt Smith" ] } }, "effectiveFrom": "2022-06-18T09:00:00.0000000+00:00" } } }'
Using the LUSID web app
You can use the LUSID web app to add a multi-value property to an entity.
For example, to add a multi-value Portfolio/Manager/Name property to a transaction portfolio:
Sign in to the LUSID web app.
Use the left-hand menu to navigate to Data Management > Portfolios:
.png?sv=2022-11-02&spr=https&st=2025-11-02T15%3A54%3A11Z&se=2025-11-02T16%3A06%3A11Z&sr=c&sp=r&sig=R8BGhLY0fBq0X1gpMTLMm%2BnFVmlPHzBfwD6bYf%2BRNn8%3D)
Select Edit on the portfolio you want to add the property to:
.png?sv=2022-11-02&spr=https&st=2025-11-02T15%3A54%3A11Z&se=2025-11-02T16%3A06%3A11Z&sr=c&sp=r&sig=R8BGhLY0fBq0X1gpMTLMm%2BnFVmlPHzBfwD6bYf%2BRNn8%3D)
Select Add property and choose one or more properties to add to the portfolio:
.png?sv=2022-11-02&spr=https&st=2025-11-02T15%3A54%3A11Z&se=2025-11-02T16%3A06%3A11Z&sr=c&sp=r&sig=R8BGhLY0fBq0X1gpMTLMm%2BnFVmlPHzBfwD6bYf%2BRNn8%3D)
Provide line-separated values for the property and save your changes:
.png?sv=2022-11-02&spr=https&st=2025-11-02T15%3A54%3A11Z&se=2025-11-02T16%3A06%3A11Z&sr=c&sp=r&sig=R8BGhLY0fBq0X1gpMTLMm%2BnFVmlPHzBfwD6bYf%2BRNn8%3D)