0 Replies Latest reply: Dec 22, 2011 5:33 AM by Jérémy George RSS

    How can I get the names of the groups of a document?

      I am writing an extension which sends its data to a server to render a picture. The drawing method depends of the dimension of the extension (i.e. field "A" must be drawn using the first drawing method but field "B" is drawn using a second method). I want to provide a way for the user to bind a given field to a drawing method. I try to retrieve the list of every possible dimension to ease the extension configuration.

      By using the Text expression "=concat($Field, ', ')" I can retrieve the names of all the fields of a document. I looked for a similar expression to get groups names with no luck. The javascript API does not seem to provide access to this information. How can I retrieve the names of the groups?