We have a requirement of capturing a detail for logged in users when
they will perform an operation from a page.Page is created using sling
model. Onclick of a button, a dialog will open and on click of submit
button of the dialog, some custom data will be saved in mongo db.The
user also can update the same data later point.Once user updates/creates
an entry in mongo db, the same activity needs to be shown in user
profile page under MyActivity section.MyActivity in user profile is
implementing a...