Solved

JS not working in mobile view in classic designer form


Badge +6

In a classic designer form and a SmartPhone view, it seems that my Javascript doesn't work.

As the same peace of code is working in the Desktop view, I assume that this is some sort of limitation in mobile views?

My Javascript file resists in the site assets library and is referenced in the Custom JavaScript Includes in the form settings.

I call my code like so:

NWF.FormFiller.Events.RegisterAfterReady(function() { try { getAdditions(); } catch(e) { console.log(e); } });

I am fetching data from a list within the same site with the RequestExecutor:

var executor = new SP.RequestExecutor(appweburl);

 

If users are accessing the form with a mobile phone, they get following message:

24240iC5F6972EE7525586.png

It seems like the SP.RequestExecutor.js will not be loaded in mobile views?

Can anybody bringt some light into this? - Thanks

icon

Best answer by rhia 5 July 2022, 23:11

View original

2 replies

Userlevel 6
Badge +15

JavaScript does not work on Nintex Mobile. 

Badge +6

Too sad.


I am writing a SPFX-Solution now.


Thanks

Reply