This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Serializable] | |
public class SyncItemPostAction : Command | |
{ | |
public override void Execute(CommandContext context) | |
{ | |
var contextItem = context.Items[0]; | |
if (contextItem == null || contextItem.TemplateID != CommonConst.TemplateIdToCheck) | |
{ | |
return; | |
} | |
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