Page 1 of 1
Custom Fields Increase (50+)
Posted: Wed May 15, 2024 6:49 pm
by Rolodex
Version of script: 3.4.5
What terms did you try when SEARCHING for a solution: Custom, Custom Fields, Increase Custom, 50
Write your message below:
Hi all, just checking to see if there's a way to increase the custom fields to more than 50? Is this a hard cap, or something I can modify? My business office deals with all sorts of tickets and require different information for a lot of the custom categories. I've hit my 50 custom fields and can't create anymore, so was hoping for an easy solution to increase that, if possible.
"Info: You have 50 active custom fields, no new can be created."
Thanks!
Re: Custom Fields Increase (50+)
Posted: Wed May 15, 2024 7:15 pm
by Klemen
I'm afraid it's a hard cap; we didn't really expect anyone to use this many.
To increase it, you will need to:
- increase the 50 cap throughout the Hesk code, and
- modify the hesk_tickets table structure to accept more custom fields.
Re: Custom Fields Increase (50+)
Posted: Thu May 16, 2024 1:42 pm
by Rolodex
Ah I see, thanks Klemen.
Maybe a suggestion for a future release. A possibility of increasing that cap?
Thanks again for your hard work and dedication to this project!
Re: Custom Fields Increase (50+)
Posted: Thu May 16, 2024 4:22 pm
by Klemen
What would a reasonable limit be? We can't support unlimited without major changes to the database, but could potentially increase the limit in the future.
Re: Custom Fields Increase (50+)
Posted: Tue May 21, 2024 1:20 pm
by Rolodex
Sorry for the late reply.
I think doubling it would be satisfactory, 100?
Re: Custom Fields Increase (50+)
Posted: Wed May 22, 2024 10:19 am
by Klemen
No promises, but will consider.
Re: Custom Fields Increase (50+)
Posted: Thu May 23, 2024 10:51 am
by afeer
Definitely, it will be a good addition. 100 Custom fields will make this product more flexible.
Re: Custom Fields Increase (50+)
Posted: Mon May 27, 2024 6:39 am
by afeer
Have changed some code, 10 Custom Fields are added in DB (Now capacity is 60). Source code files are updated as well but after data is entered, it's not saved in DB.
Re: Custom Fields Increase (50+)
Posted: Mon May 27, 2024 6:41 am
by Klemen
That means that 50 still needs to be increased in at least one file, not sure which one though.
Might be a good idea to search all files for number 50 and check if it needs to be changed?
Re: Custom Fields Increase (50+)
Posted: Mon May 27, 2024 6:45 am
by afeer
I have changed Installation script for 60 Fields and then Updated number 50 to 60 in 1 file (Custom Fields).
Re: Custom Fields Increase (50+)
Posted: Mon May 27, 2024 7:35 am
by afeer
Thanx Klemen, got it and have done it now Custom fields are 60.
Re: Custom Fields Increase (50+)
Posted: Wed May 29, 2024 4:00 pm
by Rolodex
Hey Afeer,
Glad you were able to get it increased. Are you able to share which locations you edited to achieve this?
Re: Custom Fields Increase (50+)
Posted: Thu May 30, 2024 10:37 am
by afeer
Thank you very much. Here are the files i have changed the source code.
Install.php
Admin
1.admin_main
2.admin_settings_save
3.admin_ticket
4.edit_post
5.email_templates
6.export
Inc
1. common.inc
2.custon_fields.inc
3.email_functions.inc
4.pipe_functions.inc
5.posting_functions.inc
6.prepare_ticket_search.in