I have a Drupal View displayed as a block, which includes a link to a webform using the Activity ID and the Contact ID for logged in users. It's been working fine but now I find that it's adding trailing zeros onto the aid, e.g. https://my.site/volunteer-role?cid2=540&aid=78668.0000

This is the link in a global custom text field: "volunteer-role?cid2=[contact_id]&aid=[id]"

Any ideas how I can remedy this?

enter image description here

  • can you paste the screenshot of the "activity id" field settings on your drupal view? Jul 8, 2019 at 9:06

1 Answer 1


I fixed it! While getting a screengrab, I noticed there was some aggregation on the Activity Field which I must've set it in error!

enter image description here

I reset this to the default and it's working.

Your Answer

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

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