'parentNum' numbers issue

3 posts by 2 authors in: Forums > CMS Builder
Last Post: September 16, 2013   (RSS)

By Jason - September 15, 2013

Hi,

The parentNum field, with the exception of top level categories, is never predictable since it's just the record number of the parent category.  A better field to use if you want something predictable is the depth field.  This field indicates how many levels deep the record is.  Top level categories, have a depth of 0, second level categories have a depth of 1, third level categories have a depth of 2, etc.

Hope this helps.  Please let me know if you have any other questions.

Thanks,

---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

By CarlosPinedo - September 16, 2013

Thanks a lot Jason!

Carlos