Question
Dynamic Toggle of Tabs on Activity Page Based on Activity Type
09:41 Sep 12, 2024
Hi Creatio Community,
I'm currently working on a customization for the Activity page, and I need some help with dynamically showing/hiding tabs based on the activity type. Here’s what I need to achieve:
- Hide the "Attachment" tab when the activity type is "Task."
- Show the "Case Attachment" tab for tasks related to a specific case only (it should display attachments only for the selected case).
- For all other activity types, the "Case Attachment" tab should be hidden, and the regular "Attachment" tab should be visible.
Essentially, I want the tab visibility to switch dynamically based on the activity type and the case involved. I’d appreciate any suggestions on how to implement this, whether through JavaScript handlers, custom logic, or any other method that can meet this requirement.
Thanks in advance
Like
1 comments
14:29 Sep 26, 2024
Hello,
This can be easily implemented using business rules such as "Show/hide an element on a Freedom UI page." We recommend exploring this functionality on our academy.
I hope this helps!
Show all comments