AnsweredAssumed Answered

Adding javascript in createView in MobileView (not app)

Question asked by Groupe Sugar on Jun 15, 2017

Hello,

 

I override create view in Meetings module to add a ValidationTask before saving my record.
I would like to do the same in Mobile Version.

 

I already know that we can not do anything in Mobile App, I am talking about the 'mobile web version' Sugar provides when we try to connect in a sugar instance with a mobile.

 

I tried to override create.js in the following path : /custom/modules/Meetings/clients/mobile/views/create/create.js

However it doesn't work.

 

After some searches I finally found that there was no javascript in these */clients/mobile/* paths.
Is the only way to add javascript in this version is to change the files located in mobile/js/*.js ?

Thank you,
Best regards

Outcomes