I would like to search ALL Subscribers on the basis of Subscriberkey and fetch a profile attribute 'ExternalId'

What AMPScript I can write for that? I don't think Lookup function works on All Subscribers.

  • Any suggestions?
    – Maneesh
    Apr 28 '16 at 14:28

Correct - All subscribers is a list. You need to use the API Ampscript functions detailed here.

Specifically, you are looking for InvokeRetrieve. There is example code for pull a subscriber from a list with a simpleFilterPart.

  • Hi David, I read through it but not sure how I will be able to use it. Is it possible for you to share the AMPScript?
    – Maneesh
    Apr 27 '16 at 18:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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