Events and Tasks in one Table

Pat VachonPat Vachon ๐Ÿ’Ž๐Ÿ’Ž๐Ÿ’Ž
edited May 21, 2020 in Ideas
I've been asked to provide this by several clients now. Tasks and Events in one table. Always said it wasn't possible as a Table component only works with one Model.

That said, there's no reason the rows from a Event object model wouldn't work in Table showing rows from a model based on the Task object in Read Only mode. Especially since many of the field API names are exactly the same between the two objects.

So with inline js, the rows from an Event model can have it's rows adopted into the Task model.

You can then use a checkbox formula to make IsTask available in the Task/Event models. Using this, conditionally rendered row actions for each type can then be used to display custom popups for editing.

Context can be used for both popups on both models to display a popup and edit mode field editor.
2
2 votes

Awaiting Review ยท Last Updated

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!