Outlook 2010 and href to open folders/messages - c#-4.0

Back in the day, Outlook 2003, I wrote an app that would go out and check a users mailbox for all messages that were over a certain size, then send them a HTML report with links to those messages. They could click the link and it would take them directly to the message.
Now, new company and several versions of Outlook later, Outlook 2010 now, I am attempting to do the same. Only problem is, everything I have read states that the HREF for Outlook:inbox (or whatever) is no longer supported.
It seems odd to me that such a handy feature would be removed. Is there a workaround for this?
I have searched and searched the web but to no avail. Any help is greatly appreciated.
Geo...

MAPIFolder.FolderPath returns path to current folder.

Related

Sharepoint Excel attachments suddenly not opening?

I've been working on a process that copies attachments to a couple places. Here's the basic outline:
User adds attachments to Power App
Power App adds those attachments to SharePoint list item
Power App/Automate adds those attachments to Freshdesk ticket
Power Automate copies attachments from SP to send confirmation email to user.
When FreshDesk ticket is closed, Power Automate reads attachments from Freshdesk notes and adds them to 1) an email to the original user and 2) the original SP list item.
Everything seemed to be working fine, but I am suddenly having issues specifically with Excel attachments. I can open them in their original OneDrive location, the emails they're attached to (although the Excel previewer doesn't always want to open), and in the FreshDesk ticket. I cannot open them in SharePoint. I just get an error that "This workbook cannot be opened."
These exact files were working fine before. I've cleared my cache, restarted by computer, and tried a different browser. Nothing will let me open them from my SP list. Help!
Edit: Solved, thanks to the folks on r/sharepoint! It's a Microsoft bug. You can view it in the M365 admin Center under Health. Description below.
SP411415 :
Title: Users can't open recently created Excel files from within SharePoint Online lists
User Impact: Users are encountering an error when attempting to open Excel workbooks from SharePoint Online lists.
More info: Affected users will see the following error:
"The workbook cannot be opened"
Current status: The fix has been submitted and we anticipate that deployment of the fix will start within the next one to three days. We're monitoring its progress to ensure the fix gets deployed and saturates throughout the affected environment.
Scope of impact: Any user hosted on the affected infrastructure will be impacted.
Root cause: A recent service update contains a code error within the previewing function which is causing an exception, resulting in impact.
Next update by: Thursday, August 11, 2022, 4:00 AM (9:00 AM UTC)

Auto-open does not work for people who have not signed in in browser

I want to share a document online by a URL with some colleagues. When they click the URL and view the document online, I want a task-pane add-in to be automatically opened.
I used Office-OOXML-EmbedAddin to create such a file with Script Lab auto-opened, then I put the file (view-only) on my OneDrive:
https://1drv.ms/x/s!AmAcI5jpNEmng1NhS0xbIMcUnUNZ
However, our tests show that, for people who have not signed in with Microsoft Account in their browser, the auto-open does NOT work, though they can view the document.
Is this behavior expected, given that people may not stay signed in all the time?
PS: note that if people download the document, they don't need to sign in to enable auto-open in Excel desktop.
This is a known bug. Until it is fixed, users will have to be logged in when they open a document on OneDrive in order for the autoopen feature to work. Sorry for the bad news, but it is on Microsoft's radar and we know it is important.

Links i harmon.ie offers a download, not the actual SharePoint document

When I attach a link in an email using harmon.ie, I get an url that includes the file name. However when the recipient clicks it, it starts to download a copy instead of opening the actual SharePoint document.
The link is typically on this format:
[company].sharepoint.com/sites/[subsite]/[library]/[filename.docx]
The same link retrieved directly from SharePoint would look something like this:
[company].sharepoint.com/:w:/s/sites/[subsite]/EZ31C3wRKuVPnOOB7vNGMsMBiI9eYAjGTuiaEODu_c3wpw
That link will typically open the document in SharePoint as expected.
It did not use to be like this. The links from harmon.ie used to open documents instead of downloading copies. I am afraid I cannot say when we discovered this, but I believe it was a couple of months ago. We are using the free plan, and are not qualified for support from harmon.ie. We were pointed in the direction of this forum, and I would be most grateful if someone could help us.
Thanks
Eigil
Harmon.ie creates plain valid links to Sharepoint document and they are opened by default browser (like any link you will add inside an email)
The behavior is only controlled by the browser not by harmon.ie (you can check it out by adding the url in the browser)
The only solution to control the behavior is to use the feature to generate OWA link so that it opens in Office online.
Indeed, we have feature allowing to create links that will open in OWA (hence in the browser)
Please read carefully register key: GenerateOWALinks as detailed at https://harmon.ie/provision-harmonie-outlook-all-users
Note also that if the recipient of the email has harmon.ie installed, he can right click on the link, select Open in Harmon.ie. The document will appear in harmon.ie sidebar (at the Sharepoint location), double clicking on it with open the document in MS Word.
Thanks,
----- Jean

How to download a whole Sharepoint site?

I hope someone has met this need before. I got quite a bunch of documents in a Sharepoint site. And I want to download all the docs as a whole instead of one by one. I have tried the Teleport Pro but it just said HTTP 401 Unauthorized error. Is there any way to download the whole Sharepoint document-sharing site?
Many thanks.
If you have WebDav enabled, you can just open your sharepoint site as network folder and copy paste the documents into your local hard drive.
http://support.microsoft.com/kb/841215
http://hosting.intermedia.net/support/kb/default.asp?id=1603
http://insomniacgeek.com/blog/sharepoint-open-with-windows-explorer-on-windows-server-2008/
You can use DMS-Shuttle for SharePoint for this purpose. With one drag & drop (or CTRL+C, CTRL+V ) you can download a document library or the whole site with all subsites and document libraries. You can define different filters (by modified date, size or file extension). There is a Trial Version here.

Document is not updated after check in from Word

one of our customers has great problems checking in documents to a SharePoint library form Word 2007. Whenever she check's in a document to the library the meta data as version number and checkin comment are updated but not the document itself.
The library is configured in such a way that versioning is activated and documents have to be checked out before editing.
I think it has to do with some Office 2007 or OS settings as every other of her colleges can check in documents without any problems.
I recently ran into a similar issue. The document may be getting uploaded but some sort of caching or proxy issue is causing an older version to appear when you try to download it.
To isolate the issue I suggest you try uploading a text file a couple of times.
Not sure if you'll have access to the component that is actually causing the problem, but as a workaround renaming the file should help.

Resources