using widgets in a knowledge base