Change Community To Be Top-Level
Hi!
I’m trying to create an automated workflow which sometimes involves changing a community from being a child community to a parent top-level community. Setting the ChangeCommunityRequest class with method SetParentId as null seems to not suffice in doing so. Any thoughts or suggestions on how to do this from a workflow? (I know this is feasible manually using the “Move” button but the main motivation for this workflow is automation).
Thank you beforehand for any responses/suggestions!
valerytanada
Posted 2 years ago · Edited 2 years ago·Last reply 2 years ago
1 comment
stefan_busch
·2 years ago · EditedHi,
in the CommunityApi there is a function called changeToRootCommunity(UUID communityId) which should accomplish what you need.
Cheers