set( 'Account.Owner.Username', 'The Account Owner Username' )
etc
Can also use 'set' passing a Map<String,Object> to set multiple fields / relationships as above.
Nodes are now indexed by their names ensuring that duplication of fields / relationships / etc do not occur during configuration. Also helps with the generic 'set' method.
Documentation updated to reflect, and added simple example at the start to make it clearer that the API is simple.
Upgraded API to 50 to support some of the changes.
Can now use
set
to define any of the fields and relationships.E.g. against Contact:
set( 'FirstName', 'The Name' )
set( 'Account', accountObject )
set( 'Opportunities', listOfOpportunities
set( 'Account.Name', 'The Account Name' )
- ensures 'Account' is set, and the name is set to that specifiedset( 'Account.Opportunities', listOfOpportunities' )
set( 'Account.Owner.Username', 'The Account Owner Username' )
Can also use 'set' passing a
Map<String,Object>
to set multiple fields / relationships as above.Nodes are now indexed by their names ensuring that duplication of fields / relationships / etc do not occur during configuration. Also helps with the generic 'set' method.
Documentation updated to reflect, and added simple example at the start to make it clearer that the API is simple.
Upgraded API to 50 to support some of the changes.