SAP-samples/sap-community-activity-badges

ShowcaseBadges - Top 5

ruthiel opened this issue · 5 comments

Hey Thomas,

Just wanted to drop you a quick thank you for sharing this cool functionality!
I gave it a shot and, well, I did get it to work. But there's a little hiccup – the top 5 badges aren't showing up like they should. It looks like they're just randomly selected from all the badges I've got.

I have only three selected badges:
image

What I've got from the url is:
image

What's your community ID - I'll have a look at it.

What's your community ID - I'll have a look at it.

ruthiel

the top 5 badges aren't showing up like they should. It looks like they're just randomly selected from all the badges I've got

I'm a little confused. Doesn't seem to be the case. The Community is displaying these same badges that the Showcase project is showing:
image

In fact these are your five most recently assigned badges according to your community profile as well:
image

That all matches exactly to the Showcase:
image

I see you said you have three selected badges:

I have only three selected badges

But that doesn't seem to be reflected in your public profile on the SAP Community itself (see above screenshots). In fact those three badges are from the Dev Challenge and they don't show on this profile that you've even earned those. Are you sure that you are updating the same profile - maybe you have multiple? But this project is just reading the Community APIs and using what it returns and that seems to be all in sync for the profile ID you gave me.
https://people.sap.com/ruthiel#reputation

Hello Thomas,

Are you sure that you are updating the same profile - maybe you have multiple? But this project is just reading the Community APIs and using what it returns and that seems to be all in sync for the profile ID you gave me. https://people.sap.com/ruthiel#reputation

You're completely correct!
I was unaware of another account being linked to my SAP account. That was my oversight, and now I see it clearly:
image

Thank you for your help!