Try our conversational search powered by Generative AI!

Setting a default value on PluginSettings in scheduled jobs


Hi Epi World,

The PlugInProperty does not seem to contain an attribute for a default value on eg. a textfield, when managing settings for scheduled jobs.

It's very useful to have these default values on properties on page types and blocks. Isn't it supported to do something similar for these settings?

// Peter

Jul 20, 2017 13:52


Can you please describe a bit more concrete what you meant for "default value for textfield"? Which text field you are referring to?

Jul 23, 2017 21:39

If you set custom fields in the plugin manager to be used along with your scheduled jobs, you can have checkboxes or textfields. Let's say I want a checkbox checked as default or some text inserted in a text field as default.

On CMS pages, you can have a label prefilled by inserting the attribute "DefaultValue".

So my question is... Does something similar exist for scheduled jobs?

Jul 24, 2017 8:03

Ok, next question - how exactly you are adding custom fields to be used along side with your scheduled job? Are you referring to "Admin > Config > Tools Settings > Plug-in Manager"? Or you add you custom fields via code (PlugInPropertyAttribute)?

Jul 24, 2017 10:13
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.