OneDrive UNC paths - onedrive

This is not supported but does anyone know how to force OneDrive for Business use UNC paths?
I've spoke with MS and its not on their roadmap and they arent forth coming with a solution.

This is how we rank the feature request among the community, post your feature in user voice and MS will identify the priority of the feature based on the voting numbers.
Here is the user voice for office 365 website:
https://office365.uservoice.com/
Hope this helps.

It is supported. Same format as it is for SharePoint Online document library mappings. \tenant-my.sharepoint.com\personal\username\Documents
Connect as Web Drive: https://tenant-my.sharepoint.com/personal/username/Documents
The option is only hidden in the OneDrive simplified UI. You can even turn it on by adding a normal view to the Documents library and turning the ribbon on from Settings (note that of course open in Explorer only shows in IE).
Open in Explorer from OneDrive

Related

VBA Dir on SharePoint -why working only with Internet Explorer?

I wanted to map some folders on SharePoint and create new subfolders via VBA. The SharePointURLtoUNC function found here was really useful but there was another prerequisite for making all kinds of Dir commands work: I had to log in under Internet Explorer into SharePoint. It didn't work when I was only logged in under Chrome or Microsoft Edge.
Could you please explain why is it so and how to avoid Internet Explorer login?
According to your description, you want to know how to implement map a network drive to SharePoint, right? If this is the case, the issue you are experiencing is the correct behavior.
When you're mapping a network drive to a SharePoint document library:
The steps that require a web browser must be performed in Internet Explorer (version 10 or 11).
A mapped drive is only available when you're online.
Performance depends on connectivity speed.
To maintain the mapped network drive after it's established, you should periodically (say, every two weeks) navigate to the SharePoint library in Internet Explorer. This action refreshes an underlying "security token" that gives you permission to have the network drive mapped to the online library.
In addition, it's important to note that this is legacy technology and it may be affected by the deprecation of Internet Explorer in August 2021. For more details. please refer to this doc: Map a network drive to a SharePoint library.

SharePoint link should open in File Explorer but opens in Web Browser

As the name of the question states, I'm working with my company on a project in UiPath that is responsible for scraping a slurry of excel files from a SharePoint server. Unfortunately a decent portion of it is proprietary so I don't know how much of the actual code I can justifiably put here.
I have inside of UiPath (which is essentially a shell for vb.net and C# specifically tailored for automation) functionality to input a website url into the file explorer and have it navigate to the OneDrive folder for that SharePoint site.
This was working as expected until yesterday in the morning when it decided to brick itself and instead pull up the SharePoint site on the web browser.
Is there any way to ensure or otherwise understand why it won't open the folder path? I had it working before and I don't know why it doesn't work anymore.
Regards,
Jadda

Host Vb .Exe on Sharepoint Site

i want to host a vb project from a sharepoint folder instead of having it locally installed.
I am still new at this, but I only need to host the files in the same folder on sharepoint right? And then whoever can just click the .exe file, correct?
Sorry if this is a dumb question!
Thanks in advance
As already mentioned in the comment SharePoint isn't meant to store or even display applications (.exe). What started as a security measure is now part of the philosophy of MS SharePoint. Here's a list of all filetypes SP13 will block by default.
Back to your question. There is a trick how you still can upload an .exe to SharePoint:
Store the application in a folder
Zip the folder
Upload the zipped folder to a document library
Display the library on the desired site
For the future..
As there is a "Silverlight Webpart" - develop silverlight application if you know from the beginning that you want to display them on SharePoint.
Another trick: Publish your application on a host server. Then use the "Site Viewer WebPart" and point it to your application
Last one, although I wouldn't suggest it.. You can develop a .wpf-application and simply upload it as the file-type isn't blocked. But to embed the resources is just a pain in the ass..
There are for sure many other ways to do this.. Those are just the most practical ones I know if you already developed the application. The best solution is of course to create your own WebPart..

Open document file with Google Docs, Asp.Net

I just want to integrate the google docs api to my project to open uploaded documents! I dont want Google Drive, the files are already uploaded on my server. I don't want to edit them or change anything, so it should be READONLY... I spent hours on https://developers.google.com/drive/quickstart-cs, I tried a couple of things but I couldn't find what I want!
for the pdf files, I used HTML5 to open them and it worked perfectly, but I couldn't find a way to open World documents with HTML5 object tag... Any idea how to do it? Thank you
Visual Studio 2012 - ASP.NET MVC 4
Use an iframe to embed File.embedLink, documented on https://developers.google.com/drive/v2/reference/files#resource

Error Trying to Save from Excel to Sharepoint Library

I am trying to save an Excel 2010 file to a Sahrepoint 2010 document library but keep getting the error:
"You can't open this location using this program. Please try a different location"
Googling this suggests enabling "Desktop Experience" on the server which I have done. All Excel services are activated.
Has anyone come across this and been able to resolve successfully? I am wondering if this is more security related but the security set-up looks fine.
Any suggestions?
Thanks
I think that there are potentially a couple of things that could solve this problem depending on your set-up.
You are right that a lot of internet advice is to enable desktop experience, but if you are not running on the server or if you have already done this then one of the suggestions below could help.
This is only for dev environments however.
If you are running on the server and trying to use your app as admin then configuring IE ESC to turn off enhanced security for Admins should help
If you are running off server and have the issue and do not want to turn off IE ESC (on the server) for users then you need to enable a mechanism to allow auto-logon, either through integrated security (i.e. you are part of the domain), accessing through an anon web-site port on your SharePoint app (set-up anon web access in SharePoint) or set up and store a WebDav link and use that as the open/save URL.
My (unconfirmed) theory is that there is some auto-login going on in the background that hinders a streamlined office integration. Most of the time, SharePoint will be set up with Kerberos (not NTLM) or be in anon mode so enabling desktop experience if running on the server will be the best first step to try.
Hope this helps.
The problem is that the full path to the file is too long.
I had this problem with a PowerPoint presentation. The full path to the file was over 275 characters. When I shortened the file name to bring the full path under 250 characters, I was able to open the file normally.