Skip to main content

buildfire.auth

Tags search dialog accessible via the plugin SDK from the control side of the plugin. It allows plugin developers to show tags search dialog, find and select tags and get their data in callback.

Methods

showTagsSearchDialog()

buildfire.auth.showTagsSearchDialog(options, callback)

This builtin dialog helps you to show a dialog in order to select tags.

buildfire.auth.showTagsSearchDialog(null, (err, result) => {
if (err) return console.error(err);
console.log(result);
});

options

NameTypeRequiredDescriptionDefault
maxTagsnumbernoSpecifies the maximum number of selectable tags. If not provided, there is no limit on selection.null

callback(err, tags)

Callback function after something is done

NameTypeDescription
errstringerror string, undefined or null when operation is successful
tags[object]Array of tags
tags[]
NameTypeDescription
idstringunique id for the tag
tagNamestringtag's name