This functionality is only available for certain module packages.

chapter (deprecated)

Delivers the chapter for fragment macros, fragment group macros and page macros.

chapter()
Is deprecated and should be replaced by rdc('ECAD.ChapterMacro') (see rdc(String typeName)).