...
Now we can run our example, login and do a sample query and we should have some data displayed in our lists, all the results titles, and every entity in all the resulting documents!
An alternative that just showed the entity information might look like:
Code Block | ||
---|---|---|
| ||
var queryResults:ArrayCollection = _context.getQuery_AllResults().getEntities();
for each (var ent:Object in queryResults )
{
entityArrayList.addItem(entity.disambiguous_name);
} |
And so on.
TODO See here for more details about the different views of the data provided by the WidgetContext class.
You can download the IWD:full code example here or see the widget code below.
More advanced operations
Filtering the data visible by widgets
TODO
Saving the widget state across sessions
TODO
Adding a query term to the builder
TODO
Performing a local query
TODO
Anchor | ||||
---|---|---|---|---|
|
...