cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Advisor

Getting all messages in the community

Hi All,

Good day!

Ive created a custom endpoint to pull all the messages by getting the count first then setting it as LIMIT. 

I just like to ask if this is the best way to pull the messages from our community. 

Thanks!

1 Reply 1
Highlighted
Honored Contributor

@KevinSaquing,

Yes you are doing a nice way to get all messages from community by using count query first.

Are you going to show this somewhere in your community? If YES, then you will mess-up with performance issue on community for this page.

If you are doing this for export messages, try to make it using limit the query and add page_size for next numbers of results in the your query.

 

 

.......
Do you know we work with Kudos and Accepted Solution.