Levy
Scout

JS not working in mobile view in classic designer form

Jump to solution

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:

Levy_0-1657024252895.png

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

Can anybody bringt some light into this? - Thanks

Labels: (1)
0 Kudos
Reply
2 Replies
rhia
Scout

Re: JS not working in mobile view in classic designer form

Jump to solution

JavaScript does not work on Nintex Mobile. 

0 Kudos
Reply
Levy
Scout

Re: JS not working in mobile view in classic designer form

Jump to solution

Too sad.

I am writing a SPFX-Solution now.

Thanks

0 Kudos
Reply