Add to Group URL Attribute

Options
I know that if we enable auto-login links we have the ability to automatically add or remove Interests to a users constituent record using the URL attributes:
&autologin=true&AddInterest=####



I can't seem to find any documentation that would suggest that we could add or remove a user from a Group. Is there such a thing as:
&autologin=true&AddGroup=####



 
Tagged:

Comments

  • Kent Gilliam
    Kent Gilliam Blackbaud Employee
    Ancient Membership 2500 Comments 100 Likes Name Dropper
    The only way to do this is to use the Interest opt-in which then can put people into Groups. I've never seen a straight Group assignment configuration capability in a URL. 
  • There's no out-of-the-box query parameter that will accomplish this, however, it's pretty easy to do with a little bit of code.

    There is a Luminate Online "U-Tag" which can be used to add someone to a group. It takes one parameter, the group ID you want to add the logged in user to.


    <!-- add user to group ID 1234 - [[U2:1234]] -->

    (Note that the U2 tag returns a response like "SUCCEEDED", "NO ACTION", or "FAILED: NOT LOGGED IN", so you want to be sure it's inside of an HTML comment so the result is not output on the page.)

    If you want to use a query parameter, you could write your own code to do so, like:


    [[?xx::x[[S334:AddGroup]]x::::
    <!-- add user to group ID [[S334:AddGroup]] - [[U2:[[S334:AddGroup]]]] -->
    ]]
  • Wow. I can't recall stumbling on that U-Tag before.



    https://community.blackbaud.com/forums/viewtopic/1/3743?post_id=22561#p22561



    U-Tags

    U0 and U1

    The U0 and U1 tags are used to set session parameters. Values can then be retrieved using the S80 session tag throughout the user's session.

    U2 and U3

    The U2 and U3 tags are used as hidden group updates for logged in constituents.You can use a U2 or U3 tag to add or remove people from groups when they visit particular pages.

    U5

    The U5 tag lets you override content that is normally rendered in the head of a page from within the content of the page.



    \\ Man, I have been looking for U5 for so long!

Categories