PropertyList is not defined in pre-request script

Hey @ataul :wave:

Welcome to the Postman Community! :postman:

I’m not sure what your use case is or what you’re trying to achieve but you’d need to use this at the top of the script, to make that work:

PropertyList = require('postman-collection').PropertyList

The postman-collection is an external module that’s part of the scripts sandbox:

1 Like