Comments (10)
Hi @ystvan
We tried to repro this on Outlook on the Web/New Outlook and Legacy Outlook on Windows but could not reproduce this issue.
We tested by checking the Office.context.mailbox.item properties on a recurring event in the future.
Could you share your add-in manifest?
Which property do you see as null?
On which platform do you see this issue - Legacy Outlook or New Outlook?
Please collect the log files and share with us - https://github.com/OfficeDev/office-js/wiki/Collecting-log-files-for-Outlook-Add%E2%80%90ins-issues
You can share files in a private repo and give access to exextoc.
from office-js.
Sure thing, before I share my manifest xml, is it OK to obfuscate some values like URLs?
from office-js.
Hi @ystvan We tried to repro this on Outlook on the Web/New Outlook and Legacy Outlook on Windows but could not reproduce this issue. We tested by checking the Office.context.mailbox.item properties on a recurring event in the future. Could you share your add-in manifest? Which property do you see as null? On which platform do you see this issue - Legacy Outlook or New Outlook? Please collect the log files and share with us - https://github.com/OfficeDev/office-js/wiki/Collecting-log-files-for-Outlook-Add%E2%80%90ins-issues
You can share files in a private repo and give access to exextoc.
<!-- Begin Basic Settings: Add-in metadata, used for all versions of Office unless override provided. -->
<!-- IMPORTANT! Id must be unique for your add-in, if you reuse this manifest ensure that you change this id to a new GUID. -->
<Id>00000000-0000-0000-0000-000000000000</Id>
<!--Version. Updates from the store only get triggered if there is a version change. -->
<Version>2.0.0.2</Version>
<ProviderName>Lorem ipsum</ProviderName>
<DefaultLocale>en-US</DefaultLocale>
<!-- The display name of your add-in. Used on the store and various places of the Office UI such as the add-ins dialog. -->
<DisplayName DefaultValue="Lorem ipsum" />
<Description DefaultValue="Lorem ipsum">
<Override Locale="da-DK" Value="Lorem ipsum" />
<Override Locale="de-DE" Value="Lorem ipsum" />
<Override Locale="sv-SE" Value="Lorem ipsum" />
<Override Locale="no-NO" Value="Lorem ipsum" />
</Description>
<!-- Icon for your add-in. Used on installation screens and the add-ins dialog. -->
<IconUrl DefaultValue="https://lorem.ipsum.net/icon-64.png"/>
<HighResolutionIconUrl DefaultValue="https://lorem.ipsum.net/icon-128.png"/>
<!--If you plan to submit this add-in to the Office Store, uncomment the SupportUrl element below-->
<SupportUrl DefaultValue="https://lorem.ipsum.net/" />
<!-- Domains that will be allowed when navigating. For example, if you use ShowTaskpane and then have an href link, navigation will only be allowed if the domain is on this list. -->
<AppDomains>
<AppDomain>https://lorem.ipsum.net/</AppDomain>
<AppDomain>https://login.microsoftonline.com/</AppDomain>
<AppDomain>https://login.microsoftonline.com/common</AppDomain>
<AppDomain>https://login.microsoftonline.com/common/oauth2/</AppDomain>
<AppDomain>https://login.microsoftonline.com/common/oauth2/v2.0/</AppDomain>
<AppDomain>https://login.microsoftonline.com/common/oauth2/v2.0/authorize/</AppDomain>
</AppDomains>
<!--End Basic Settings. -->
<Hosts>
<Host Name="Mailbox" />
</Hosts>
<Requirements>
<Sets>
<Set Name="Mailbox" MinVersion="1.1" />
</Sets>
</Requirements>
<FormSettings>
<Form xsi:type="ItemRead">
<DesktopSettings>
<SourceLocation DefaultValue="https://lorem.ipsum.net/"/>
<RequestedHeight>250</RequestedHeight>
</DesktopSettings>
</Form>
</FormSettings>
<Permissions>ReadWriteItem</Permissions>
<Rule xsi:type="RuleCollection" Mode="Or">
<Rule xsi:type="ItemIs" ItemType="Message" FormType="Read"/>
<Rule xsi:type="ItemIs" ItemType="Appointment" FormType="Read"/>
</Rule>
<DisableEntityHighlighting>false</DisableEntityHighlighting>
<VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides" xsi:type="VersionOverridesV1_0">
<VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides/1.1" xsi:type="VersionOverridesV1_1">
<Requirements>
<bt:Sets DefaultMinVersion="1.3">
<bt:Set Name="Mailbox" />
</bt:Sets>
</Requirements>
<Hosts>
<Host xsi:type="MailHost">
<DesktopFormFactor>
<!-- Event Read -->
<ExtensionPoint xsi:type="AppointmentOrganizerCommandSurface">
<OfficeTab id="TabDefault">
<Group id="CategoriesGroupAppointmentOrganizer">
<Label resid="CategoriesGroupLabel"/>
<Control xsi:type="Button" id="AppointmentOrganizerSelectButton">
<Label resid="SelectButtonLabel"/>
<Supertip>
<Title resid="SelectButtonLabel"/>
<Description resid="SelectButtonDescription"/>
</Supertip>
<Icon>
<bt:Image size="16" resid="icon16" />
<bt:Image size="32" resid="icon32" />
<bt:Image size="80" resid="icon80" />
</Icon>
<Action xsi:type="ShowTaskpane">
<SourceLocation resid="showTaskpaneUrl"/>
</Action>
</Control>
</Group>
</OfficeTab>
</ExtensionPoint>
<ExtensionPoint xsi:type="AppointmentAttendeeCommandSurface">
<OfficeTab id="TabDefault">
<Group id="CategoriesGroupAttendeeOrganizer">
<Label resid="CategoriesGroupLabel" />
<Control xsi:type="Button" id="AppointmentAttendeeSelectButton">
<Label resid="SelectButtonLabel" />
<Supertip>
<Title resid="SelectButtonLabel" />
<Description resid="SelectButtonDescription" />
</Supertip>
<Icon>
<bt:Image size="16" resid="icon16" />
<bt:Image size="32" resid="icon32" />
<bt:Image size="80" resid="icon80" />
</Icon>
<Action xsi:type="ShowTaskpane">
<SourceLocation resid="showTaskpaneUrl" />
</Action>
</Control>
</Group>
</OfficeTab>
</ExtensionPoint>
</DesktopFormFactor>
</Host>
</Hosts>
<Resources>
<bt:Images>
<bt:Image id="icon16" DefaultValue="https://lorem.ipsum.net/Icon-16.png"/>
<bt:Image id="icon32" DefaultValue="https://lorem.ipsum.net/Icon-32.png"/>
<bt:Image id="icon80" DefaultValue="https://lorem.ipsum.net/Icon-80.png"/>
</bt:Images>
<bt:Urls>
<bt:Url id="showTaskpaneUrl" DefaultValue="https://lorem.ipsum.net/"/>
</bt:Urls>
<bt:ShortStrings>
<bt:String id="CategoriesGroupLabel" DefaultValue="Lorem ipsum"/>
<bt:String id="SelectButtonLabel" DefaultValue="Lorem ipsum">
<bt:Override Locale="da-DK" Value="Lorem ipsum" />
<bt:Override Locale="ge-GE" Value="Lorem ipsum" />
<bt:Override Locale="sv-SE" Value="Lorem ipsum" />
<bt:Override Locale="no-NO" Value="Lorem ipsum" />
</bt:String>
</bt:ShortStrings>
<bt:LongStrings>
<bt:String id="SelectButtonDescription" DefaultValue="Lorem ipsum">
<bt:Override Locale="da-DK" Value="Lorem ipsum" />
<bt:Override Locale="ge-GE" Value="Lorem ipsum" />
<bt:Override Locale="sv-SE" Value="Lorem ipsum" />
<bt:Override Locale="no-NO" Value="Lorem ipsum" />
</bt:String>
</bt:LongStrings>
</Resources>
<WebApplicationInfo>
<Id>00000000-0000-0000-0000-000000000000</Id>
<Resource>api://lorem.ipsum.net/00000000-0000-0000-0000-000000000000</Resource>
<Scopes>
<Scope>openid</Scope>
<Scope>user.read</Scope>
<Scope>calendars.read</Scope>
<Scope>profile</Scope>
</Scopes>
</WebApplicationInfo>
</VersionOverrides>
</VersionOverrides>
from office-js.
Which property do you see as null?
everything is null, except two properties: itemType and seriesId
On which platform do you see this issue - Legacy Outlook or New Outlook?
New outlook
from office-js.
@neprasad-microsoft @exextoc shared a repro https://github.com/ystvan/OutlookRepro
Single event works
Recurring event from Outlook Web
Recurring event from Outlook Windows Desktop (New not Legacy)
Notice all the missing properties
Repro steps
- Create a recurring event for next week, daily occurrences running for 2 weeks
- Open the web add in when selecting an occurrence
- See debug point on
item
afterOffice.onReady
from office-js.
Hi @ystvan
This is happening because in Monarch the item opens in edit mode and in OWA the item opens in Read mode. Both of these have different set of APIs and properties on item. This is expected behaviour.
from office-js.
This is happening because in Monarch the item opens in edit mode and in OWA the item ope
What is Monarch
? Can I change the behaviour? Can I open in Monarch in read mode
? Can you please point me to a documentation where can I read upon it?
from office-js.
@neprasad-microsoft
Is there any kind of item
in Monarch that holds the information I need
- item.itemId,
- item.subject,
- item.start,
- item.end,
- item.dateTimeCreated,
- item.dateTimeModified,
- item.location,
- item.organizer,
- item.itemType,
- item.seriesId,
- item.sensitivity
from office-js.
Hi @ystvan
All of these will be available as async properties on the appointment compose surface - https://learn.microsoft.com/en-us/javascript/api/outlook/office.appointmentcompose
For example to get the subject you can write something like this -
Office.context.mailbox.item.subject.getAsync((result) => { if (result.status !== Office.AsyncResultStatus.Succeeded) { console.error(
Action failed with message ${result.error.message}); return; } console.log(
Subject: ${result.value}); });
Copied from - https://learn.microsoft.com/en-us/javascript/api/outlook/office.appointmentcompose?view=outlook-js-preview#outlook-office-appointmentcompose-subject-member
from office-js.
@neprasad-microsoft Appreciate the sources for the documentation. Thank you, it worked!
from office-js.
Related Issues (20)
- body.clear() not working for content controls HOT 3
- How to make slide active Or How to insert image using index HOT 4
- Addin sample not showing in new look outlook and browsers. HOT 5
- Identifying Usage of New Outlook in Office-js Add-ins HOT 1
- Not able to sideload outlook addin. in macbook there is no option to add the manifest file HOT 5
- Inserting Signature with the OnMessageSend event duplicates the signature
- The identity API is not supported for this add-in in online Word HOT 2
- Excel Online: calculation state can get stuck in Pending state when workbook contains charts HOT 3
- IP Address Range Needed for Microsoft Office Add-in Validation Process
- Office API messageParent Outlook on android doesn't work
- NAA: Unable to acquire access token for event-based activation (onMessageSend) HOT 2
- Outlook addin using Bootstrap modal or offcanvas bleeds through on Mac version of Outlook. Classic and New Outlook for Mac. HOT 2
- [Word API] Document.compare: ability to specify Original and Revised document?
- Outlook NAA issue: "Something went wrong. [7q6cl]" Error HOT 5
- Web Outlook provides improper attachment data if attachment is still uploading to the email HOT 2
- [Question] Is it safe to use `CustomFunctions.delayinitialization()`
- New Outlook - emails stuck in outlook at queued or draft status HOT 3
- context.application.createDocument works only first time HOT 1
- WorkBook level Define name is getting corrupted while reopening excel using base64
- In Outlook, getAllInternetHeadersAsync works on an item in the Inbox, but not the sent folder
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from office-js.