06-06-2017 09:16 PM
Is there a recommended structure on how to organize the Custom.js file and related calls to auxiliary functions? Is it better to separate function definitions outside the gsp.ready() main function, or even in separate files?
Most examples supplied in the forum/Git are just pieces that I don't know the best approach to tie them.
This gets a little more difficult when dealing with multiple custom procedures/functions that need to be called in a specific sequence and need to be arranged within the callback functions of most API methods used (e.g successCallback).
I can see some guidelines in this topic, but is there some real example that I can use as reference?
Thanks in advance!
Solved! Go to Solution.
06-08-2017 03:23 AM - edited 06-08-2017 03:23 AM
Hi,
there isn't, the customization project structure depends on developer needs and habits.
On one of the trainings I prepared an "Autograph hunter" app.
It might be helpful, because it addresses couple of your questions:
If you don't have it I'll send it to you.
06-08-2017 06:52 AM
Hi Lukasz,
I'd appreciate if you could share it.
Thanks!