iCal4j ics file not importing to outlook 2010 - outlook-2010

I'm having trouble importing an ics file via the 'internet calendars' option in outlook. The file is produced I believe by a java applet. When I open the ics file directly within outlook 2010 it works fine i.e. click on the link and open the downloaded file with outlook. I've also validated it online with the validator mentioned in some stack overflow posts.
However when I subscribe to the link via internet calendars I get the following error:
"The file "calendar" is not a valid Internet Calendar file"
I haven't been able to work out what's going wrong here and the error message isn't particularly helpful.
Does anyone have any ideas why this isn't working?
Thanks.

Problem solved on this thread:
https://sourceforge.net/projects/ical4j/forums/forum/368291/topic/6062163/index/page/1
Unfortunately, I only have access to the applet link and not any of the code used to produce the ics file itself so unless I can find a way to automatically parse the file and add in the line METHOD:PUBLISH I won't be able to add the feed in outlook.

While this does appear to be a non-technical question it may be related to the iCalendar implementation of Outlook. Perhaps you could post the sample ICS data to the ical4j forums to see if there is something obvious that Outlook doesn't like.
http://sourceforge.net/projects/ical4j/forums/forum/368291

Related

A cancel .ICS works in Outlook Windows App but not Outlook 365. Why?

I'm a novice programmer trying to send colleagues staffing assignments, from an outdated DB, as .ICS files. I've gotten the following things to work swimmingly in Outlook Windows:
Add a single event with an .ICS attachment
Add multiple events with an .ICS attachment
Cancel a single event with an .ICS attachment
So what's the problem? Many of my colleagues use Macs, and I can't get the cancel-event to work with Outlook for Mac OR Outlook 365. On the latter, I'm getting the dreaded "Couldn't import calendar. Try again later."
I'll paste in a sample below, but I'm confident I have the formatting right (and have checked it with a validator); UID is constant; Sequence is incrementing; Last-Modified is updating. I've tried both "Method: Request" and "Method: Cancel" with no change.
I've also read through countless posts and understand this is a long-standing issue.
Right now my best guess is that this isn't an issue with the ICS itself, but with the MIME Content-Type in the Email header. I've confirmed that this is NOT being set as text/calendar, but I don't know of any way to change this.
Hope that's enough info. If anyone has any insight on how I can make this work, would be grateful.
BEGIN:VCALENDAR
VERSION:2.0
PRODID://Workplace//EN
METHOD:REQUEST
BEGIN:VEVENT
UID:F499BCFD-16DB-2A40-B1E1-F8D64F6A9B36
SEQUENCE:5
DTSTAMP:20210630T165316Z
ORGANIZER;CN=Live Programs:
MAILTO:XXX#xxx.org
ATTENDEE;ROLE=REQ-PARTICIPANT;
PARTSTAT=TENTATIVE;CN=Matt P
:MAILTO:ZZZ#zzz.org
DTSTART:20220703T154500Z
DTEND:20220703T164500Z
LAST-MODIFIED:20210713T134505Z
LOCATION:Theater One
SUMMARY:12:00pm Show (Presenter)
STATUS:CANCELLED
END:VEVENT
END:VCALENDAR
I am not sure whether it will work or not, but can you try once with METHOD:REPLY.

Outlook change mail content before it is rendered in read mode

Is there a way, to manipulate what the user is seeing in the Outlook read window?
I have some corrupt EML files, that have to be shown in Outlook after downloading them. So what I need is some extension point to run some js code before the user sees the content.
I already have an addin deployed and I found this topic: https://learn.microsoft.com/en-us/office/dev/add-ins/outlook/autolaunch
Which looks kind of promising, except there is no event that is triggered when the email viewer is loaded. Does anyone know a way to intercept the viewer screen?
OfficeJS doesn't provide anything for that nowadays.

Copying Email message to another folder in Outlook Web Add-in

I've looked at the "outlook add in command demo" example that shows how to access properties of email messages and change them via REST.
However, I cannot seem to find how I would go about copying a message from (e.g. the Inbox) to another folder in the mailbox.
The example uses REST, which does not seem to be exposing a method or call to copy a message to another folder. Would I need to use Graph to copy a message, and if yes, how is this done from within an Outlook Add-in?
Also, the documentation says REST is deprecated for Outlook add-ins and Graph should be used instead. Is there an Outlook Add-in sample that uses Graph?
The example also shows how the add-in can work on iOS, but not on Android. Has this support in the meantime been added? Is there any newer example that shows how an Outlook add-in can work on all platforms including Android?
You should now use Graph in place of Outlook REST which is now deprecated. To call Graph via outlook add in, check this documentation. Graph call to copy a message from 1 folder to another is POST /me/messages/{id}/move, find more info here.
The Outlook Add in does have support for Android, please have a look here

Read parameters from Outlook 365 Add-In manifest

Is it possible to get the parameters from the Outlook 365 add-in manifest programmatically (like version number or maybe resources)? I've searched all over the internet, but haven't found any way to do it yet :(
Some background: I need some information to be available at run-time from the manifest settings (the customers are expected to install the add-in via manifest and it is to be tailored for each customer with some special data).
Thanks in advance!
The manifest file is only consumed by the client (i.e. Outlook or Word) for the purposes of rendering that add-in (i.e. the URL, buttons to display, minimum requirements, etc.). There are currently no APIs that expose manifest data to the add-in instance itself.
One idea: what if you put the special data as something encoded in the start URL? That way you could read it back out via JavaScript, simply by looking at what parameter got passed in to you. Would that work?

XGantt ActiveX issue on Dynamics AX (2012)

I’m facing some issues with the Netronic XGantt ActiveX. My problem is that my ActiveX in the Form doesn’t seem to find the table I specified in the config panel.
I can't post a screenshot here since I'm new (I don't have 10 points) so this is a link to it.Configuration panel screenshot
I tried with a CSV file storing the nodes information, it works well.
Is the name SAG_GANTT_SOURCE_MODEL used properly? Knowing that I already created a table with this name and those fields in the screen capture.
Is there any further configuration elements I need to consider?
I can do as I wish following the classes some Dynamics AX projects (Gantt) uses but it seems to me that it’s too much work for implementing a simple component, isn’t it?
Since I can’t find any documentation/article/tutorial to use the XGantt ActiveX properly (except this one which I already saw http://community.dynamics.com/product/ax/axtechnical/b/axfortechies/archive/2010/05/28/activex-gantt-chart-control-in-dynamics-ax.aspx)
I’m wondering if you have any document, a link or a contact to help me with my issue.
Thanks for your attention.
Have you tried Netronic. I think they can generate a license file which you can import and this would enable the disgner of the control. Also they probably still have some pdf documents on thier website.

Resources