Can we include attachments to iCalendar invitations that are created from an MVC application - attachment

How can we send attachment along with an ics file that are created from MVC application.
We are creating the meeting invitations with data fetched from application in ics format and then downloading for the user to click on it and open in outlook.So can we add an attachment also along with the ics file so that users wen open in outlook will see the attachment along with other details.
Please somebody help.

As per https://www.rfc-editor.org/rfc/rfc5545#section-3.8.1.1 or https://icalendar.org/iCalendar-RFC-5545/3-8-1-1-attachment.html, one can ATTACH by referring to the URL of the attachment.
An example given is:
ATTACH;FMTTYPE=application/postscript:ftp://example.com/pub/
reports/r-960812.ps
Other examples elsewhere in the spec are:
ATTACH:http://example.com/public/quarterly-report.doc
or
"The following example specifies an "ATTACH" property with inline
binary encoded content information:
ATTACH;FMTTYPE=text/plain;ENCODING=BASE64;VALUE=BINARY:VGhlIH
F1aWNrIGJyb3duIGZveCBqdW1wcyBvdmVyIHRoZSBsYXp5IGRvZy4
"
or
ATTACH;FMTTYPE=application/msword:ftp://example.com/pub/docs/
agenda.doc

Related

Orbeon Form - save PDF and XML in local file share after submit/save

Currently I have got Orbeon to send an email to me with a PDF and an XML attachment. Is there a way to get Orbean to also save the submitted form as PDF and XML files in a local (or remote) file share somewhere for further processing?
It's not possible to save to the filesystem at the moment. But you can use the send action to send XML and or PDF to a service.

Open a excel file in Microsoft Excel Online from a link

I have a shared xls file in One Drive. Which i want to view though Excel Online.
The Link would be sent to users through mails. The user will open it in browser by clicking it.
Just like the Google Docs Viewer
https://docs.google.com/viewer?url=http://spreadsheetpage.com/downloads/xl/time%2520sheet.xls
But, in Microsoft Excel Online and the file is in One Drive itself.
Thanks in advance.
Use WL.api to provide the path of the file stored on onedrive. This function returns a URL if it succeeds. You have to send this link through email. User will be able to view the invoice stored on your onedrive by clicking on this link using excel online.
:-)

How can I link to a file in an email?

When I'm sending mail form in my app I can attach some files. But in the email it looks like aeb6fe78271a1f2f51c7b84981b9e8df.png How can I show link to file?
if the file is hosted in the web. then checked it out the file link inside the email, maybe the generated file url is a relative path which did not contain the host information.
another solution maybe attach the file as an attachment inside the send email.

Posting files to Rails XML API

I have a Rails application setup to receive file attachments using Paperclip.
Now I need to allow a .net/C# cell phone application to post files along with the XML in the same way (or some other way if necessary: they could encode the image as base64 and send - they tried that initially - including the binary data in the tag that would normally be a file field in the web application, but it did not work.
I have found nothing in the way of documentation and wondering if anybody has experience or advice.
Surprising that there is apparently no documentation for doing this anywhere to be found. I ended up stumbling across a document on the Basecamp website describing how their file attachment process works for API users and used it as a guideline.
http://developer.37signals.com/basecamp/
with help from this article about posting files:
http://www.codevil.com/index.php/2009/05/23/posting-and-getting-files-in-rubyrails/
I modified my initial setup so that, rather than passing the tag in the XML, they first post a file and receive an file ID in response.
Then they post the XML with that reference and their .
Then I use before_validation and after_save callbacks to set the file with Paperclip, and remove the tmp file after the save.

Edit .doc in Word via custom Document Library DispForm.aspx

I have a document library with a workflow that dynamicly sets user permissions to edit these documents when certain criteria is met.
The users who need to edit these items are not the brightest users, so to make it failsafe and simple for them I am customizing the DispForm.aspx to only show 2 fields in the Document Library.
"Document" - Name of the document which is a link that opens the document in MS Word.
"Done?" - Yes/No tickbox.
The user gets an e-mail when they have a task assigned; the e-mail contains an URL to the custom DispForm.aspx, the user clicks the link and voila, they see the customized DispForm.aspx with only 2 fields, they know exactly what to do because they won't get distracted by an information-overdose and the only thing the user has to do is click on the document so it would open in Word, user makes changes to document, saves, ticks "yes" in the "Done?" tickbox and the next workflow starts.
Now I'm having this particular problem, when I customize the document library's DispForm.aspx in Sharepoint Designer and add a custom Sharepoint control (Custom Document Library listform) it does not contain the Name field (which contains the URL). I can manually add that link in Sharepoint Designer but then the document gets opened in the web version of Word and if the user wants to save it, it saves to the local harddrive, instead of the Document Library.
What am I doing wrong? How can I include the right URL to a document in a customized DispForm of a document library which opens the document in Word and saves to the Document library and creates a draft version?
Suggestions, tips or other solutions VERY welcome!
Erik
Currently using: MOSS 2007, Nintex, Sharepoint Designer
I wrote a blog on how to get an External Link for Editing a SharePoint Document. Maybe that can help.

Resources