Is there a way to get group type Id by group name?
Discussion posts and replies are publicly visible
What is the requirement? Do you mean Group Id by Group name or is it the same question what you have asked.
Group Id by Group Name - a!groupsbyType() - Returns the Group Id
a!groupsByName("Group Name")
Edit: Removed group type Id by group Name described in my answer. Refer Mike’s detail on it.
Thank you
Is that what you want? What is it that you are looking for?
I was looking to get dynamically the Group Type Id by Group Type Name to pass as an argument for a!groupsbyType(), i didnt get it so created a constant to hold group type and passing it to the function to get all the groups.