Forum Discussion

isxtn's avatar
isxtn
Advisor
2 years ago

Where to find Community Alpanumeric ID in Admin? or...?

Is there a way to find the alphanumeric community ID somewhere in Admin for the prod version? i.e., abcde12345 ? The same one we use in the V1 calls, i.e., 

https://commmunityurl.com/t5/abcde12345/restapi/vc/whatever

 

I don't see this anywhere in Admin. 

  • isxtn, Just type this script in your browser console and press enter:

    This will give you community Id of your community.

    LITHIUM.CommunityJsonObject.Community.id​

     

     

3 Replies

  • isxtn, Just type this script in your browser console and press enter:

    This will give you community Id of your community.

    LITHIUM.CommunityJsonObject.Community.id​

     

     

  • isxtn's avatar
    isxtn
    Advisor
    2 years ago

    Thank you. Very clever. I'm assuming you spent a LOT of time examining the window's LITHIUM object! 😀