I was making app for marketing division, It’s call Order Management. At some point time I need to make a calculated for the due date to each process.
When I want to setup the reminder for each due date, the fields didn’t show up because seems like reminder can only works for fields with date/date & time attributes.
I’ve been thinking it’s maybe because the due date value is date but it’s actually calculated, so it can’t be use for reminder.
Is there any way to solve it without custom from JavaScript? or it’s required customize with JS?
You are right that the reminder notification requires a date or time field. If you use a text field to calculate the due date, the reminder can not be set up properly per the information on the link below.
Thank you for your help, I can fill in all notification fields from custom JS now.
I found other problem, when I import new records from excel/csv, all the notification fields didn’t fill in. Is there any function to accommodate it? (seems like app.record.create not working for import records from excel/csv).
As you are aware, the previous JS coding does not work for CSV loading because it uses “Save Submit (when pressing save button)” event with “app.record.create.submit”. Unfortunately, there is no event during the CSV file import.
As a reference, the different kind of events is listed below.
As alternative options, I would suggest creating another CSV file that has the value for the blank field, “notification” field, or you rewrite the code in kintone REST API.
What you can do with REST API is, at first, to place a button to update the record in a batch on the record list screen and after importing, you can press the button. Once the button is pressed, the record is obtained and updated.
You might want to retrieve details of multiple records with blank “notification” fields using a query string. And you can update those records by assigning the value of “notification” field from “due_date” field.
The following links explain how to get and update records.
I have another question. I notice that Reminder Notifications is up to 10 notification triggers. Is there any others way to increasing the limit to 15 or 20 without custom from JS?
Unfortunately, you cannot increase the limit of Reminder Notification triggers, even with the JS since there is no way to edit the Reminder Notification settings page
I was creating a manufacturing monitoring app and I was using reminder notification to send notification to user which is in charge to make the part type.
The manufacturing have 15 process (including star date), and for each process, notification will be send 1 day before the process date.
Do you have any sugesstion about it? (I attached screenshot of the app).
1) If it is possible to change the form of your app, you can make all the process dates as a table and set the reminder notification on that table. It does not require JS, but it seems to affect the customization of the current app.
2) If you want to keep the fields as they are now, you can add new table to store the process dates and set the reminder notification on that table. However, the app will look messy if you do not hide the table.