Hi,
Hi Naresh,
Hi Kashif,
Hi Naresh,
Hi Kashif,
Hi Naresh,
We were not able to compile the code sample you have shared. However, we have written sample code for testing this issue at our end that adds a sample Calendar item to the PST’s Calendar folder. The PST opens fine in MS Outlook and the calendar folder also shows the appointment without any issue.
We doubt that the issue is specific to the Calendar files that you are loading and adding to the PST file. We would request you to please share your sample input files with us so that we can investigate the problem for assisting you further.
Sample Code:
public static void testCalPst()
{
getTestMapiCalendar();
PersonalStorage pst = PersonalStorage.create(“MapiCalendarToPST_out.pst”, FileFormatVersion.Unicode);
FolderInfo calendarFolder = pst.createPredefinedFolder(“Calendar”, StandardIpmFolder.Appointments);
calendarFolder.addMapiMessageItem(getTestAppointment());
[//calendarFolder.addMapiMessageItem](https://calendarfolder.addmapimessageitem/)(meeting);
pst.dispose();
}
public static MapiCalendar getTestAppointment()
{
Calendar cal = Calendar.getInstance();
cal.set(Calendar.YEAR, 2016);
cal.set(Calendar.MONTH, Calendar.NOVEMBER);
cal.set(Calendar.DAY_OF_MONTH, 9);
Date startDate = cal.getTime();
cal = Calendar.getInstance();
cal.set(Calendar.YEAR, 2016);
cal.set(Calendar.MONTH, Calendar.NOVEMBER);
cal.set(Calendar.DAY_OF_MONTH, 10);
Date endDate = cal.getTime();
// Create the appointment
MapiCalendar appointment = new MapiCalendar(“LAKE ARGYLE WA 6743”, “Appointment”, “This is a very important meeting.”, startDate, endDate);
return appointment;
}
Hi Iqbal,
Hi Naresh,
Hi Iqbal,
Hi Naresh,
Hi Iqbal,
We had similar issue which was raised by our customer and your team responded that this was replicated from your end and <!–[if gte mso 9]>
<w:WordDocument>
<w:View>Normal</w:View>
<w:Zoom>0</w:Zoom>
<w:TrackMoves/>
<w:TrackFormatting/>
<w:PunctuationKerning/>
<w:ValidateAgainstSchemas/>
<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
<w:IgnoreMixedContent>false</w:IgnoreMixedContent>
<w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
<w:DoNotPromoteQF/>
<w:LidThemeOther>EN-US</w:LidThemeOther>
<w:LidThemeAsian>X-NONE</w:LidThemeAsian>
<w:LidThemeComplexScript>X-NONE</w:LidThemeComplexScript>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
<w:DontGrowAutofit/>
<w:SplitPgBreakAndParaMark/>
<w:EnableOpenTypeKerning/>
<w:DontFlipMirrorIndents/>
<w:OverrideTableStyleHps/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
<m:mathPr>
<m:mathFont m:val=“Cambria Math”/>
<m:brkBin m:val=“before”/>
<m:brkBinSub m:val="–"/>
<m:smallFrac m:val=“off”/>
<m:dispDef/>
<m:lMargin m:val=“0”/>
<m:rMargin m:val=“0”/>
<m:defJc m:val=“centerGroup”/>
<m:wrapIndent m:val=“1440”/>
<m:intLim m:val=“subSup”/>
<m:naryLim m:val=“undOvr”/>
</m:mathPr></w:WordDocument>
<![endif]–><span style=“font-size:10.0pt;font-family:“Arial”,sans-serif;
mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-ansi-language:
EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA”>have logged it as EMAILJAVA-34211
for further investigation by your Product team. So, I just want to mention that both these issues are similar to Outlook 2010. If you have any update/heard anything on previous ticket or the one which I mentioned here please let us know.
Thank You!
Regards,
Naresh
<!–[if gte mso 10]>
<![endif]–>
Hi Naresh,
Hi,
Hi Naresh,
Hi Iqbal,
Circling back to check the status on these logged ticket <span style=“font-size:10.0pt;font-family:“Arial”,sans-serif;
mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-ansi-language:
EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA”>EMAILJAVA-34211, EMAILJAVA-34214. Do we have any update or any alternate resolution to be shared. Appreciate if you could respond on it. Thank You!!
Regards,
Naresh
Hi Naresh,
Hi Iqbal,
Any update on these logged ticket <span style=“font-size:10.0pt;font-family:“Arial”,sans-serif;
mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-ansi-language:
EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA”>EMAILJAVA-34211, EMAILJAVA-34214. Do
we have any update or any alternate resolution to be shared. Please
understand that this is really important as our customer is waiting for
this to be closed. Appreciate if you could respond on it. Thank You!!
Regards,
Naresh
Hi Naresh,
Hi Iqbal,
We have been trying to get an update on these logged ticket <span style=“font-size:10.0pt;font-family:“Arial”,sans-serif;
mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-ansi-language:
EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA”>EMAILJAVA-34211, EMAILJAVA-34214 from very long time. Do
we have any update or any alternate resolution to be shared. Please
understand that this is really really critical now as our customer is waiting for
this to be closed. Appreciate if you could respond on it asap. Thank You!!
Regards,
Naresh
The issues you have found earlier (filed as EMAILJAVA-34214) have been fixed in this update.
This message was posted using Notification2Forum from Downloads module by Aspose Notifier.