I've recently been working through the creation of a Locations module. I've implemented the Content Lifecycle into the module, and thought it was working. I have a "publish" button that appears when all of my module items are listed out, and clicking it does cause the publish event to occur. However, I've added a button to my details view for my module, in the definitions file, as so:
ButtonType = CommandButtonType.Save,
CommandName = DefinitionsHelper.PublishCommandName,
Text = (isCreateMode) ? String.Concat(
WrapperTagKey = HtmlTextWriterTag.Span,
The button appears, however, whenever I click the publish button, I get a JS popup that says "Operation 'publish' is not supported at this time". Is there something I'm doing incorrectly in the above code that is causing this? I attempted simply passing "publish" instead of DefinitionHelper.PublishCommandName, but that had the same results. Any ideas why this error keeps popping up for me?