The structure browser can be passed the relationship or the expandProgram
parameter that defines what children to show for a parent object. Whether
edit actions are permitted depends on the URL parameters passed to the
structure browser:
- If using the relationship (and no expandProgram)
parameter, edit operations (cut and paste) are only allowed if the URL
also includes the editRelationship parameter AND the
child object is connected to the parent object using one of the relationships
defined by the editRelationship parameter.
- If using the expandProgram parameter, edit operations
are only allowed if the returned HashMap for the specific row contains
the key allowEdit=true.
- If the expandProgram and editRelationship
parameters are passed, then the row must have allowEdit=true
AND the relationship that connects it to the parent object must be one
of the relationships defined by editRelationship.
To use resequencing functionality, the structure browser must meet one
of these conditions:
- For an object-based structure browser: the resequenceRelationship
URL parameter in addition to the connectionProgram parameter
must be passed.
- For a non-object-based structure browser: The expandProgram
and connectionProgram parameters must be passed and
the returned HashMap for the specific row must contain the key allowEdit=true.