Outlook App and exchange RoutingAgentFactory some issue

hi , all:
I developed a outlook Addin,now I hope the migration to Outlook App ,I use Outlook.UserProperty  In Addin, But in Outlook App , I use Office.context.mailbox.item.loadCustomPropertiesAsync ,then send mail later , the
mail don't get the customproperties value.  
if i need the CustomProperties in App , exchange routingAgentFactory how to get the value . 
thanks all.
Anything is Possible!

Hello Harvey,
What code do you use in the callback? Do you call the saveAsync method after adding a user property?
// The initialize function is required for all apps.
Office.initialize = function () {
// Checks for the DOM to load using the jQuery ready function.
$(document).ready(function () {
// After the DOM is loaded, app-specific code can run.
var item = Office.context.mailbox.item;
item.loadCustomPropertiesAsync(customPropsCallback);
function customPropsCallback(asyncResult) {
var customProps = asyncResult.value;
var myProp = customProps.get("myProp");
customProps.set("otherProp", "value");
customProps.saveAsync(saveCallback);
function saveCallback(asyncResult) {
Also take a look at the similar forum
thread which states the following:
These
app-specific, item-specific custom properties are represented in the JavaScript API for Office as CustomProperties,
and can be accessed by using only the CustomProperties object.
These properties are different from the custom, MAPI-based, UserProperties in
the Outlook object model, and extended properties in Exchange Web Services (EWS). You cannot access CustomProperties by
using the Outlook object model or EWS.

Similar Messages

  • Outlook App and Exchange Routing Agent data interaction

    I hope develop outlook Apps.the outlook app save some data, and send the mail , in exchange routing agent
    , i want get the data. 
    I use Office.mailbox.item.CustomProperties , but the value don't save the receiver
    mail, only save my outbox that mail. 
    the same question :https://social.msdn.microsoft.com/Forums/office/en-US/4fd6e26b-b712-416b-bc7c-7a8c14b257e1/outlook-app-and-exchange-routingagentfactory-some-issue?forum=appsforoffice#9f67a694-cf8f-498e-8dbe-b72fb991a041
    how
    to do , or have any good suggestions. thanks all.
    Anything is Possible!

    Hi Harvey,
    >> I use Office.mailbox.item.CustomProperties , but the value don't save the receiver mail, only save my outbox that mail.
    I think I have reproduced your issue. I created an app for office project, and used the code below:
    <script>
    // The initialize function is required for all apps.
    Office.initialize = function () {
    // Checks for the DOM to load using the jQuery ready function.
    $(document).ready(function () {
    // After the DOM is loaded, app-specific code can run.
    var mailbox = Office.context.mailbox;
    mailbox.item.loadCustomPropertiesAsync(customPropsCallback);
    function customPropsCallback(asyncResult) {
    var customProps = asyncResult.value;
    var myProp = customProps.get("otherProp");
    customProps.set("otherProp", "value");
    customProps.saveAsync(saveCallback);
    function saveCallback(asyncResult) {
    alter("ok");
    </script>
    If I use this in the received mail, I could get the value of the otherProp which I set original in the same email. But if I create a new email, set the otherProp, and send it, after I received it, I could not get the otherProp.
    I think we need to take some time to do some investigation.
    Thanks for your understanding.
    Best Regards,
    Edward
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Problems with a shared calendar using Outlook 2007 and Exchange 2010

    Hello all,
    We are having a problem with sharing a calendar using Outlook 2007 and Exchange 2010.
    I will start with some background. I have just started my position with this company. I have been working with networks for awhile at the small business level. I have not had much production experience with exchange. There is only myself and my supervisor
    who has inherited a midsized network which was built by five previous techs that are no longer with the company. Of course, the previous techs did not leave much documentation, so the original hows and whys for our system setup has been lost.
    One of the managers has a calendar she shares with some of our users. I believe this calendar has been in use since sometime in 2006. A mailbox was created to hold this calendar to keep it separate from the managers calendar. I am not sure what version
    of exchange they were using at that time, but I assume there was one or two migrations of it getting to its current state on our exchange 2010 server. At some point it was observed that the other workers she was sharing with were not able to access it correctly.
    I am not fully sure what the original problem was (possibly some people not being able to see or connect to the calendar), but it was decided to give everyone who needed access to this calendar full access permissions through exchange. Correct me if I
    am wrong, but I believe that gave everyone connected the ability to do anything with the calendar. Of course the manager was not happy about that. This is where I started working on the problem.
    I removed everyone, except the manager who wants to control the calendar, from having "Full Access Permissions". This did have the effect of making some people just able to see the calendar and not make changes. Though there were others that were
    able to connect to the calendar who I thought would not be able to. The manager that originally created the calendar did try to manage access to it through the Outlook interface, though it currently does not seem to be fully in effect.
    So, to get to the point of what we are trying to do, is there a way to get the original manager back into control of the calendar though Outlook? It would be preferred to be able to keep the history of what they tracked of this calendar, so starting a new
    one would be something we would rather avoid. After that, getting all of the users that need to connect to the calendar reconnected with the correct access permissions and making sure they are all synchronized.
    I realize this is a big mess, and your help would be greatly appreciated.

    Hi Nigel,
    How is the impact, just one user or all users, Outlook or OWA?
    If just one user, it seems like an issue on the Outlook Client side.
    Please trying to re-create new profile to fresh the caches.
    Please runing Outlook under safe mode to avoid some AVs, add-ins and firewall.
    Found a similar thread for your reference:
    Calendar Sharing not available error message
    http://social.technet.microsoft.com/Forums/exchange/en-US/d9b33281-d7bb-4608-8025-16fb26643d0d/calendar-sharing-not-available-error-message?forum=exchangesvrclientslegacy
    Hope it is helpful
    Thanks
    Mavis
    Mavis Huang
    TechNet Community Support

  • Cannot sort emails sent from Mail App and Exchange

    When trying to sort emails on Outlook in Windows, lets say by "Flag", emails coming from a mac using mail app and exchange get placed at the top of the list.
    Have tried sending emails from the same account via webmail and iphone and they get sorted correctly.
    Anyone has had this problem?

    So, Here's what happens:
    1) Send email from Laptop (Snow Leopard) with Exchange Integration
    2) Send email from iPhone (3.1) with Exchange Integration
    In Outlook 2003 sort by flag (neither of these messages are flagged). Any email sent from the Snow Leopard is sorted first in the Unflagged category in Outlook. Any of the email sent from the iPhone is sorted normally.
    There's no differences in the headers to cause these to sort differently. The only headers that differ are the Date, Subject/Thread-Topic, Thread-Index, Message-ID, x-ems-stamp. But, in the Message-ID it has the same domain.
    Both Snow Leopard and iPhone are configured to use the same Exchange OWA/OWS.
    Message was edited by: GaryRudolph

  • I'm using iPhone4s and Exchange. Some of my contacts are duplicated. How to solve this?

    I'm using iPhone4s and Exchange. Some of my contacts are duplicated. How to solve this?

    By the way, I do not sync with any other means than Exchange (as far as I am aware).

  • Mail.app and Exchange issue

    Hello. I have 7 exchange accounts (45,000 letters in them) in my mail.app and every day i have a problem that mail.app delete all messages and start downloading it form server. Can any one help me with this problem.
    p.s. on the other macbook i have 1 exchage account with 18.000 messages and it works fine.
    Is this problem because to many exchange accounts or to many messages or because i use VPN for take mail from this accounts? Help me please.

    I can't even get the Exchange Mailbox to appear in Mail.app. The same account works for Calendar and Reminders (Tasks). Configuring as an "Other" type account also does not work. Instead I end up with an IMAP style account that can't be deleted from mail.app.

  • Vista Biz \ DTM 4.7 \ Bold \ Outlook 2007 and Exchange 2003 Nightmare! Help Please

    Hi
    I am trying to sync my Exchange Pub Folder (Calendar and Contacts) to my BB 9000 and it fails when I select 'MAP' in the DTM sync process.
    Vista Biz
    DTM 4.7 
    Outlook 2007 
    Exchange 2003
    Bold
    I am local\admin perms and Owner perms on the Exchange \pub folders but it crashes as soon as I select the MAP button.
    On my WinXP Pro, using Outlook 2003 and the same exchange it works out of the box, but with Vista and Outlook 07 it crashes.  Has anyone experienced this? 
    Thanks
    Karl

    It would appear that at least in certain situations Exchange 2003 can't "understand" what Outlook 2007 pushes into the mail store, which is an issue when anything tries to connect via POP or IMAP as the server tries to "render" an Internet standard message, and fails.
    Some info here, particularly the bit by Buddha377
    http://social.technet.microsoft.com/Forums/en-US/exchangesvradmin/thread/c63b871 3-9ef9-4076-a11b-5db08255689b
    Sounds like your iPhone sync may be suffering the same way??
    P.S. Simply reading a message with OWA can "repair" email messages, I've witness this myself seeing Mail.app show "garbage" for a certain message pulled via IMAP, OWA showing the message fine, then all of a sudden Mail.app showing a perfectly formed message.

  • Delayed received emails Using Outlook 2010 and Exchange Server 2010 SP3

    Hi,
    Some of our users are encountering delayed emails. When our clients sent email to us, some of our clients received this an hour late, sometimes they will received this the next day.
    Our users uses Outlook 2010 and our Exchange Server is 2010. We have already patch this to SP3 as it says that the delayed emails was already fixed in this SP3 but we still encounter the delayed emails.
    Thanks.
    Collins.

    Hi Collins,
    In order to narrow down this issue, please use OWA to send and receive a test email, see whether the delay will still happen or not.
    From your description, the issue happens when certain users receive emails from internal. I recommend you use message tracking log to determine which step delays.
    Here is an article for your reference.
    Configure Message Tracking
    http://technet.microsoft.com/en-us/library/aa997984(v=exchg.141).aspx
    Hope it helps.
    Best regards,
    Amy
    Amy Wang
    TechNet Community Support

  • Outlook 2010 and Exchange 2007. Outlook crashes when user opens it. Event ID 55, 100 and 3036

    Hello, 
    We are running Exchange 2007 on our server and our user clients use Outlook 2010. One of my users is having the following issue. Whenever he opens Outlook 2010, it would crash and show this message: "Microsoft Outlook has stopped working. A problem
    caused the program to stop working correctly. Please close the program". I tried recreating his Outlook profile and the issue persisted. I also tried to create his Outlook profile on a different computer and same message shows up. Both computers are domain
    joined. 
    I checked Event Viewer both on his computer and the other computer I tried to set up his Outlook profile on. Both machines showed the same three error logs:
    -First error log:
    Log Name:      Application
    Source:        Microsoft-Windows-Search
    Date:          9/12/2014 12:34:16 PM
    Event ID:      3036
    Task Category: Gatherer
    Level:         Warning
    Keywords:      Classic
    User:          N/A
    Computer:      OSD-Assistant10
    Description:
    The content source <mapi://{S-1-5-21-3579767609-4209606035-2604604182-1235}/> cannot be accessed.
    Context:  Application, SystemIndex Catalog
    Details:
    No protocol handler is available. Install a protocol handler that can process this URL type.  (HRESULT : 0x80040d37) (0x80040d37)
    -Second Error log:
    Log Name:      Application
    Source:        Application Error
    Date:          9/12/2014 12:34:13 PM
    Event ID:      1000
    Task Category: (100)
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      OSD-Assistant10
    Description:
    Faulting application name: OUTLOOK.EXE, version: 14.0.7113.5000, time stamp: 0x527d636c
    Faulting module name: OUTLOOK.EXE, version: 14.0.7113.5000, time stamp: 0x527d636c
    Exception code: 0xc0000005
    Fault offset: 0x00011c8a
    Faulting process id: 0x8e0
    Faulting application start time: 0x01cfceafa6be0255
    Faulting application path: C:\Program Files (x86)\Microsoft Office\Office14\OUTLOOK.EXE
    Faulting module path: C:\Program Files (x86)\Microsoft Office\Office14\OUTLOOK.EXE
    Report Id: 025ffc35-3aa3-11e4-bb89-001f2937f524
    -Third Error log:
    Log Name:      Application
    Source:        Outlook
    Date:          9/12/2014 12:34:10 PM
    Event ID:      55
    Task Category: None
    Level:         Warning
    Keywords:      Classic
    User:          N/A
    Computer:      OSD-Assistant10
    Description:
    Calendar Folder New Download
    This leads me to believe the problem has to do with his Exchange User Mailbox account. But I have no clue what could it be. He is the only user experiencing this problem.
    Any help is greatly appreciated!! Thanks!

    Hi,
    Sorry for my delay. Have the issue been resolved?
    If there are too many items in the problematic user's mailbox, please delete some and check whether the Outlook can be opened. Please uncheck Use Exchange Cached mode to use Online mode and confirm if the user can access the mailbox for Outlook.
    Also try to connect to this user's maibox from your working machine with Outlook. Then check whether it works.
    Regards,
    Winnie Liang
    TechNet Community Support

  • Outlook 2003 and Exchange 2013

    We have just installed Exchange 2013 servers in our organization alongside existing Exchange 2007 servers. No mailboxes have been migrated yet and we are about ready to point our client access namespace to the Exchange 2013 servers and go into the co-existence
    stage.
    We still have some Outlook 2003 clients and I know these need to be updated to 2007 SP3 or 2010 Sp1 or 2013 before those mailboxes are migrated to Exchange 2013.
    However, I am curious as to whether we would hit any problems at all if we pointed our namespace to E2K13 before upgrading the Outlook 2003 clients, as long as none of the Outlook 2003 clients use Outlook Anywhere and the mailboxes those clients
    connect to remained on Exchange 2007 for the time being ?
    Clearly, Outlook 2003 is not 'supported' but the wording in the following link...
    http://social.technet.microsoft.com/wiki/contents/articles/845.outlook-versions-supported-by-exchange-200720102013online.aspx
    says " Please bear in mind there’s a difference between what is supported and what might be compatible with Exchange 2013"
    Would the situation I'm thinking of be one of those 'compatible but unsupported' scenarios. i.e I can't think of any reason why the Outlook 2003 clients would have a need to connect to an E2K13 CAS server ...
    I'd be interested to hear other people experiences/opinions on this. Thanks!

    Hi,
    Based on my knowledge, for internal users whose mailboxes exist on Exchange 2007, it is ok to still use Outlook 2003 as clients. Because
    they will still connect to the Exchange 2007 Mailbox server instance hosting the mailbox. If the user is moved to Exchange 2013, please upgrade the Outlook client to higher version. Because Exchange 2013 doesn’t support Outlook 2003 client.
    For Outlook 2003 clients connected to Exchange 2007, they doesn’t support autodiscover service to get some Exchange services such as free/busy information, OAB. Outlook 2003 would connect to Public Folder in Exchange 2007 to retrieve these
    services. For OWA and ActiveSync service, it is not related to Outlook 2003 client, the CAS2013 would redirect the service request or send to CAS2007 for necessary data.
    Regards,
    Winnie Liang
    TechNet Community Support

  • Using the Same Profile for Outlook Connector and Exchange

    Is anyone using the same profile in Outlook for both the Oracle Connector for Outlook and Exchange server? Only Exchange would have an IMAP mail service defined.
    Oracle tech support kindly provided me with the following information but I would really appreciate hearing about customer experiences:
    "In theory this should work without causing any problem if only one service within the same Profile is configured for mail. However, before configuring a large amount of users with such a configuration, please start with 1 user and perform some tests, as I am not aware of anyone using such a configuration. The fact that you want your Oracle calendar users to invite Exchange users, will be like inviting External users, the Free/Busy information for these users will not be available etc. Also inviting external user is an already existing feature of the Oracle Calendar."
    Thanks very much.
    Brenda

    We are doing it currently as we are switching over from Exchange 5.5 to OCS. We set up a profile using the Oracle connector and then go into properties and add the Exchange account. We used this method to move files from the Exchange server to the Oracle server by having both profiles running.

  • Outlook 2013 and Exchange 2007 not always syncing read status of a message

    Out users are experiencing this issue from time to time. Outlook 2013 is using Exchange mailbox as default storage (Exchange 2007 SP3). Sometimes it shows that Inbox has one or few unread messages (Inbox name is bolded and there is a number near it). But
    a user can't find any unread messages in the inbox. If he logs to his mailbox via OWA, then he can find those unread messages. But they are marked as read in the Outlook. So it seems Outlook 2013 has issues syncing with Exchange 2007 as we have never experienced
    such issues when using Outlook 2007 with the same server.
    Any hints on how to make this thing go away, other than instructing users to log via OWA and mark unread messages as read?

    Hi,
    Switch to Exchange Online Mode, does the issue persist?
    It seems to be a sync issue between Outlook and Exchange, make sure the Internet connection is good. Let me know if the issue persist after clicking
    Send/Receive All Folders button.
    Try to run Scanpst.exe to repair the local data file in case the data file has been corrupted:
    http://support.microsoft.com/kb/272227
    Regards,
    Melon Chen
    TechNet Community Support

  • Help needed with buggy Outlook 2013 and Exchange 2010 trashing profiles

    Hi All,
      I have a customer who has eschewed MOLP and buys all their Office OEM from Dell.  So as a result they are starting to have more and more office 2013 be deployed.  They have a SBS 2011 server with Exchange 2010 and it is patched to the latest
    rollups and service packs.  (SP3, RU2)  Their Outlook 2010 and earlier clients are just peachy on this.  But the Outlook 2013 clients are having problems.
      What is going on is that periodically I'll get a complaint from a user that their Outlook 2013 is randomly crashing.  In all cases the fix is going into the Outlook Profiles, creating a new profile, then setting the new profile as the default
    and going back into Outlook 2013 and letting it rebuild the cached data on the PC.  This seems to happen a few times a month with random users on the network.
      I told the customer it was probably people not logging out of Outlook 2013 at night and their machines being power spiked but I think that's highly unlikely since it doesen't happen to the Outlook 2010 clients.
      I don't know if any Microsoft developers read this but if you do, please take it back to your bug database.  Any other suggestions would be appreciated (other than scotch Outlook 2013 - while I'd appreciate that, my customer wouldn't)

    In all cases the fix is going into the Outlook Profiles, creating a new profile, then setting the new profile as the default and going back into Outlook 2013 and letting it rebuild the cached data on the PC. 
    The Outlook 2013 crash problem would be fix after you re-create a new profile and re-sync the data from Exchange, right?
    When we meet the same problem in next time, I suggest we run the Outlook Product Stability Diagnostic tool to isolate known causes of crashes in Outlook. The Outlook Product Stability Diagnostic also creates a diagnostic report outlining the data it collected
    and recommendations on possible steps you can take to reduce or eliminate Outlook stability issues.
    Please click the following link to run the Outlook Product Stability Diagnostic tool in the Microsoft Fix it Center Pro portal:
    Outlook Product Stability Diagnostic:
    https://wc.ficp.support.microsoft.com/SelfHelp?knowledgebaseArticleFilter=2764035
    Other troubleshoot steps for Outlook 2013, please refer to the link below.
    Let me know the result.
    http://support.microsoft.com/kb/2632425/en-us 
    Tony Chen
    TechNet Community Support

  • IOS 6 and Exchange Calendar Sync Issues

    My company has been having several issues with iOS6 active sync and Exchange 2010 (sp2 ru4 v2).
    Issues:
    1. When an appointment is updated by the organizer the initial appointment does not update on the iOS device. Instead a 2nd appointment is created at the new time causing both appointments to be present.
    2. When an appointment is updated by the organizer the iOS device does not reflect the updated date / time. This seems to happen more than not with recurring events.
    Does anyone know if apple is aware or what the procedure would be for me to open a case with them directlty? All iOS devices are fully updated (to avoid the tansaction log bug that was happening).

    Same issue here Sam, with several users in our organization of about 2500 iPhone and iPad users, mostly iPhone. 
    I have been watching your post for over two weeks now and no one has responded.  Have you learned anything in the interim? 
    Unfortunately I have not, my many searches across the web have yielded no results that are relevant to the problem.
    Ken

  • Outlook 2010 and Exchange 2010 SP3

    Hello,
    we are planning to upgrade from Exchange 2010 sp1 to SP3, most of client PCs has Windows XP sp3 and Oultook 2010 with VSTO addins working with mapi properties.
    I need to know if there are any known issues between this client environment and Exchange 2010 SP3 ??
    thanks a lot,
    Mauricio.
    Mauricio

    Windows XP is not supported in any scenario, so yes, I'd call that a known issue.
    Mike Crowley | MVP
    My Blog --
    Planet Technologies

Maybe you are looking for

  • Setting Hyperlinks in PDF Portfolio

    Hi all, I have the following question concering Acrobat Portfolios in Verion X on Windows: The Portfolio is used for large summaries with lots of documents and folders. I need to set hyperlinks from one document to another, which basically works, but

  • Making attachment in pdf form

    hello experts, as per our scenerio we are sending pdf form as an attachment to our client....now client fill open the form and fill and send  back to us... now my problem is to how my client will able to add attachments in this pdf form... please giv

  • What is the best frame rate to use for movies watched only on computer scre

    Hello all, I'm UK based, and so use the PAL system of 25 fps. This works well enough if I want to make a DVD, but I'm now starting to work on projects that will only ever be seen on You Tube or Mobile Me - that sort of environment. A portion of my wo

  • Upgrade install died during upgrade - stuck

    Hi, last night I was upgrading my Ti-book to Leopard, when it finished and tried to install/reboot additional OS X packages over the internet, it died when updating the OS. Now when I try to reboot its just the white background and spinning wheel (fo

  • SQL Server 2008 Cumulative update

    Hi All, Please let me know if Cumulative Update 9 for SQL Server 2008 SP1 has been certified or not. Also what is an ETA. Thanks. Regards, Raghu.