Do we have a scheduler publish for custom module?

If I have a custom module, how I can use schedule publish for it? or do we have a custom function for it?

1.00


Environment

  • Xperience by Kentico version: [31.0.0

  • .NET version: 8

Answers

Hieuden0,

When you say "A custom Module" do you mean an actual Custom Module Class? If so, those do not inherently have a "Publish" feature like the content hub does (they also don't have localization or other features).

You can create a boolean "Enabled" column (and define that as the Enable column in the TypeInfo), but that still is only a toggle and only does whatever you program it to do (so you have to make sure to check if it's true in queries and such).

That's normally what you would do on a Custom Module Class, is have an _____Enabled bool class, and in your queries only retrieve those enabled.

To response this discussion, you have to login first.