How to get current view with js in browser console ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tothewine
    Active Community Member
    • Jan 2018
    • 373

    How to get current view with js in browser console ?

    I want to access the current view (or child view if shown) from the developer console, something like this:
    Code:
    Espo.ui.currentView
    Is there some way?
  • eymen-elkum
    Active Community Member
    • Nov 2014
    • 472

    #2
    This is not possible, because there are no current view at all, any time the espo app will contain a lot of views not only one view.
    In the list record page only you may have about 200 views at the same time
    You may ask for current record view or current master view or something
    CEO of Eblasoft
    EspoCRM Expert since 2014
    Full Stack Web Developer since 2008
    Creator of Numerous Successful Extensions & Projects​

    Comment

    • tothewine
      Active Community Member
      • Jan 2018
      • 373

      #3
      My ultimate goal is to show a new view (a form view that I defined in custom) from external javascript (a <script> tag, for example).
      To do so I'd need a reference to something in order to add it as a child view to the currently displayed panel.

      Comment

      Working...