-
Notifications
You must be signed in to change notification settings - Fork 530
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Global scope for row-actions framework #2937
Comments
This can be useful for extension developers. For those who develop only for a specific instance, it's not a necessity. |
By the way, if we could also use Global scope for sidepanels it would be a great addition for developers :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
As of now you can't add a Global Row action, you have to create a .json for each entity you wish to add a row action.
espocrm/client/src/views/record/row-actions/default.js
Line 160 in 6b4d3e5
Describe the solution you'd like
I'd like to be able to use the row-actions framework for the Global scope, so to add a row action for all the entities all at once instead of
having to create multiple .json for the same action.
Just like how it can be done with viewSetupHandlers and menu buttons.
espocrm/client/src/view-helper.js
Line 917 in 6b4d3e5
or else consider developing a row-action to "Open API" for records, visible to admins only:
window.open('api/v1/' + this.view.scope + '/' + model.id, '_blank');
Describe alternatives you've considered
Creating a .json with rowActionDefs for each scope.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: