function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
shankar Nadimpalli 3shankar Nadimpalli 3 

how to get community Id dynamically

hi guys 
ConnectApi.Communities.getCommunities() this will give all the communities related data ...what if i have multiple commuties but i need to pick it only particular community that i have logged in ...this should happen dynamic ..and also is there a way to find community name dynamically that will also work for me so that based on that name i will query that ID ....can anyone help on this
AbhinavAbhinav (Salesforce Developers) 
Hi Shankar,

I think this post require more information . Could you please elaborate your post so that communities can help you better.

Thanks!