Avatar

Community Advisor

Hi @nitishlamba1 

Apologies, as I misunderstood your question. 

 

When you say view name not displaying in VEC that means in modification panel is that right? 

So what you're getting over there as CURRENT VIEW : ...... 

 

Can you try if the view name displayed in console like below 

 if (typeof adobe != 'undefined' && adobe.target && typeof adobe.target.triggerView === 'function') {
    adobe.target.triggerView(viewName);
    console.log('AT: View triggered on page load: '+viewName)
  }

Make sure the view name should not start or end with ‘/' or '#'