Added: viewmode support for custom logic view