Request Description
Customer has a requirement to hide / remove 'minutes' value from a job schedule drop-down list:
Resolution
There are 2 ways to achieve the requirement:
Modify an HTML template to remove 'minute' value :
WEB-INF/scripts/runtime_dependencies/jrs-ui/src/scheduler/template/editor/scheduleTabTemplate.htm
section
<select name="recurrenceIntervalUnit"> <option value="MINUTE">{{- i18n["job.interval.unit.minute.label"] }}</option> <option value="HOUR" >{{- i18n["job.interval.unit.hour.label" ] }}</option> <option value="DAY" >{{- i18n["job.interval.unit.day.label". ] }}</option> <option value="WEEK" >{{- i18n["job.interval.unit.week.label". ] }}</option> </select>
Remove or comment out the first option. As non-optimized file is modifdied, in order to test the changes you need to add
&_opt=false
parameter to the server URL.
Hide the element with a custom theme (overrides_custom.css) using CSS
This works with all browsers except MS Internet Explorer.
Solution tested with TIBCO JasperReports® Server v.7.5.0
AS-20200410, case 01854815
Recommended Comments
There are no comments to display.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now