0

I have created a profile with following fields First Name Last name Street address Postcode Phone

My plan is to include the profile link to Contribution Receipt template with hash and let the donor update their personal details if any mistake is in his profile. My link looks like this.

https://example.com/civicrm/profile/edit?gid=48&id=8949&11e24e6f361dceacd63ea0120b00c871&reset=1

But when the link is clicked it says , You do not have permission to edit this contact record. Contact the site administrator if you need assistance.

This is the permission for anonymous user is set in drupal:

  • CiviCRM: profile create
  • CiviCRM: profile view
  • CiviCRM: profile edit
  • CiviCRM: access all custom data
  • CiviCRM: access contact reference fields

What am I doing wrong? Can anyone help please? Thanks

1 Answer 1

4

The link is missing checksum parameter(cs). It should be

https://example.com/civicrm/profile/edit?gid=48&id=8949&cs=11e24e6f361dceacd63ea0120b00c871&reset=1

Thanks

Pradeep

7
  • Thanks Pradeep! But doesnt seem to work with this link also.
    – Tapash
    Apr 26, 2019 at 22:48
  • How are you generating url in email? Apr 26, 2019 at 22:49
  • Yes, could this be due to permission? Thats what error message says..
    – Tapash
    Apr 26, 2019 at 22:51
  • Nope, by adding checksum to url its possible to update the contact. So its depend upon how you creating url in email. If you can add the url logic or code in your question that would help to fix your problem Apr 26, 2019 at 22:53
  • Would this be easy to do with webform instead of profile?
    – Tapash
    Apr 26, 2019 at 22:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.