Jump to main content Jump to doc navigation

Name: Forward Exclude Fields on Merge
Type: Textfield
Default: type,published,class_key
Available In: Revolution 2.0.8+

A Symlink merges non-empty field values over the values in the target Resource; using this comma-delimited list of excludes prevents specified fields from being overridden by the Symlink.

It can also be overridden f.e. by calling sendForward() method, check appropriate link below for more detail.

$options = array(
	'merge' => 1, // field gluing mechanism enabled
	// original fields list that need to be excluded from the result
	'forward_merge_excludes' => 'id,template,type,published,class_key'
);
$modx->sendForward(15, $options);

See also

Support the team building MODX with a monthly donation.

The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.

Backers

Budget

$0 per month—let's make that $500!

Learn more