I found this code to pull in the pdf as the 1st page but it does not bring in the correct page.
var r = new FusionProResource(Field("Presort se"), "big", true);
r.name = (Field("Presort se"));
r.pagenumber = CurrentRecordNumber()
if (r.exists) {
return r;
}
else {
return NullResource();
}
For the second record it brings in the 1st page of the 1 page pdf again. Is there a way for it to bring in the 2nd page and so forth for the whole pdf
thanks