I have a collection containing a string field of postcodes.
Before adding a postcode to the collection I need to know if it already exists, if so I do not add the postcode.
I was thinking that I could use the list service and map the postcodes to an array model of some kind and then check the new postcode against the contents of the postcode string array. Does this make sense, if so How do I configure the model and storage, and how do I map the postcodes from the service to the array model.
If this is not feasible, can you suggest and alternative?