SPServices with FullCalendar

I want to create a calendar view where I can apply custom filters(dynamic)-
1) People picker
2) Calendar control
3)Dropdown
I could not apply the meta/key filters(List Settings->Metadata Navigation Settings) on the default calendar Daily/Weekly/Monthly view that is present in the Calendar list.
So I opted to go with SPServices and FullCalendar by following this blog:
http://joshmccarty.com/2011/11/sharepoint-jquery-and-fullcalendar%E2%80%94now-with-spservices/
I am able to fetch the data from the SPServices GetListItems function but don't know why it is not getting displayed on the Calendar that is created via following the blog steps.
I don't know where I am going wrong. Please help me with this.
Thanks Ankit

Try below:
http://social.technet.microsoft.com/wiki/contents/articles/19755.sharepoint-customize-calendar-events-using-javascript.aspx
http://www.aasoftech.com/products/lists/how%20to%20filter%20sharepoint%20calendar%20dynamically/allitems.aspx
http://spservices.codeplex.com/discussions/258846

Similar Messages

  • Object expected error in Javascript

    Hi,
    I am facing Object expected error . Here is my code
    window.onload = function() {
      window.setTimeout(readyCall, 1000);
    function readyCall(){
      var externalParties = [];
      $().SPServices({
        operation: "GetListItems",
        listName: "Test",
        CAMLViewFields: "<ViewFields><FieldRef Name='Name'/></ViewFields>",
        async: false,
        completefunc: function (xData, Status) {
          $(xData.responseXML).SPFilterNode("z:row").each(function() {
            externalParties.push($(this).attr("ows_Name"));
      $("input[id$='FormControl0_V1_I1_T1']").autocomplete({
        source: externalParties,
        minLength: 3
    }</script>

    Hi,
    According to your post, my understanding is that you wanted to use SPServices with jQueryUI’s Autocomplete Function on InfoPath Forms in SharePoint.
    You can use the code below:
    <script type="text/javascript" src="/SiteAssets/jquery-1.10.2.js"></script>
    <script type="text/javascript" src="/SiteAssets/jquery.SPServices-2014.01.min.js"></script>
    <script type="text/javascript" src="/SiteAssets/jquery-ui-1.10.4.min.js"></script>
    <script type="text/javascript">
    window.onload = function() {
    window.setTimeout(readyCall, 1000);
    function readyCall(){
    var externalParties = [];
    $().SPServices({
    operation: "GetListItems",
    async: false,
    listName: "Announcements",
    CAMLViewFields: "<ViewFields><FieldRef Name='Title' /></ViewFields>",
    completefunc: function (xData, Status) {
    $(xData.responseXML).SPFilterNode("z:row").each(function() {
    externalParties.push($(this).attr("ows_Title"));
    $("input[id$='FormControl0_V1_I1_T1']").autocomplete({
    source: externalParties,
    minLength: 1
    </script>
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • AutoComplete in Infopath Dropdown list

    Hi Techies,
    I want to implement autocomplete feature in Infopath form drop down. The source of the contents are from sharepoint list. Can you please let me know if it can be achieved through OOTB features?
    Please remember to click 'Mark as Answer' on the answer if it helps you

    If i understand you, autocomplete is a feature available with Managed metadata. If you want this kind of functionality, it is not available in the Infopath form OOTB. But when you highlight the dropdown, you can go to the first character of the options by
    hitting any alphabet. I hope that answers your question.
    Below is the link to do this using Jscript:
    http://sympmarc.com/2011/08/24/using-spservices-with-jqueryuis-autocomplete-function-on-infopath-forms-in-sharepoint/
    Regards, Kapil ***Please mark answer as Helpful or Answered after consideration***

  • Using jquery FullCalendar in APEX with dynamic query

    Hi,
    I am trying to implement jquery FullCalendar in APEX and came across thie following post but I am unable to get the events to work. I would really like to see it working with an Application_Process:
    How we can highlight events in Calendar
    Currently I created an Application Process that simply calls a DB table and convert it into json format.
    DECLARE
    v_sql varchar2(400);
    BEGIN
    v_sql := 'SELECT * FROM CAL_FEED';
    apex_util.json_from_sql(v_sql);
    END;
    But I am unsure how to add the events via an Application_Process.
    I have tried the following in numerious ways (events:function, url feed, etc). It does work if I just do an array but would like it as a dynamic query.
    $('#calendar').fullCalendar({
    events: "http://server:8080/apex/f?p=101:53:4352610578859707:APPLICATION_PROCESS=IAT_TEST_CAL_FEED"
    Thank you in advance,
    Jimmy

    Hi,
    I was able to get the events into Fullcalendar with an Application Process but not sure if this would scale well with alot of events.
    Would someone be able to tell me if there is a better way?
    I am currently using an On Demand Application Process called IAT_TEST_FEED:_
    DECLARE
    lv_cal_list VARCHAR2(16000);
    lv_return_str VARCHAR2(32000);
    BEGIN
    FOR i IN (SELECT "CAL_FEED"."ID" as ID,
    "CAL_FEED"."title" as caltitle,
    "CAL_FEED"."start" as calstart,
    "CAL_FEED"."end" as calend
    FROM "CAL_FEED")
    LOOP
    lv_cal_list := lv_cal_list || '{"id":' || CHR(39) || i.ID || CHR(39) || ',' ||
    ' "title":' || CHR(39) || i.caltitle || CHR(39) || ',' ||
    ' "start":' || CHR(39) || i.calstart || CHR(39) || ',' ||
    ' "end":' || CHR(39) || i.calend || CHR(39) || '},';
    END LOOP;
    lv_return_str := '[' || RTRIM(lv_cal_list,',') || ']';
    htp.prn(lv_return_str);
    EXCEPTION WHEN OTHERS THEN
    htp.prn('error');
    END;
    In a HTML Region on a page within the Region Header:_
    <link rel="stylesheet" type="text/css" href="#WORKSPACE_IMAGES#fullcalendar.css" />
    <script type="text/javascript" src="#WORKSPACE_IMAGES#ui.core.js"></script>
    <script type="text/javascript" src="#WORKSPACE_IMAGES#ui.draggable.js"></script>
    <script type="text/javascript" src="#WORKSPACE_IMAGES#ui.resizable.js"></script>
    <script type="text/javascript" src="#WORKSPACE_IMAGES#jquery.js"></script>
    <script type="text/javascript" src="#WORKSPACE_IMAGES#fullcalendar.js"></script>
    <script type="text/javascript" src="#WORKSPACE_IMAGES#fullcalendar.min.js"></script>
    <script type='text/javascript'>
    $(document).ready(function() {
    $('#calendar').fullCalendar({
    events: function(start, end, callback) {
    $.ajax({
    type: "POST",
    url: "wwv_flow.show",
    dataType: "json",
    data: {
    p_flow_id:$('#pFlowId').val(),
    p_flow_step_id:$('#pFlowStepId').val(),
    p_instance:$('#pInstance').val(),
    p_request:"APPLICATION_PROCESS=IAT_TEST_FEED"
    success:function(calevents){
    $.each(calevents, function(i, calevent){
    $('#calendar').fullCalendar('renderEvent', calevent, true);
    </script>
    The line within the ajax call is basically where my concern would be
    $('#calendar').fullCalendar('renderEvent', calevent, true);
    Thank you,
    Jimmy

  • Using SPServices and Knockout JS in SharePoint 2013 Apps

    Hi All,
    This is possibly the stupid question but please bear with me...
    I would like to develop App for SharePoint 2013 (which will be published to Microsoft SharePoint Store) which can be free and paid . Can I use javascript / client libraries like SPServices from CodePlex , JQuery, Knockout JS and Angularjs in my Apps
    Thanks in advance...

    Yes, you can use any client side technology as long it can call SharePoint API and parse result.
    Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply.

  • Schedule SharePoint Server 2013 discoveries along with SharePoint Foundation 2013 discoveries

    Hi
    So I'm trying to add the SharePoint Server discoveries in SCOM 2012 - pasted the code straight of the MS guide into the config file:
        <Workflow Id="MOSSInstallation.Discovery;WACInstallation.Discovery;SearchExpressInstallation.Discovery;SearchStandardInstallation.Discovery" MP="Microsoft.SharePoint.Server.2013.Discovery" Type="Discovery"
    Times="1" />
        <Workflow Id="SPService.Discovery" MP="Microsoft.SharePoint.Server.2013.Discovery" Type="Discovery" Times="4" />
        <Workflow Id="SPSharedService.Discovery" MP="Microsoft.SharePoint.Server.2013.Discovery" Type="Discovery" Times="4" />
        <Workflow Id="SPSharedService.Discovery.WAC" MP="Microsoft.SharePoint.Server.2013.Discovery" Type="Discovery" Times="4" />
    However when I run the "Configure" Task I get the following error: (NOTE - I discovered that the Dir "Monitoring Host Temporary Files 28803\2522979" does not even exist - )
    The Event Policy for
    the process started at 8:13:26 AM has detected errors in the output. The
    'StdErr' policy expression:
    .+
    matched the
    following output:
    Exception calling
    "GetDiscovery" with "1" argument(s): "An object of
    class ManagementPackDiscovery with ID fedca251-56d5-be00-d6af-9cae645d6f36 was
    not found."
    Failed to find
    workflows WSSInstallation.Discovery in Microsoft.SharePoint.Foundation.Library
    Command executed:
    "C:\Windows\system32\cmd.exe" /c powershell.exe -NoLogo -NoProfile
    -Noninteractive "$ep = get-executionpolicy; if ($ep -gt 'RemoteSigned')
    {set-executionpolicy remotesigned} & '"E:\Program Files\System Center
    2012\Operations Manager\Server\Health Service State\Monitoring Host Temporary
    Files 28803\2522979\AdminTask.ps1"'
    'Microsoft.SharePoint.Foundation.Library.mp.config'"
    Working Directory:
    C:\Program Files\System Center Management Packs\
    One or more
    workflows were affected by this.
    Workflow name:
    Microsoft.SharePoint.ConfigSharePoint
    Instance name:
    Microsoft SharePoint Farm Group
    Instance ID:
    {6CB0A80D-D833-26EA-13C1-0CA48A57F5E2}
    Management group:
    Error Code:
    -2130771918 (Unknown error (0x80ff0032)).
    If anyone has any ideas that would be great -
    J

    Hello Jon,
    Thank you for your question.
    We are currently looking into this issue and will give you an update as soon as possible.
    Thank you for your understanding and support.
    Victoria
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Victoria Xia
    TechNet Community Support

  • How to copy a page( webpart page) with its content using client side.

    How to copy a page(in my case  webpart page) with its content(it may contain webparts) using client code (i mean using SPservices or ECMA script).
    What i am planning is ,to give end user a page where it will contain text box to specify  name of page and a button with the help of  content editor webpart.
    where on click of button we need to write client side code such that it should create a new page from a existing page in a library with given name by user.
    Any suggestion would be helpful. For your information we can do it through UI with the help Site Actions / Manage Content and Structure.But i want to automate it using client side code.Server side code is restricted.
    or can we create a template of an existing page with content without the help of sharepoint designer.
    Thanks in advance
    with regards Ravichandra

    This is good example
    http://balajiindia.wordpress.com/2011/05/27/using-jquery-with-custom-web-services-in-sharepoint/
    Create web service
    http://balajiindia.wordpress.com/2011/05/27/using-jquery-with-custom-web-services-in-sharepoint/. Create method "Create Page" http://www.learningsharepoint.com/2010/09/17/create-publishing-pages-sharepoint-2010-programmatically/
    Build your Java Script. You can use Content Editor Web Part if you want to avoid custom web part development http://www.codeproject.com/Articles/544538/JQuery-with-SharePoint
    Oleg

  • Workflow Manager Configuration Wizard is not working with USER ID

    Hello everyone,
       I
    have successfully installed Workflow Manager 1.0 (and its prerequisites) on my Server 2008 R2 SP1 machine that is hosting Sharepoint 2013.  I attempt to go into the Workflow Manager Configuration.  That comes up and asks me if I want to Create
    new farm with Default Settings, New Farm with custom settings, or existing farm.  I've tried both Default settings AND Custom settings.
                When
    the configuration wizard comes up, I attempt to fill out the necessary information.  It seems to connect to the SQL server without a problem.  I only run into an issue when setting the USER ID.  The program totally freezes up and force closes. 
                I
    have verified that the USERID is in the correct format and tried multiple different formats.  The problem is that the moment I move the cursor from the USERID field to ANY other field, the program force closes.  I'm not able to hit submit, I'm not
    able to change any other options.  The moment USERID is manipulated or the cursor LEAVES the USERID field, the program force closes.  It won't even allow me to put in a password before it force closes.
                 Customer
    domain is running in Windows Server 2003 Enterprise Edittion SP2.
    Any
    ideas?
    I have installed also cumulative update to avoid crash but still I am getting force to close workflow wizard. I have used users which are already added in administrator groups.
    We are using 3 tier architecture for Sharepoint 2013.
    Also we have made Alias of Domain controller. Eg:-Alias is "labs" for domain "xyz.ab.com".
    And we are using labs\spadmin and labs\spservice for Workflow Manager Configuration 1.0
    Is there any issue with Domain Alias "labs" as Workflow gives error  "Specified RunAs account is invalid" or "Force close the application".
          I
    have copied the errors from event viewer below:
    APPLICATION
    ERROR
    Faulting
    application name: Microsoft.Workflow.Deployment.ConfigWizard.exe, version: 1.0.20922.0, time stamp: 0x505e1b30
    Faulting module name: KERNELBASE.dll, version: 6.1.7601.17965,
    time stamp: 0x506dcae6
    Exception code: 0xe0434352
    Fault offset: 0x000000000000bccd
    Faulting process id: 0x17f8
    Faulting application start time: 0x01cddee198ece72e
    Faulting application path: C:\Program Files\Workflow Manager\1.0\Microsoft.Workflow.Deployment.ConfigWizard.exe
    Faulting module path: C:\Windows\system32\KERNELBASE.dll
    Report Id: 22ab8b69-4ad5-11e2-af8f-005056965915
    .NET
    Runtime Error
    Application: Microsoft.Workflow.Deployment.ConfigWizard.exe
    Framework Version: v4.0.30319
    Description: The process was terminated due to an unhandled exception.
    Exception Info: System.Runtime.InteropServices.COMException
    Stack:
       at System.DirectoryServices.AccountManagement.PrincipalContext.DoLDAPDirectoryInitNoContainer()
       at System.DirectoryServices.AccountManagement.PrincipalContext.DoDomainInit()
       at System.DirectoryServices.AccountManagement.PrincipalContext.Initialize()
       at System.DirectoryServices.AccountManagement.PrincipalContext.get_QueryCtx()
       at System.DirectoryServices.AccountManagement.Principal.FindByIdentityWithTypeHelper(System.DirectoryServices.AccountManagement.PrincipalContext, System.Type, System.Nullable`1<System.DirectoryServices.AccountManagement.IdentityType>, System.String,
    System.DateTime)
       at System.DirectoryServices.AccountManagement.UserPrincipal.FindByIdentity(System.DirectoryServices.AccountManagement.PrincipalContext, System.String)
       at Microsoft.ServiceBus.Commands.Common.SecurityHelper.IsUserValid(System.DirectoryServices.AccountManagement.PrincipalContext, System.String)
       at Microsoft.ServiceBus.Commands.Common.SecurityHelper.IsDomainUserValid(System.String, System.String)
       at Microsoft.ServiceBus.Commands.Common.ValidateUserAttribute.Validate(System.String)
       at Microsoft.Deployment.ConfigWizard.UICommon.AccountDetailsViewModel.ValidateDomainUser()
       at Microsoft.Deployment.ConfigWizard.UICommon.AccountDetailsControl.UserIdTextBox_LostFocus(System.Object, System.Windows.RoutedEventArgs)
       at System.Windows.EventRoute.InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean)
       at System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject, System.Windows.RoutedEventArgs)
       at System.Windows.Controls.Primitives.TextBoxBase.OnLostFocus(System.Windows.RoutedEventArgs)
       at System.Windows.UIElement.IsFocused_Changed(System.Windows.DependencyObject, System.Windows.DependencyPropertyChangedEventArgs)
       at System.Windows.DependencyObject.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs)
       at System.Windows.FrameworkElement.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs)
       at System.Windows.Controls.TextBox.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs)
       at System.Windows.DependencyObject.NotifyPropertyChange(System.Windows.DependencyPropertyChangedEventArgs)
       at System.Windows.DependencyObject.UpdateEffectiveValue(System.Windows.EntryIndex, System.Windows.DependencyProperty, System.Windows.PropertyMetadata, System.Windows.EffectiveValueEntry, System.Windows.EffectiveValueEntry ByRef, Boolean, Boolean,
    System.Windows.OperationType)
       at System.Windows.DependencyObject.ClearValueCommon(System.Windows.EntryIndex, System.Windows.DependencyProperty, System.Windows.PropertyMetadata)
       at System.Windows.DependencyObject.ClearValue(System.Windows.DependencyPropertyKey)
       at System.Windows.Input.FocusManager.OnFocusedElementChanged(System.Windows.DependencyObject, System.Windows.DependencyPropertyChangedEventArgs)
       at System.Windows.DependencyObject.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs)
       at System.Windows.FrameworkElement.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs)
       at System.Windows.DependencyObject.NotifyPropertyChange(System.Windows.DependencyPropertyChangedEventArgs)
       at System.Windows.DependencyObject.UpdateEffectiveValue(System.Windows.EntryIndex, System.Windows.DependencyProperty, System.Windows.PropertyMetadata, System.Windows.EffectiveValueEntry, System.Windows.EffectiveValueEntry ByRef, Boolean, Boolean,
    System.Windows.OperationType)
       at System.Windows.DependencyObject.SetValueCommon(System.Windows.DependencyProperty, System.Object, System.Windows.PropertyMetadata, Boolean, Boolean, System.Windows.OperationType, Boolean)
       at System.Windows.DependencyObject.SetValue(System.Windows.DependencyProperty, System.Object)
       at System.Windows.FrameworkElement.OnGotKeyboardFocus(System.Object, System.Windows.Input.KeyboardFocusChangedEventArgs)
       at System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate, System.Object)
       at System.Windows.EventRoute.InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean)
       at System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject, System.Windows.RoutedEventArgs)
       at System.Windows.UIElement.RaiseTrustedEvent(System.Windows.RoutedEventArgs)
       at System.Windows.Input.InputManager.ProcessStagingArea()
       at System.Windows.Input.KeyboardDevice.ChangeFocus(System.Windows.DependencyObject, Int32)
       at System.Windows.Input.KeyboardDevice.Focus(System.Windows.DependencyObject, Boolean, Boolean, Boolean)
       at System.Windows.Input.KeyboardDevice.Focus(System.Windows.IInputElement)
       at System.Windows.UIElement.Focus()
       at System.Windows.Input.KeyboardNavigation.Navigate(System.Windows.DependencyObject, System.Windows.Input.TraversalRequest, System.Windows.Input.ModifierKeys, System.Windows.DependencyObject)
       at System.Windows.Input.KeyboardNavigation.Navigate(System.Windows.DependencyObject, System.Windows.Input.Key, System.Windows.Input.ModifierKeys)
       at System.Windows.Input.KeyboardNavigation.ProcessInput(System.Windows.Input.InputEventArgs)
       at System.Windows.Input.InputManager.RaiseProcessInputEventHandlers(System.Windows.Input.ProcessInputEventHandler, System.Windows.Input.ProcessInputEventArgs)
       at System.Windows.Input.InputManager.ProcessStagingArea()
       at System.Windows.Input.InputManager.ProcessInput(System.Windows.Input.InputEventArgs)
       at System.Windows.Interop.HwndKeyboardInputProvider.ReportInput(IntPtr, System.Windows.Input.InputMode, Int32, System.Windows.Input.RawKeyboardActions, Int32, Boolean, Boolean, Int32)
       at System.Windows.Interop.HwndKeyboardInputProvider.ProcessKeyAction(System.Windows.Interop.MSG ByRef, Boolean ByRef)
       at System.Windows.Interop.HwndSource.CriticalTranslateAccelerator(System.Windows.Interop.MSG ByRef, System.Windows.Input.ModifierKeys)
       at System.Windows.Interop.HwndSource.OnPreprocessMessage(System.Object)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
       at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
       at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
       at System.Windows.Threading.Dispatcher.Invoke(System.Windows.Threading.DispatcherPriority, System.Delegate, System.Object)
       at System.Windows.Interop.HwndSource.OnPreprocessMessageThunk(System.Windows.Interop.MSG ByRef, Boolean ByRef)
       at System.Windows.Interop.ComponentDispatcherThread.RaiseThreadMessage(System.Windows.Interop.MSG ByRef)
       at System.Windows.Threading.Dispatcher.TranslateAndDispatchMessage(System.Windows.Interop.MSG ByRef)
       at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)
       at System.Windows.Application.RunInternal(System.Windows.Window)
       at System.Windows.Application.Run()
       at Microsoft.Workflow.Deployment.ConfigWizard.App.Main()
    Thanks
    Hansraj Rathva

    Check to ensure that the user you're running the wizard as has access to the Users and Computers folders in Active Directory. I had trouble with the "specified RunAs account is invalid" message, and when I granted the AD rights, I was able to proceed.
    The issue would be that the user executing the wizard isn't able to query AD to look up the specified user. The RunAs account you're specifying is probably fine.

  • Edit single item in Recurrence event through CSOM/javascript + SPService Library

    Hi,
      I've a requirement that I've custom action ribbon button. In a calendar list, there is a Person/Group field named "Attendees". I want to add current user to this field when the user click the ribbon button. I've implemented but the problem
    is I cant update the single item of recurrence event. Becuase recurrent event ID are different and not able to get the item. Using the below link, I got all the recurrence items, but i want to update the field of specific single item in recurrence item.
    https://www.nothingbutsharepoint.com/sites/eusp/Pages/Use-SPServices-to-Get-Recurring-Events-as-Distinct-Items.aspx
    Is it possible to edit the single item of recurrence event. If yes, please let me know. And one more, I don't want to implement this approach with workflow. Other than workflow, I want to implement this functionality. Please suggest. 
    Balaji -Please click mark as answer if my reply solves your problem.

    Hi  ,
    According to your description, my understanding is that you want to edit the single item of recurrence event using javascript.
    For your issue, you can refer to the steps as below:
    1. Create a list ribbon.
    2.When ribbon is clicked, get the selected event.
    3.If  the selected event is recurrence event, go to 4.If not, go to 6.
    4.If the selected event is modified recurrence event, update its "Attendees" column. If not, go to 5.
    5.Create a new event,set its MasterSeriesItemID to the ID of the selected recurrence event,set EventType to 3, set   its UID to the
    UID  of the selected recurrence event, set its  fRecurrence to 1, set RecurrenceID to the EventDate of the selected recurrence event and so on.
    6.Update its "Attendees" column.
    Reference:
    http://blogs.technet.com/b/sharepointdevelopersupport/archive/2013/03/25/how-to-programmatically-delete-a-single-instance-of-a-recurring-event-in-a-sharepoint-calendar.aspx
    http://social.technet.microsoft.com/Forums/office/en-US/f3b2ed46-d748-4aed-8b1c-765306ef3be0/how-update-fields-on-recursive-calendar-items?forum=sharepointdevelopmentlegacy
    http://stackoverflow.com/questions/2811756/update-item-has-recurrence-in-sharepoint
    http://aspnetguru.wordpress.com/2007/06/01/understanding-the-sharepoint-calendar-and-how-to-export-it-to-ical-format/
    http://sharepointtechie.blogspot.com/2010/08/deleting-individual-events-from.html
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Syntax Error with JSON.Parse method to parse SharePoint List Items

    Hi All,
    I want to get SharePoint List data and bind that retrived data to the JQuery Grid Control.
    For this I used SPServices to get the SharePoint List data in SOAP Envelope. Now I need to parse the soap envelope and store the retrieved items in array to pass it to the Grid Control.
    While using the JSON.Parse(resporseText) method, Iam consistenly getting an Syntax Error!
    Could anyone help me with this ?
    Please find the SOAP Envelope I received from SP List as below:
    "<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><GetListItemsResponse xmlns="http://schemas.microsoft.com/sharepoint/soap/"><GetListItemsResult><listitems xmlns:s='uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882'
    xmlns:dt='uuid:C2F41010-65B3-11d1-A29F-00AA00C14882'
    xmlns:rs='urn:schemas-microsoft-com:rowset'
    xmlns:z='#RowsetSchema'>
    <rs:data ItemCount="2">
    <z:row ows_OBNumber='112211.000000000' ows_Project_x0020_Name='Project 1' ows_MetaInfo='11;#' ows__ModerationStatus='0' ows__Level='1' ows_Title='Project 1' ows_ID='11' ows_UniqueId='11;#{FBBCBCF9-666D-42F9-92D7-67188C51BC9B}' ows_owshiddenversion='1' ows_FSObjType='11;#0' ows_Created='2015-01-12 10:25:06' ows_PermMask='0x7fffffffffffffff' ows_Modified='2015-01-12 10:25:06' ows_FileRef='11;#sites/Lists/Projects/11_.000' />
    <z:row ows_OBNumber='1122343.00000000' ows_Project_x0020_Name='Project 2 ' ows_MetaInfo='12;#' ows__ModerationStatus='0' ows__Level='1' ows_Title='Project 2' ows_ID='12' ows_UniqueId='12;#{0D772B76-68E4-4769-B6FF-6A269F9C7ABD}' ows_owshiddenversion='1' ows_FSObjType='12;#0' ows_Created='2015-01-12 10:33:48' ows_PermMask='0x7fffffffffffffff' ows_Modified='2015-01-12 10:33:48' ows_FileRef='12;#sites/Lists/Projects/12_.000' />
    </rs:data>
    </listitems></GetListItemsResult></GetListItemsResponse></soap:Body></soap:Envelope>"
    Any help on this will be greatly appreciated.
    Thanks In Advance.!

    Hi,
    According to your description, there is an issue when parsing result from the data retrieved using SPServices.
    By default, SPServices returns data as XML format, however, the JSON.parse() method “Throws a SyntaxError exception if the string to parse is not valid JSON”:
    https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/JSON/parse
    To extract the data needed from the response, you can either take the demo below for as a reference:
    http://spservices.codeplex.com/wikipage?title=GetListItems
    Or use the jQuery.parseXML() function:
    http://api.jquery.com/jquery.parsexml/
    Best regards
    Patrick Liang
    TechNet Community Support

  • Integrate Google Calendar API with Business Catalyst

    Hi there,
    I don't think this can be done but thought I'd ask here before throwing in the towel.
    I have a client website that uses an embedded Google Calendar. Uses iframe, works great, no issues.
    The client (a school) would like to display a list of upcoming events for the year (term dates, holidays, important events, etc), using info from the Google Calendar (which we input in the Google Apps end).
    I've looked at the "Agenda View" (Change calendar views - Calendar Help) but it is too inflexible to accomplish what I'm wanting. I've also tried FullCalendar (FullCalendar - Full-sized Calendar jQuery Plugin) and this also insufficient for what we're trying to do. I've also looked into is parsing the Google Calendar RSS feed as a list of events, but I believe I need access to server-side code for this.
    I'm sure the Google Calendar API will enable me to do everything I want but my understanding is that it relies on being able to access server-side code which of course isn't possible with BC.
    Has anyone found any way to integrate the Google Calendar API, or have any workarounds, suggestions, etc, that I haven't already covered?
    Thanks in advance for your time and help.
    Luke

    Credit goes to Mario for this post here: Display an external RSS feed in BC? which ended up providing the solution to my problem.
    You can display public Google Calendar info via RSS by going to Settings > Shared: Edit Settings (under the Sharing column) > Calendar Details tab > Calendar Address (click on the XML icon)
    This will provide a feed address which can then be displayed using zRSSFeed as per Mario's post.

  • Need to bind people picker with group members in AD in office 365 using Client object model in javascript

    Hi,
    I need to create a form in SharePoint designer so that it can display and save selected users. Users should be selected for particular group. Group and users are in AD. Form would look like below:-
    Group1                            People picker with users of Group1 only
    Group2                            
    People picker with users of Group2 only
    Save button to save this mapping in some List for selected users and groups
    I need to do this using CSOM/Javascript in office 365.
    Thanks a lot!
    Arvind
    arvind chamoli

    Hi Venu,
    check those options
    http://www.thesharepointblog.net/Lists/Posts/Post.aspx?List=815f255a-d0ef-4258-be2a-28487dc9975c&ID=135
    http://paultavares.wordpress.com/2012/04/28/sharepoint-ui-widgets-upload-and-pickusers/
    http://spservices.codeplex.com/wikipage?title=Users%20and%20Groups&referringTitle=%24%28%29.SPServices
    http://spservices.codeplex.com/wikipage?title=UserProfileService&referringTitle=%24%28%29.SPServices
    http://blog.vgrem.com/2013/03/27/different-ways-of-extending-people-editor-in-the-client-side-sharepoint-2010/
    this one for 2013 but worth that u check it
    http://msdn.microsoft.com/en-us/library/office/jj713593(v=office.14).aspx
    Kind Regards, John Naguib Technical Consultant/Architect MCITP, MCPD, MCTS, MCT, TOGAF 9 Foundation. Please remember to mark the reply as answer if it helps.

  • Access Denied for User with Contribute Rights to a SP list

    I have two users that I have given Contribute Rights on a SharePoint 2010 site - the SP list in question is inheriting permissions from the Parent site, as well as other lists in the site. These two users can edit items in the all other lists on the
    site except for this one in question.
    It is only one list that they cannot view or edit list items. They can view the items in the list, but when they try to open an item in display or edit form, it gives the access denied.
    Other users on the site are NOT having these issues - with the same permissions.
    I researched this problem and have tried various solutions with no luck. I have checked to see that there are NO item level permissions set up; I have deleted the user from the site collection, then added them back, with no luck.
    I am at a loss on what to do.
    Please help

    Timestamp               Process                                
     TID    Area                           Category                     
     EventID Level      Message  Correlation
    03/11/2014 10:41:06.17  OWSTIMER.EXE (0x01E4)                    0x0AD0 SharePoint Server Search       Administration               
     dmg4 Verbose  Groups for process identity 'DOMAIN\spadmin': 'DOMAIN\Domain Users', 'Everyone', 'SHAREPOINT\WSS_ADMIN_WPG', 'SHAREPOINT\WSS_RESTRICTED_WPG_V4', 'SHAREPOINT\WSS_WPG', 'BUILTIN\IIS_IUSRS', 'BUILTIN\Performance Monitor Users', 'BUILTIN\Users',
    'BUILTIN\Administrators', 'NT AUTHORITY\SERVICE', 'CONSOLE LOGON', 'NT AUTHORITY\Authenticated Users', 'NT AUTHORITY\This Organization', 'NT SERVICE\SPTimerV4', 'LOCAL', 'DOMAIN\Group Policy Creator Owners', 'DOMAIN\Department_Schedules_ReadWrite', 'DOMAIN\Sage50_ReadWrite',
    'DOMAIN\GrainCleaners_ReadWrite', 'DOMAIN\Domain Admins', 'DOMAIN\IT Department', 'DOMAIN\RDP_Users', 'DOMAIN\Engineering_ReadWrite', 'DOMAIN\Inventory_ReadWrite', 'DOMAIN\Schema Admins', 'DOMAIN\FabTrol', 'DOMAIN\Enterprise Admins', 'DOMAIN\Software', 'DOMAIN\Denied
    RODC Password Replication Group',  17e8c7b4-fa35-4040-ac83-fe55f721590d
    03/11/2014 10:41:06.17  OWSTIMER.EXE (0x01E4)                    0x0AD0 SharePoint Server Search       Administration               
     dmg1 High     Group WSS_WPG... 17e8c7b4-fa35-4040-ac83-fe55f721590d
    03/11/2014 10:41:06.17  OWSTIMER.EXE (0x01E4)                    0x0AD0 SharePoint Server Search       Administration               
     dmg2 High     Group WSS_WPG: DOMAIN\spadmin 17e8c7b4-fa35-4040-ac83-fe55f721590d
    03/11/2014 10:41:06.17  OWSTIMER.EXE (0x01E4)                    0x0AD0 SharePoint Server Search       Administration               
     dmg2 High     Group WSS_WPG: NT AUTHORITY\LOCAL SERVICE 17e8c7b4-fa35-4040-ac83-fe55f721590d
    03/11/2014 10:41:06.17  OWSTIMER.EXE (0x01E4)                    0x0AD0 SharePoint Server Search       Administration               
     dmg2 High     Group WSS_WPG: DOMAIN\spservice 17e8c7b4-fa35-4040-ac83-fe55f721590d
    03/11/2014 10:41:06.17  OWSTIMER.EXE (0x01E4)                    0x0AD0 SharePoint Server Search       Administration               
     dmg2 High     Group WSS_WPG: DOMAIN\SearchSvc 17e8c7b4-fa35-4040-ac83-fe55f721590d
    03/11/2014 10:41:06.17  OWSTIMER.EXE (0x01E4)                    0x0AD0 SharePoint Server Search       Administration               
     dmg2 High     Group WSS_WPG: DOMAIN\spContent 17e8c7b4-fa35-4040-ac83-fe55f721590d
    03/11/2014 10:41:06.17  OWSTIMER.EXE (0x01E4)                    0x0AD0 SharePoint Server Search       Administration               
     dmg2 High     Group WSS_WPG: DOMAIN\WebAnalProcessSvc 17e8c7b4-fa35-4040-ac83-fe55f721590d
    03/11/2014 10:41:06.17  OWSTIMER.EXE (0x01E4)                    0x0AD0 SharePoint Server Search       Administration               
     dmg2 High     Group WSS_WPG: DOMAIN\svcAppPoolSecure 17e8c7b4-fa35-4040-ac83-fe55f721590d
    03/11/2014 10:41:06.17  OWSTIMER.EXE (0x01E4)                    0x0AD0 SharePoint Server Search       Administration               
     dmg2 High     Group WSS_WPG: NT AUTHORITY\SYSTEM 17e8c7b4-fa35-4040-ac83-fe55f721590d
    03/11/2014 10:41:06.17  OWSTIMER.EXE (0x01E4)                    0x0AD0 SharePoint Server Search       Administration               
     dmg1 High     Group WSS_ADMIN_WPG... 17e8c7b4-fa35-4040-ac83-fe55f721590d
    03/11/2014 10:41:06.17  OWSTIMER.EXE (0x01E4)                    0x0AD0 SharePoint Server Search       Administration               
     dmg2 High     Group WSS_ADMIN_WPG: BUILTIN\Administrators 17e8c7b4-fa35-4040-ac83-fe55f721590d
    03/11/2014 10:41:06.17  OWSTIMER.EXE (0x01E4)                    0x0AD0 SharePoint Server Search       Administration               
     dmg2 High     Group WSS_ADMIN_WPG: DOMAIN\spadmin 17e8c7b4-fa35-4040-ac83-fe55f721590d
    03/11/2014 10:41:06.17  OWSTIMER.EXE (0x01E4)                    0x0AD0 SharePoint Server Search       Administration               
     dmg2 High     Group WSS_ADMIN_WPG: DOMAIN\rawtecadmin 17e8c7b4-fa35-4040-ac83-fe55f721590d
    03/11/2014 10:50:15.56  w3wp.exe (0x0098)                        0x19B8 SharePoint Foundation        
     Monitoring                     b4ly Medium   Leaving Monitored Scope (Request (GET:https://portal.emw.ca:443/ehs/Lists/InvestigationReports/DispForm.aspx?ID=40&Source=https%3A%2F%2Fportal%2Eemw%2Eca%2Fehs%2FLists%2FInvestigationReports%2FMyInvestigations%2Easpx&ContentTypeId=0x0100E352DB580E29424FB1C52A1D93E09345&IsDlg=1)).
    Execution Time=115.2334 0c90a46f-e4ea-46b5-a566-e7a9f404c0aa
    03/11/2014 10:50:15.66  w3wp.exe (0x0098)                        0x16CC SharePoint Foundation        
     Monitoring                     nasq Medium   Entering monitored scope (Request (GET:https://portal.emw.ca:443/ehs/_layouts/AccessDenied.aspx?Source=https%3A%2F%2Fportal%2Eemw%2Eca%2Fehs%2FLists%2FInvestigationReports%2FDispForm%2Easpx%3FID%3D40%26Source%3Dhttps%253A%252F%252Fportal%252Eemw%252Eca%252Fehs%252FLists%252FInvestigationReports%252FMyInvestigations%252Easpx%26ContentTypeId%3D0x0100E352DB580E29424FB1C52A1D93E09345%26IsDlg%3D1&Type=list&name=%7BD3F44F01%2DC738%2D409A%2DA491%2DDD0F905CC83B%7D&IsDlg=1)) 
    03/11/2014 10:50:15.66  w3wp.exe (0x0098)                        0x16CC SharePoint Foundation        
     Logging Correlation Data       xmnv Medium   Name=Request (GET:https://portal.emw.ca:443/ehs/_layouts/AccessDenied.aspx?Source=https%3A%2F%2Fportal%2Eemw%2Eca%2Fehs%2FLists%2FInvestigationReports%2FDispForm%2Easpx%3FID%3D40%26Source%3Dhttps%253A%252F%252Fportal%252Eemw%252Eca%252Fehs%252FLists%252FInvestigationReports%252FMyInvestigations%252Easpx%26ContentTypeId%3D0x0100E352DB580E29424FB1C52A1D93E09345%26IsDlg%3D1&Type=list&name=%7BD3F44F01%2DC738%2D409A%2DA491%2DDD0F905CC83B%7D&IsDlg=1) 9446cae0-8ef5-4ffa-aad8-798d3139a2e7

  • Formatting Date with JavaScript

    Hello guys,
    is there a way to change the date format with JavaScript? I have a library with different fields.
    I hope you can help me!
    Best regards
    Matthias

    Yes
    Check below
    http://www.bentedder.com/convert-a-sharepoint-datetime-field-to-a-javascript-date-object/
    function convertSPDate(d) {
    * A function to convert a standard SharePoint
    * date/time field (YYYY-MM-DD HH:MM:SS) to a
    * javascript Date() object
    * Author: Ben Tedder (www.bentedder.com)
    // split apart the date and time
    var xDate = d.split(" ")[0];
    var xTime = d.split(" ")[1];
    // split apart the hour, minute, & second
    var xTimeParts = xTime.split(":");
    var xHour = xTimeParts[0];
    var xMin = xTimeParts[1];
    var xSec = xTimeParts[2];
    // split apart the year, month, & day
    var xDateParts = xDate.split("-");
    var xYear = xDateParts[0];
    var xMonth = xDateParts[1];
    var xDay = xDateParts[2];
    var dDate = new Date(xYear, xMonth, xDay, xHour, xMin, xSec);
    return dDate;
    // create a couple of variables
    var startTime;
    var convertedStartTime;
    // a standard SPServices call
    $().SPServices({
    operation: "GetListItems",
    webURL: myListURL,
    async:false,
    listName: myListName,
    CAMLRowLimit: 1,
    completefunc: function (xData, Status) {
    $(xData.responseXML).SPFilterNode("z:row").each(function(i){
    // set the value of startTime to standard SP date/time field
    startTime = $(this).attr("ows_startTime");
    // set the convertedStartTime to a true javascript date
    convertedStartTime = convertSPDate(startTime);
    http://spservices.codeplex.com/wikipage?title=$%28%29.SPServices.SPConvertDateToISO
    http://stackoverflow.com/questions/14283106/beginner-javascript-date-conversion-from-string-to-utc-date-js-into-sharepoint
    http://stackoverflow.com/questions/14742625/how-to-convert-utc-date-by-javascript

  • Webpart Install - Very Disappointed with Sharepoint 2013

    I have tried various ways to install various webparts with no success:
    Using STSADM Solution Deployment - which is also being deprecated in Sharepoint 2013
    Also tried Powershell
    Central Administration Interface - deploying solution from there
    Sharepoint Interface (uploading solution and then Webpart)
    All of these methods stop at the deployment stage. I see a message that the Webpart has been added but Install-SPFeature doesn't work and the Webpart is not visible in 'Site Collection Features' to activate.
     I receive an error when trying to run the 'Install-SPFeature' command: "the feature is not a farm level feature"
    Then I opened VisualStudio to modify the Webpart to Farm Level scope (ridiculous!) and finally when I try to deploy and
    STILL does not work!!!
    I have 2 books from Microsoft on Sharepoint Administration - these do not help at all. This is terrible and I don't know how Microsoft is still the standard enterprise solution for content management systems.
    Can anyone please help on this issue?

    Hi Daniel - I didn't see your answers as I hadn't enabled 'Alerts' yet.
    Yes, I attempted to deploy the webpart using Visual Studio. It turns out the issue was related to having 2 servers related to one farm. Adding an alias that both servers point to helped solve this. I was able to deploy the webparts (Nivo Slider and MultiTab)
    - however, the webparts themselves from:
    Listed my 10 plus free Web Parts for SharePoint 2013 and 2010 in Codeplex and listly
    do not work. The jquery libraries were not created in the correct places. I also tried both of these ways of loading the jquery libraries and they did not work.
    Choose SPServices vs. the Client Side Object Model (CSOM)
    I have resorted to adding the jquery script on page directly and loading it from a CDN.

Maybe you are looking for

  • OLD ID WONT GO AWAY AND I CANT PURCHASE NEW APPS

    MY OLD APPLE ID IS NO LONGER VALID, BUT KEEPS SHOWING UP WHEN I TRY TO PURCHASE NEW APPS INSTEAD OF MY NEW APPLE ID.  I FORGOT OLD APPLE ID PASSWORD BUT CAN'T GET IT --- HOW DO I GET APPS TO RECOGNIZE NEW APPLE ID?

  • Handling concurrent users

    hi guys, I developed an application to be used be 1500 users and deployed to tomcat. It hangs after working for a while how can i resolve this

  • Problem changing gradient color in Numbers

    Has anyone else had a problem with being able to change the gradient colors for several rows and then not being able to change the gradient color? I set the gradient to go from snow to sky and then I decided to change some rows so the gradient went f

  • How to Use Partitioning in Mappings

    Hello All. Please could you you help me on this one. I am using OWB9.2, and would like to use partitioning in one of the mappings. It is a simple mapping which maps from one table into another going through transformations and aggregations on the way

  • How do I reinstall itunes after reformatting windows 8?

    how do I reinstall itunes after reformatting windows 8?