get viewname from blockconfig