I am trying to combine two of the tutorials from Docs.
1. https://docs.espocrm.com/development/custom-buttons/
2. https://docs.espocrm.com/development/modal/
In detail view there is custom button, that should cause Modal to popup.
Seems easy, but from the tutorials above, I am unable to achieve this result.
If entry view is "action-handler", the method CreateView is unknown.
If entry view is "view", the NestedViews is null and functions fail on this (eg. translate()).
Can somebody provide some example showing this use case ?
Thanks in advance.
1. https://docs.espocrm.com/development/custom-buttons/
2. https://docs.espocrm.com/development/modal/
In detail view there is custom button, that should cause Modal to popup.
Seems easy, but from the tutorials above, I am unable to achieve this result.
If entry view is "action-handler", the method CreateView is unknown.
If entry view is "view", the NestedViews is null and functions fail on this (eg. translate()).
Can somebody provide some example showing this use case ?
Thanks in advance.
Comment