How to add a script editor or content editor to NewForm.aspx on my list in Mobile View version. I have added one but in desktop view it works good but when i switch to mobile version it does not run the javascript.


Technically it's NOT possible. Because mobile view renders from OOTB Application page(System page) like _layouts/15/settings.aspx & viewlsts.aspx this is common for entire farm so we cant/should not edit it directly.

When we enable mobile view based on site or sub-site context SharePoint will pass the GUID of the list and other predefined parameters.

| improve this answer | |

If you want to customize Mobile Views, check the MSDN documentation below.

How to: Customize Mobile List View and Form Pages

SharePoint 2013 mobile rending template locates in:

C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\CONTROLTEMPLATES

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.