Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-1573

Add one-click "Request contact to update his/her information"

    Details

    • Type: New Feature
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 1.8
    • Fix Version/s: 1.7
    • Component/s: CiviMail
    • Labels:
      None

      Description

      Two tokens have been implemented which can be used together in a profile URL to give an anonymous (or insufficiently permissioned) user access to edit a specific contact record.

      {contact.contact_id} - resolves to current contact's Internal ID (primary key) {contact.checksum} - resolves to "cs=checksum" where checksum is a calculated value based on contact's hash

      Checksums are valid for up to 7 days from when they're generated.

      This feature can be used w/o any coding by constructing an email and link using tokens (example below), and sending it via the built-in "Send Email to Contacts" OR via CiviMail if you're using that component and want to send it to a larger number of contacts. Replace "1" in the gid=1 param below with the ID of the profile you've configured for this.

      *** EXAMPLE ****
      Dear {contact.display_name}:
      Please update your contact information by going to...

      http://www.yoursite.org/drupal/civicrm/profile/edit?reset=1&gid=1&id={contact.contact_id}

      &

      {contact.checksum}

      *************************

      An example of code which tests the tokens - and gives an example of how to generate these links programmatically can be found here:
      http://svn.civicrm.org/civicrm/branches/v1.9/test/CRM/api/I1573.php

      — Original Post ----
      Add a button or link to send an email to a contact requesting that he/she update his/her contact information. The email would contain a link with a hashed key to authenticate the user. There could possibly be a lifetime for the link to work.

      When a user click the link in the email, CiviCRM takes the user to an editing screen for their contact record. The form would possibly need to be simplified from the current form.

      This could possibly integrate with CiviMail to infrequently but periodically request contacts in certain groups to update their data.

        Attachments

          Activity

            People

            • Assignee:
              sunil Sunil Pawar
              Reporter:
              davidstrauss David Strauss
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: