Vigilante Posted December 23, 2017 Share Posted December 23, 2017 Simple question. When I have a pagearray object and use methods like import, prepend, append, push, does PW automatically avoid duplicates? Or is it possible for a pagearray to hold multiple references to the same page? I'm mainly concerned about import because I'm importing a multi-page reference field and don't want duplicate references if a page already exists in the pagearray. Based on early tests/uses, it doesn't appear to have duplicate references, but I want the official answer about it. And while on the subject, is there a difference between append and push? Both are described as adding a page to the end of the array, so not sure. Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now