Methods

MethodReturn typeDescription
address_1stringThe first address line.
address_2stringThe second address line.
amount_of_sharesintegerThe amount of shares the person has.
amount_of_votesintegerThe amount of shares the person has.
customcustom dropA way to attach custom information to a person.
directorbooleanReturns true if the person is a director.
director_end_datedateThe end date of the mandate of the person.
director_start_datedateThe start date of the mandate of the person.
emailstringThe email address of the person.
external_idstringThe id from the synchronisation service.
namestringThe name of the person.
persistent_idstringThe unique identifier for the person.
shareholderbooleanReturns true if the person is a shareholder.
statutorybooleanReturns true if the role is statutory.

address_1, address_2

{% for person in period.people %}
Address 1 : {{ person.address_1 }}
Address 2 :{{ person.address_2 }}
{% endfor %}

or : 	{{ period.people.first.address_1 }}
	{{ period.people.first.address_2 }}
Output
Address 1 :	Teststraat 1
Address 2 : 	9000 Gent

or: 		Teststraat 1
		9000 Gent

amount_of_shares, amount_of_votes

{% for person in period.people %}
Person {{ forloop.index }} : {{ person.amount_of_shares }}
Person {{ forloop.index }} : {{ person.amount_of_votes }}
{% endfor %}

or : 	{{ period.people.first.amount_of_shares }}
	{{ period.people.first.amount_of_votes }}
Output
Person 1 : 	300
Person 1 : 	5000

Person 2 : 	10
Person 2 : 	1

...

or: 		300
		5000

custom

{% for person in period.people %}
{% input person.custom.test %}
{{ person.custom.test }}
{% endfor %}
Output

❗️

Input as:file

It is important to mention that documents cannot be stored in a custom drop when it is linked to the people drop; something that is possible for certain other drops (e.g. company drop). As a result, the following logic cannot be used in Silverfin and will result in an error when trying to upload a file.

{% fori people in period.people %}
  {% input people.name %} {% input people.custom.attachment as:file %}
{% endfori %}

director

{% for person in period.people %}
Person {{ forloop.index }}:  {{ person.director }}
{% endfor %}

or: 	{{ period.people.first.director }}
Output
Person 1: 	true

Person 2: 	false

...

or: 		true

director_end_date, director_start_date

{% for person in period.people %}
Person {{ forloop.index }}:  {{ person.director_end_date }}
Person {{ forloop.index }}:  {{ person.director_start_date }}
{% endfor %}

or: 	{{ period.people.first.director_end_date }}
	{{ period.people.first.director_start_date }}
Output
Person 1: 	2020-12-31
Person 1:	2000-01-01

Person 2: 	2011-01-31
Person 2: 	2011-01-01

...

or: 		2020-12-31
		2000-01-01

e-mail, external_id, name

{% for person in period.people %}
Person {{ forloop.index }}:  {{ person.custom.email }}
Person {{ forloop.index }}:  {{ person.external_id }}
Person {{ forloop.index }}:  {{ person.custom.first_name }}
Person {{ forloop.index }}:  {{ person.custom.last_name }}
{% endfor %}
Output
Person 1: [email protected]
Person 1: 0.0
Person 1: Michael
Person 1: Jordan

Person 2: [email protected]
Person 2: 0.0
Person 2: Scottie
Person 2: Pippen

...

persistent_id

When an external_id is available for a person, then the persistent_id will begin with "external-", otherwise it begins with "internal-".

Check out this case to learn more about why we introduced the persistent_id to replace the id.

{% for person in period.people %}
  {{ person.name }}: {{ person.persistent_id }}
{% endfor %}
Output
Harry: external-3126163

John: internal-3126162

Tom: internal-3125284

shareholder, statutory

{% for person in period.people %}
Person {{ forloop.index }}:  {{ person.shareholder }}
Person {{ forloop.index }}:  {{ person.statutory }}
{% endfor %}

or : 	{{ period.people.first.shareholder }}
	{{ period.people.first.statutory }}
Output
Person 1: 	true
Person 1: 	false

Person 2: 	true
Person 2: 	false

...

or: 		true
		false