Skip to content

Instantly share code, notes, and snippets.

@SitefinityGuru
Created June 14, 2012 16:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SitefinityGuru/2931373 to your computer and use it in GitHub Desktop.
Save SitefinityGuru/2931373 to your computer and use it in GitHub Desktop.
Publishing Dynamic Sitefinity Module Items
var bag = new Dictionary<string, string>();
bag.Add("ContentType", FULL_NAME_OF_CONTENT_TYPE);
WorkflowManager.MessageWorkflow(dynamicContentItem.Id, dynamicContentType, null, "Publish", false, bag);
@SitefinityGuru
Copy link
Author

use this code AFTER calling dynamicModuleManager.SaveChanges()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment