Question

Photo of Herman Halim

0

Display Member Campus

Hello, I’m new with RockCMS. How do we display a member/user campus via API/XML/RSS?

I can display content channel via RSS/XML - but not sure if I can display a member profile etc.

Thank you

  • Photo of Luke Taylor

    0

    Herman,
    While that question seems straightforward, it sounds like you're trying to display Rock information in another system entirely.  The process of answering your question would therefore require a great deal of knowledge about how you're associating a member in your third-party system with a person profile in Rock.

    Leaving aside those considerations, there/s an API endpoint for /Person/PopupHtml/{Id} that has 'CampusName' and 'CampusShortcode' properties in the returned JSON.

    Protip: if you're associating Rock records to member profiles in another system, use Rock person alias ids or Person Alias Guids as your foreign key in that system if you want your association to survive record merges in Rock.

  • Photo of Herman Halim

    0

    Thank you so much Luke. I’ll check out the API.

    Other question, if we encourage users to login via RockCMS, through other system, is there a way to verify via API that the person status is successfully logged in or not?

    Appreciate it!