In ActivePivot, from a post processed property such as those you can write to customize drillthrough you have indeed access to all the standard attributes of the current drillthrough row.
In the ActivePivot Sandbox application, since version 5.0 there is an example of drillthrough post processed property that extracts the book id that way:
/**
* @author Quartet FS
*/
@QuartetExtendedPluginValue(intf = IPostProcessedProperty.class, key = BookIdColumnPostProcessor.PLUGIN_KEY)
public class BookIdColumnPostProcessor extends APostProcessedProperty {
private static final long serialVersionUID = 1L;
public static final String PLUGIN_KEY = "BookIdColumn";
public BookIdColumnPostProcessor(Properties properties) {
super(properties);
}
@Override
public Object getValue(Object target) {
// Retrieve the value in the BookId column.
BookId book = (BookId) attributeAccessors.get("BookId").getValue(target);
return book.getId();
}
@Override
public String getType() {
return PLUGIN_KEY;
}
}