Skip to content
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

Add a method to tell the usercard template the entity used to send card #2675

Closed
freddidierRTE opened this issue Mar 11, 2022 · 0 comments · Fixed by #2707
Closed

Add a method to tell the usercard template the entity used to send card #2675

freddidierRTE opened this issue Mar 11, 2022 · 0 comments · Fixed by #2707
Assignees
Labels
Enhancement New feature

Comments

@freddidierRTE
Copy link
Contributor

Add a setEntityUsedForSendingCard in usercardTemplateGateway

The method has to be implemented by the template and will be call by opfab after template rendering or when user change is entity for card publishing (in case he is member of more than one entity allowed to send card)

Test with cypress using the same technique as in src/test/resources/bundles/defaultProcess_V1/template/usercard_message.handlebars
(use hidden field)

Add in documentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature
Projects
None yet
2 participants