Hi There,
What would the process be if we wanted to add custom Suite Templates to the CRUD generation system? The need is to automatically inject additional standard endpoints along side the normal CRUD operations. Modifying the existing templates manually, looks very cumbersome and prone to package update issues. Is there a means to have one process that executes and adds all the new code without having numerous text files?
3 Answer(s)
-
0
Hi, if you need to add custom services, the best option you have is enabling the Customizing Code option
and then make the related changes in the added
*.Extended.cs
files (those files are not overridden in the next code generation) and in the related hookpoints.Please refer to the Customizing the Generated Code documentation and if you face with a problem, please let me know.
Regards.
-
0
I guess what I'm more asking is, can we utilize the generation process that the Suite tool uses to dynamically add code or is this not catered for and one must manually add code via extensions for additional standard endpoints.
-
0
I guess what I'm more asking is, can we utilize the generation process that the Suite tool uses to dynamically add code or is this not catered for and one must manually add code via extensions for additional standard endpoints.
Actually, ABP Suite's templating system are just for defining some common and static configurations. In the code side, we are extending it with the required services.
So, it's always a better option to go with the second option: "is this not catered for and one must manually add code via extensions for additional standard endpoints"