Forum Discussion

peterlu's avatar
peterlu
Champion
9 years ago

Where to find all the community admin settings by api

Hi All,

 

I am trying to fetch a community setting by API, but no luck. I am not sure I am using the correct setting's name

Here is the code

<#assign value = restadmin("/settings/name/layout.kudos_leaderboard_module_users_list_size").value />

${value}

 

Am I using the correct setting name? Does anyone has the code snippet to print all the community settings out? This way I can find the setting's name.

 

It doesn't seem to have this kind of documentation in TKB.

 

Peter

  • peterlu - You should get the name of the setting by going to studio > text editor > advance > Show all text keys. Then go to admin and see what key appears for the settings you're looking for.

     

    I hope this helps.

  • peterlu - You should get the name of the setting by going to studio > text editor > advance > Show all text keys. Then go to admin and see what key appears for the settings you're looking for.

     

    I hope this helps.