getWidget method in content service