why cannot i de-active a member of a group
Application Type
Reactive

Hello


IM now trying to implement that a group-owner can de-activate a member in a group.

But again it is not working and I wonder what I have done wrong?

neo-social-place.oap

mvp_badge
MVP
Solution

Hi Roelof Wobben,

After deactivating the user, you will have to refresh the GetGroupMembers aggregate mapped with the Member List instead of refreshing the screen.

I hope this helps you!


Kind regards,

Benjith Sam

neosocialplace.oml

mvp_badge
MVP

Hi Roelof Wobben,

You are missing the assignment logic to InActive the respective Member record in the De_Activate_Member Server action (CS Module).

Refer to the attached .oml

I hope this helps you!


Kind regards,

Benjith Sam

NeoSocialPlace_CS.oml

Thanks, thanks.,


I think it more not good because I have to refresh the page so I cannot see the de-activated member

mvp_badge
MVP
Solution

Hi Roelof Wobben,

After deactivating the user, you will have to refresh the GetGroupMembers aggregate mapped with the Member List instead of refreshing the screen.

I hope this helps you!


Kind regards,

Benjith Sam

neosocialplace.oml

Oke, I thougth the onParametersChange would do that for me

The onParametersChange, is executed when some input parameter changes inside of a block.  For your case when removing, you were not changing any input parameter, so it's not going to be executed.

Thanks, learned another thing

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.