orchardcms - make object using Some of my command at runtime in orchard in -
have command ant executed times end user(admin interface) in orchard,
know what's recipe , orchard.exe!
want execute commands admin interface!
thanks lot!
you can upload recipe admin ui anytime check here: orchard recipes , here there modules once enabled run recipes.
and @ source, here code
recipe recipe = _recipeharvester.harvestrecipes(module.descriptor.id).firstordefault(x => !x.issetuprecipe && x.name == name); if (recipe == null) { return httpnotfound(); } try { _recipemanager.execute(recipe); } catch(exception e) { logger.error(e, "error while executing recipe {0} in {1}", moduleid, name); services.notifier.error(t("recipes contains {0} unsupported module installation steps.", recipe.name)); }
Comments
Post a Comment