Customizing the list forms will not be preserved inside the mobile app
We have many lists and libraries inside our sharepoint online site collections, which have been customized, by doing these main actions:-
Adding custom scripts to the New and Edit list forms using the "Script Editor" web part.
Hiding certain fields inside the New list form using powershell scripts. here is a sample of a powershell script to hide a column inside the New list form:-
fieldTitle = "SiteCreated"
$customfield = $Context.Site.RootWeb.Fields.GetByInternalNameOrTitle($fieldTitle)
Using the web browsers; those customization were preserved even if we use the modern UI. As sharepoint will always render any New or Edit list forms using the classic mode if we have customized the list forms using custom scripts + the powershell scripts will be respected inside the classic and modern UI.
But recently i downloaded the sharepoint mobile app inside my iPhone, and i found those 3 sever issues, when i accessed the customized lists/libraries:-
The custom script and the power-shell scripts will not have any effect. Where the New/Edit forms will ignore the custom scripts and the power-shell scripts to hide certain field inside the New list form.
I have a managed metadata field >> and this field will be shown as read-only inside SP mobile app.
i have disabled attaching files inside the custom list settings>> but when add/edit items inside SP mobile app users can attach files to the items!!!
So can anyone advice how i can fix these issues?
1) Can we prevent users from accessing these customized lists/libraries when using mobile apps?
2) OR to allow the mobile app to respect the above customization which we did to the New/Edit forms? as currently the behavioure of the sharepoint mobile app is not acceptable, as it will breach our business logic (if it has not already breach it)...