Edit profile's attributes.
A callback which will be called with an instance of the profile data editor.
To edit data, pass a function to this method. Batch will call it back with the profile data editor as its only parameter. Once your callback ends, Batch will persist the changes.
If your edits result in your attributes going over limit, an error will be logged and
all of the changes described in the transaction will be rolled back, as if nothing happened.
See https://doc.batch.com/web/custom-data/custom-attributes
for more info about the limits.
Escaping the editor instance is not supported: calling any method on it once your callback has ended will throw an exception.
See ProfileDataEditor
's documentation for the methods available on the user data editor.
Return a promise that resolve the IProfile instance.
Identify the current user.
Attach the current installation to a Profile.
An object containing the customId
.
Return a promise that resolve the IProfile instance.
See https://doc.batch.com/web/custom-data/customid
for more info.
Generated using TypeDoc
Batch's Profile Module.