Skip to content

Instantly share code, notes, and snippets.

@fatwire-dev
Created December 27, 2015 07:57
String siteId = ics.GetVar("pubidCS");
if(Utilities.goodString(siteId)){
%><asset:sites type="<%= asset_type %>" objectid="<%= asset_id%>" list="isinPub" pubid='<%= siteId%>' />
<% if (ics.GetErrno()==0 && ics.GetList("isinPub")!=null && ics.GetList("isinPub").hasData()){
ics.SetVar(outputVar,"true");
}
}%>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment