ecl-logo Documentation

PageSections

PageSections[objects]paths

finds the Command Center Sections path of an object if one exists for the object.

Details

  • Only objects that were created in the Command Center page which has parsed SecionsJSON will have a path.
  • The first part of the path will always be the Object[Notebook, Page] the input object is associated with.
  • Input
    Output
    Messages
  • InvalidJSONSectionsThe page `1` has invalid SectionJSON

Examples

Basic Examples  (3)

Returns a sections path, starting with the page, as a List:

Returns is Listable:

If an object was not associated with a Command Center Page, or it is not part of the SectionsJSON for a page, it returns empty list:

Additional Examples  (1)

Works with objects that come from Object[Notebook, Script]s:

Messages  (1)

InvalidJSONSections  (1)

If the SectionsJSON was saved incorrectly, this message is thrown: