Announcement

Collapse
No announcement yet.

How to get current view with js in browser console ?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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?

  • #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


    • #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...
      X