Hi Kunaal,
Thank you for your question,
You can only use the MessageML - Person Selector in a specific set of ways, you can have the 'Person Selector' as part of the FreeMarker Template (.FTL).
However, you will not be able to pre-determine the person details such as age and phone number, so it is auto-populated or semi-generated as the end user is entering in the details.
With the MessageML - Person Selector, you will be able to have the person's name shown on the person selector for that Symphony pod environment. You can also set 'default values' for the person using their UserIDs but it won't be able to store pre-determined data/value such as personal identification information (PII) data, meaning you cannot predict or preload the user's 'age' or 'phone number' within the Symphony data entry form.
Here is an example of the FreeMarker Template for person selector - taken fro the Developer Documentation site:
https://docs.developers.symphony.com/building-bots-on-symphony/messages/overview-of-messageml/symphony-elements-1/person-selector
Without Default Values on Person Selector:
<messageML>
<form id="form_id">
<h2>person-selectors</h2>
<person-selector name="placeholder" placeholder="My Placeholder"/>
<person-selector name="value" label="With default values"/>
<person-selector name="noreq" placeholder="Not required"/>
<person-selector name="req" required="true" placeholder="Required"/>
<person-selector name="label" label="My Label" placeholder="With Label"/>
<person-selector name="tooltip" title="My Tooltip\n With a second line" placeholder="With Tooltip"/>
<button name="person-selector">Submit</button>
</form>
</messageML>
With Default Values on Person Selector:
<messageML>
<form id="form_id">
<h2>person-selectors</h2>
<person-selector name="placeholder" placeholder="My Placeholder"/>
<person-selector name="value" label="With default values" value='[12987981109743,12987981109741]' />
<person-selector name="noreq" placeholder="Not required"/>
<person-selector name="req" required="true" placeholder="Required"/>
<person-selector name="label" label="My Label" placeholder="With Label"/>
<person-selector name="tooltip" title="My Tooltip\n With a second line" placeholder="With Tooltip"/>
<button name="person-selector">Submit</button>
</form>
</messageML>