Add remote-trigger and remote trigger-mapping-attribute

replaces #1145