Automatically set structure group context in the Article Attribute View via customizing
Since PIM 7.0.05
There is a possibility to automatically set the structure group context in the Article Attribute View via customizing. To accomplish this, implement a subclass of ArticleAttributeTableView (and contribute it) and override the method updateStructureContext() like this example:
@Override
protected void updateStructureContext()
{
StructureGroupProxy structureGroup = CustomizingHelper.getStructureGroupOutOfArticle( this.currentEntityProxy );
setStructureContext( structureGroup.getStructureProxy() );
setStructureGroupContext( structureGroup );
}
Now, every time, a new article is selected, the customized article attribute view sets the structure group context depending on the logic, you implemented in the updateStructureContext() method.