3 Messages
•
1K Points
get all domains name with a community, sub community
Can anyone help me with logic which needs to implemented via workflow
How to get all domain name from a community, sub community by filtering based on domain type.
get all domain name by filtering domain type "Glossary"
Community : ParentCommunity
Domain : HR Type : Glossary
Domain :Finance Type : Business Asset
Sub-Community : Subcommunity
Domain : HR-New Type : Glossary
Domain :Finance Type : Technical Asset
Result :
Domain : HR , HR-New
laurenzhiller1
6 Messages
•
865 Points
16 days ago
Hi @user_fefd40 ,
to retrieve all domains of a certain domain type in a specific community, you can use:
You also mentioned that you need to get the sub communities of a community. To achieve this, you can use FindCommunitiesRequest and submit the Resource Id of the parent community as parentID in the build() method.
(edited)
0
0
SeanPyle
62 Messages
•
1.3K Points
15 days ago
To add to Lauren’s idea, you probably want a loop to extract all the names since I assume you won’t know how many domains you need to ask for. You can do it like this:
Then you can pass the list to a form, etc.
1