Sending multiple records per HTTP request

I am going to stick with a smaller page size since we are so close to the limit. Thanks for the preSavePage script. One question… how do I vary a header value based on the pageIndex? I don’t think it supports handlebar expressions.

Interesting! I will look into this, but I think it just returns logging info/messages, not row by row structured data that would correlate to the records sent.

1 Like

Headers support handlebars on the value side. We should really add the handlebar icon here so it's clear you can.
{{#compare record.pageIndex "===" 0}}true{{else}}false{{/compare}}

Perfect! Thanks again!

One thing to add. For this case I needed to use:

{{#compare batch_of_records.0.record.pageIndex "===" 0}}true{{else}}false{{/compare}}

1 Like