Skip to content

Instantly share code, notes, and snippets.

Created October 15, 2021 12:53
What would you like to do?
public class SyncItemPostAction : Command
public override void Execute(CommandContext context)
var contextItem = context.Items[0];
if (contextItem == null || contextItem.TemplateID != CommonConst.TemplateIdToCheck)
var newFieldValue = contextItem["Custom Field"];
// custom code to use the new field values
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment