I have a question that I could not find the answer to and was wondering if someone would be able to help me. have an HTML file in a document library that does not load css or images properly in SharePlus. It works just fine on desktop SharePoint and when I open the HTML file in SharePlus using Web, it loads images and css just fine.
So the question is, is there a way to force the file to open using Web in SharePlus while still letting desktop users access the file. I know that you can use navigation actions and put "InWeb" at the end of the link to make it open that way but then the link will not work properly for desktop users. I would rather not have two different links, one for desktop and one for mobile, as this would not bring the user experience that I am looking for. Having two links to every file make links in web pages look very messy.
This might be a long shot but I have spent hours trying to figure out a seamless way of making this happen so any help is appreciated.
Thank you for your support request!
Sorry for my delay in getting back to you.
I’ve gone over the scenario doing a few tests just in case, and the best solution to view a webpage (its html + css) is a mix of things. What you would need to do is to make SharePlus think that the webpage is a workspace, and this can be done by creating a zip of the folder containing the html and the css. The filename must be page.web.zip. If you navigate to the SharePoint location where the page.web.zip, long tap on the file and set it as Home, you will be able to see the page normally.
There are two options there as well, the Application Home sets the page in the navigation bar on the left-hand side of SharePlus. On the contrary, setting as home for “This Site”, what it does is to load the page.web.zip as the home of the site that is added under Content, which was used to navigate to the page.web.zip.
Give it a try and let me know how it went.
All the best,
Adrián PévereSenior Support Specialist+1 (609) 448 2000 ext 1262Enterprise Mobility | Infragistics, Inc.
Thanks for taking the time to look into this. I went ahead and tried it out and it was able to load the html file with all the CSS, JS, and images just fine. However this will require a user to manually go to the zip file, a separate file than desktop users, and add it as an application home.
I would prefer for a user, in SharePlus, to look through a document library, click on an html file, and have it open natively in Web so that all the formatting loads properly.
I will be putting these html files in a document library that also contains PDF, DOC, XLS and other types of files that I would not want to open in a different application than their default.
Is there no way to make an HTML file in a document library open in Web using SharePlus while still letting desktop users click on the same HTML file and have it open in their default web browser. I don't want our mobile users thinking that they have to jump through loops just to access the same content as desktop users. Makes them second class citizens.
Thanks again for looking into this.
I completely agree with you that it could and should be much much easier and seamless for SharePlus to simply be able to read the html with its linked sources, however its regular navigation viewer does not allow it.
Let me check again and look for alternatives with our Devs.
Wishing you a good weekend,
Hello again Luke,
There is a mixed alternative to the SharePlus navigation within the app, which will show SharePoint in its native view:
At the Settings of a site added under Contents, you can change under Advanced Settings > View Mode from SharePlus to Safari (if in iOS).
This will allow you to make the best out of two scenarios and leave a single file for both groups of Desktop and SharePlus users alike.