Quantcast
Channel: Active questions tagged ampscript - Salesforce Stack Exchange
Viewing all articles
Browse latest Browse all 359

Get ListID of a Subscriber's Publication List programatically?

$
0
0

Is it possible to get subscriber's ListID of a Publication List?A retrieve from _Unsubscribes gives me only AllSubscribers listID. I've tried every API from MC, I can't get that ListID.

set @rows = LookupRows('_ListSubscribers','SubscriberKey', @email)set @count = RowCount(@rows)set @field = @bb_countIF @count > 0 THEN   set @field = Field(Row(@rows, 1), "ListID")ENDIF

Viewing all articles
Browse latest Browse all 359

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>