Forum Discussion

clemlith's avatar
clemlith
Expert
11 years ago
Solved

Knowing if a custom content is empty or not

Hi Everyone, I love custom content because they allow me to push something live without having to go through studio and doing a studio push.   I wondering if there is a way to know if a custom con...
  • PaoloT's avatar
    11 years ago

    Hi clemlith 

     

    I am assuming you are asking for a way to do this programmatically - as the Admin section will tell you if the element has content at that level of the community structure.

     

    If I am correct, then you may want to have a look at this TKB article that explains how you can retrieve the custom content (or test for the absence of it) using the REST API.

     

    I hope this helps!