page.getCollectionName()Get the name of the collection that generated the collection-generated page.
Promise<string>
A promise that resolves to the name of the collection that generated the page.
If the method fails to find a collection, the method will return an error with the following tag and message.