I just found this thread. I have a couple of questions. I have a Jive partner that would like to use an HTML widget on the Home page to navigate a user to their "primary" group - which for this community would be a police department (Portland, Seattle, Baltimore, etc.) with one click. See screenshot below:
They are going to store this primary group in a custom profile field. So, my questions:
1) Is this feasible (or even possible) within an HTML widget? I know I'd first have to use one of the v2 or v3 of the APIs you mention above to pull this value from the profile field and then use that value to build a URL link.
2) If #1 is possible, should the custom profile field be defined as the group name or ID? I know that the APIs return JSON objects wherein the ID of the group isn't the same ID that shows up in the UI.
3) Since this would only run when the user logged in, would I need to send the user credentials as part of the GET request? Or would Jive already have that information available - could the script run using the credentials of the currently logged in user?
Thanks for any advice/guidance you can provide.
Federal Sales Engineer