Calendar - How can I expand the recurrences of a recurring item in ItemAdding event receiver?

When a user add a new recurrence event to a calendar I want to check if any of the recurrences overlap with events already in the calendar.
I saw the property Recurrences Data and its XML but I didn't find a way to translate that value to dates I can test against the events dates on the calendar.
So, is there a way to expand the recurrences of an event in the ItemAdding event receiver of a calendar?

Hi,
Per my understanding, you might want to check if there any overlapped recurring events in Event Receiver.
You can build the query with <DateRangesOverlap> to return the recurring events with Server Object Model.
A code demo in the thread below about how to get recurring events from Calendar for your reference:
https://social.technet.microsoft.com/Forums/en-US/99c3ded6-a8cb-4509-9a74-e93e445d78c7/how-does-calender-list-daterangesoverlap-todaymonthyear-and-week-exactly-work?forum=sharepointdevelopmentprevious
Thanks
Patrick Liang
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected]

Similar Messages

  • How can I expand the gutters in a document created with a Pages brochure template?

    How can  I expand the gutters/ space between panels on a document created with a Pages brochure template?

    You haven't said which.
    Each panel is usually just a locked object, unlock them and resize the boxes.
    Peter

  • How can I expand the source panel on the Import dialog window (mac LR3.3)?

    Hello,
    How can I expand the source panel to the right under the Import dialog window?
    I'm unable to drag the seperation line to the right and therefor unable to view folder names when in lower hirarchy...
    thanks you
    shlomit

    Shlomit Heymann wrote:
    shouldn't there be at least a scroling bar from left to right? How am I suppose to view my sub folders names?
    To a lesser extent, the same problems exists on all panels, whether they be in import window or elsewhere. Just look at the Folder panel in Library to see how much space is wasted in offsetting the subfolders. When this was pointed out to the relevant folk the reply came back that it was by design. Bad design, but we're pi...g into a head wind trying to get it changed.

  • I cannot load my google calendar, how can i decrypt the connection in order to have access?

    The information about this website says that the page has been encrypted because there is no authorized owner. I need access to my google calendar from work.
    How can i decrypt the connection? Is there other way to fix the problem?

    Restart holding down the CMD+R keys, launch Disk Utility and erase the HD, quit DU, and restore the OS. On first boot, use the Setup Assistant to do the migration. Details in Pondini's Setup New Mac guide.

  • How can I expand the stage (in one direction) on rollover? Or click?

    Hello,
    I'm looking to create an expanding/collapsing HTML5 banner using Edge Animate.
    For example, say I start with a 728x90 banner. How can I make the stage expand (from the bottom edge) to 728x270?
    At the moment I'm looking to expand on rollover then collapse back to original stage size on rollout - but in the future I know I'll want the same functionality using a button.
    All help is appreciated, thank you!

    I am on the go for the day but here is a quick routine, using the toggle() method.
    In your case you can't collapse the etage to 0, otherwise you have no way of getting to the second click.
    In my exmple, click anywhere on the stage, it collapses to the minHeight value of 15.
    Click it again and it restores to the predefined height of the stage.
    var minHeight = 15;
    var myStageHeight = sym.$("Stage").css("height");
    sym.$("Stage").toggle(function(){                    // run on first click of Stage
        sym.$("Stage").animate({height: minHeight}, 500 );
    }, function() {                                                   // run the second click of Stage
        sym.$("Stage").animate({height: myStageHeight}, 500 );
    If you are going to apply to an element, say a button, then its going to require you to move (flow) the button to the collapsed position.
    I'll play with that notion later, when I get back.
    Try the above
    hth
    Darrell

  • How can I control the order of iDVD menu items using the Arrow keys?

    I have a submenu screen containing 10 selectable buttons plus the Return Arrow button.  I have ordered all the slideshows in the correct order in the DVD map.  However, when I run the program, the arrow keys jump the selection focus in an apparently random sequence.  How can I control the order of the selection focus?
    I'm using iDVD v 7.1.2
    TIA.
    Ron

    Hi
    There is one thing You might miss in iDVD - So do I - the ability to re-arrange in the DVD map (block diagram)
    The order things will be pplayed or addrssed is same as the order each item is introduced into iDVD.
    To my knowledge ther is no way around this.
    Yours Bengt W

  • How can i use the subitem in SAP PR Item ( like 1,1.1,1.2,1.3,2,2.1,2.2,2.3

    Dear Experts,
           how can I use the subitem in SAP purchase requisition  Item ( like 1,1.1,1.2,1.3,2,2.1,2.2,2.3,3,3.1,3.2,3.3,4,4.1,4.2,4.3,5,5.1...)?
    Could you please tell me how can i configure Item Number Interval  in SAP purchase requisition  ?
    Best Regards,
    Merry

    The purchase requisition item number is a numeric, it can not contain anything except digits.

  • How can I open the browser on clicking a item in my JMenu

    How can I open the IE with a webpage on clicking a item in my "Help" context menu in my application.
    *. I have a Help menu with different help topics
    *. In one of the item of the menu I want to provide a URL link which should open in the Default browser (IE/ Mozilla)
    Any solution would be appreciated.
    Thanks

    try these:
    http://forum.java.sun.com/thread.jspa?forumID=57&threadID=718184
    http://www.croftsoft.com/library/tutorials/browser/
    Message was edited by:
    dberansky

  • How can I expand the storage on my iPad Air 8GB ?

    What are some ways I can expand the storage on my i Pad Air that has 8GB ?

    There are some wireless external hard drives that can be used with the iPad.
    Best iPad External Hard Drive Storage Options
    http://www.unlocktips.com/2012/11/best-ipad-mini-external-hard-drive-memory-stor age-options/
    iPad Storage Solutions
    http://www.ipadstoragesolutions.com/iPadWirelessStorage.php
    SanDisk Connect Wireless Media Drive
    http://www.sandisk.com/products/wireless/media-drive/
    SanDisk Wireless Flash Drive
    http://www.sandisk.com/products/wireless/flash-drive/
    WD My Cloud
    http://www.wdc.com/en/products/products.aspx?id=1140
    Another option:
    Expand your iPad's storage capacity with HyperDrive
    http://www.macworld.com/article/1153935/hyperdrive.html
    On the road with a camera, an iPad, and a Hyperdrive
    http://www.macworld.com/article/1160231/ipadhyperdrive.html
     Cheers, Tom

  • How can we change the properties of a seeded item in OAF !!!

    Hi All Gurus!
    I have a seeded item (Button 'Apply') on an Add attachement page provided by Oracle in Self Service Web Module. Oracle documentation says this:
    If you want changes to the Attachments table or page to commit automatically, without requiring a user to select Apply in the base page, you can turn on "auto-commit" by setting the Automatic Save property to True for the attachmentLink, attachmentTable, or attachmentImage item.With "auto-commit" turned on, each action ("Add", "Update", "Detach") performed by the user in the Attachments table or page is automatically committed.
    Q1) How we can see the properties of the seeded items?
    Q2) How we can turn on the personalization pencil button of an item that is disabled by Oracle development team?
    Please let me know how we can achieve this through self-service personalization. Any light on this.
    Thanks in advance!
    John
    Message was edited by:
    jtom

    You donot need to do anything on the Add Attachment page. The autoCommit feature is exposed as a property on the Attachment bean. You need to extend the controller in the base page where the attachment Image, Link is present and get a handle to the attachmentBean and call setAutoCommit(true) which will enable automatic saving.Use personalizations to modify the controller class property on the base page. You can later choose to remove the Save button on base page using personalization.

  • HT201272 Lost 111 songs, not found on my hard drive/computer anywhere. How can I recover the songs from previously purchased items? I get amn "i" in circle that says can't locate song, and when I try, it goes nowhere. How do I find the songs previously pu

    I've been trying to locate my lost song files on my computer and in my iTunes purchased library. However, when I try to go through itunes purchased to redownload prevously purchased songs, it says they have all been downloaded to my computer. These are the songs that show up with a small "i" in a circle in my library. I click to "locate" but cannot find them anywhere. How can I find them and/or re-download these songs? 

    Tunes works through a database file which has a list of your tracks.  When you click on a track it looks up in the database which file it needs to play, then plays the file.  If something breaks this link then you get !  The two main ways to get ! are to move a file from where iTunes expects it to be, or to delete it altogether.  I don't know which has happened in your case.  You can try using Spotlight to find a file for the one referred to in a broken link.  If the files have been moved then they need to be moved back.  If they were deleted completely you will have to restore them from a backup or download them again from the iTunes Store and rebuild your library.

  • How can I add the expiration date at line item level

    My User is selling voucher. The voucher is sell at line item. eg GV$5, GV$10,etc
    Each voucher line item sold need to be entered with a EXPIRATION date of that voucher.
    Maybe 3 months from issue, maybe 6months/1 year from issue.
    How can I add this to the sales order line item level?
    Which field can I used and how to configure?

    Hi Colin ,
       The question is not very clear , but i assume that you are asking about the  self expiry date of the particular material ,
    1. The setting you can do by activating  shelf life data  in material master :Plant data/stor1
    2.  its better to have a batch managed material for that you can sort the material acording the self expiry date.
    3. Once you maintain self expiry date system by default pick  the material at the time of  delivery
    Note-Shelf life expiry it will give the life of the material from the day of manfacture,remaining shelf life also will  give .
    Hope it is helpful
    Best regards
    Venkat

  • How can i make the valueChangeListener works for all item under foreach?

    Hi,
    My jspx file have the following content:
    <af:forEach items="#{pageFlowScope.directiveStep.paraItems}"
                                                       var="item">
                                              <af:panelLabelAndMessage label="#{item.name}"
                                                                       id="plam2"
                                                                       for="soc1">
                                                 <af:panelGroupLayout id="pgl2"
                                                                      layout="horizontal">
                                                    <af:selectOneChoice id="soc1"
                                                                        value="#{item.howValue}"
                                                                        required="true"
                                                                        valueChangeListener="#{pageFlowScope.directiveStep.howToSetDirectivePropValueChange}"
                                                                        autoSubmit="true">
                                                       <f:selectItem value="Set Value}"
                                                                      id="si1"/>
                                                      <f:selectItem value="Choose a Value"
                                                                      id="si1"/>
                                                    </af:selectOneChoice>
                                                    <af:switcher facetName="#{item.selectWay}"
                                                                 id="switch1">
                                                       <f:facet name="true">
                                                          <af:selectOneChoice id="soc2"
                                                                              required="true"
                                                                              value="#{item.value}">
                                                             <f:selectItems value="#{pageFlowScope.directiveStep.procVarItems}"
                                                                            id="si2"/>
                                                          </af:selectOneChoice>
                                                       </f:facet>
                                                       <f:facet name="false">
                                                          <af:inputText id="it1"
                                                                        required="true"
                                                                        value="#{item.value}"/>
                                                       </f:facet>
                                                    </af:switcher>
                                                 </af:panelGroupLayout>
                                              </af:panelLabelAndMessage>
                                           </af:forEach>
    The ui is like:
    label name     |    selectOneChoice : 'Set Value' or 'Choose a Value'   |        inputText (if it is 'Set Value') / selectOneChoice (if it is 'Choose a Value')
    The weird thing is when i click the selectOneChoice of the two or later row, the ValueChangeListener will be invoked, it indeed change the value  of 'selectWay' correctly. But the UI will not update. If later i do the same thing to the first row, all other rows in UI will update corrently.
    Any suggestions? Very appreciated for any repiles.
    Thanks.

    Hi,
    on problem I spot is that all your components created by the forEach loop have the same ID value. I suggest you change the ID to e.g. id="soc_#{item.index}" for zhe select one choices. In addition, I don't see where you refresh components after the change
    Frank

  • How can I disable the "location" pop-ups when entering a new event in Calendar?

    When I add a new event in Calendar on my computer (Macbook using Yosemite) and then start to type an address or place in the location field, a pop-up list of locations appears from which I can choose.  If I choose one of the listed locations, then a map appears (which I don't want) along with travel times, etc.  I want to disable this feature.  Seems the only way I can ignore this pop-up list is to hit the tab button as soon as I have finished typing.  This doesn't occur on my iphone or iPad (I can just click "done" and ignore the list).  I really wish I could disable this feature!

    The registration screen should only appear after every 5 launches.
    If you register FCE it will no longer appear assuming it is on the same computer.

  • In pse9 how can I expand the tag list?

    Some time ago the tag list in pse 9 collapsed, and I don't know how to expand it. 
    All help will be appreciated.
    lascar

    Hi,
    Try this, click on the little down triangle next to the tag plus sign and select expand all tags.
    Good luck
    Brian

Maybe you are looking for