Closed AlgyTaylor closed 2 years ago
Fire a pedigree:person:set:{field} event whenever a field is updated in the pedigree diagram.
pedigree:person:set:{field}
This allows us to use code like below
document.observe('pedigree:person:set:externalid', (event) => { var demographics = getDemographics(event.memo.value); event.memo.node.setFirstName(demographics.firstName); event.memo.node.setLastName(demographics.lastName); })
To automatically populate the pedigree diagram based on fields supplied by the user (where getDemographics is a custom function written by a third party).
getDemographics
Thanks, @AlgyTaylor. This does seem helpful for integrating custom components.
Fire a
pedigree:person:set:{field}
event whenever a field is updated in the pedigree diagram.This allows us to use code like below
To automatically populate the pedigree diagram based on fields supplied by the user (where
getDemographics
is a custom function written by a third party).