Custom Scheduler Task, Scheduler dropdown show custom scheduler with empty label.

Hi,

I’ve created a custom Scheduler Task by following -> https://docs.suitecrm.com/developer/scheduled-tasks/.

But Scheduler drop-down shows custom scheduler with empty label.

This same issue is in the topic #64169 created 3 months ago.

My Suitecrm -> Version 7.10.7.

Any help will be much appreciated.

Thanks,
Theophilus .S

Did you do a Quick Repair and Rebuild?

And rebuild javascript languages?

yes, I do. And I Quick Repair and Rebuild when changes made in the scheduler file.

You’ll have to post more details if you want to get help, it might boil down to a simple detail in the code.

Please posts the exact locations where you’re placing the files, and what’s in them. Use the Forums’s ā€œcodeā€ tags around code.

Hi,
I just followed the guide from -> https://docs.suitecrm.com/developer/scheduled-tasks/
And recreated the below examples in my suitecrm instance.
Example 13.1: Example Clean Meetings Scheduler and
Example 13.2: Example Language string for Clean Meetings Scheduler.
I can create the schedule and do all other things but Scheduler drop-down shows custom scheduler with empty label.
The same issue exists.
Thank you for your time.

Do you have any messages in your logs?

suitecrm.log
php_errors.log (or whatever your web server log is called)

Are you using any language pack, or is this with plain english?

I checked the log file, no help.

But if I make a explicit entry in the core file of schedulers in suitecrm root folder->modules->Schedulers->language->en_us.lang.php
as ā€˜LBL_CLEANMEETINGSSCHEDULER’] =>ā€˜Mark old, planned meetings as Not \ Held’; I can see the label in dropdown.

I don’t want make changes in the core file for custom schedulers.

Thanks.

Try adding the label in this file

/custom/Extension/modules/Schedulers/Ext/Language/en_us.lang.php

instead of the other directory that the Docs site suggests. Tell me if it works for you.