function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Chuck RamseyChuck Ramsey 

View Request URL

Whenever someone requests membership in a private CollaborationGroup that I own, I get an email with a button marked 'View Request'. Clicking the button, however, just takes me to the Group page in our Community. The Napili template doesn't appear to contain a page to handle these requests. The URL associated with the View Request button looks like this:

https://mysalesforcecommunityurl/s/<groupId>?fromEmail=1&s1oid=<myOrgId>&s1nid=<networkId>&s1uid=<groupownerid>&s1ext=0&emkind=chatterGroupMembership&emtm=<13-digit number>&u=<requesterId>&data=<long encoded string>&sdata=<another long encoded string>&reserved=0

The URL parameters contain a lot of information; some of it is readily decoded:
  • the CollaborationGroup Id
  • a fromEmail flag (set to 1) -- what's the purpose of this flag?
  • my Org Id (s1oid)
  • the Community (Network) Id (s1nid)
  • the group owner Id (s1uid)
  • emkind (?) -- chatterGroupMembership
  • the Id of the User requesting membership (u)
The remaining parameters -- emtm, s1ext, data, sdata, and reserved  -- are a mystery to me. I'd like to be able to decode the URL paramters so that I can create a page to handle these requests, unless the page already exists in the Napili template and I couldn't identify it.