Alert to group not working on Sharepoint 2010!

Hello,
We have a SharePoint 2010 Server which on the front page we have a news list. We have migrated to 365 and since then the alerts are not working properly. We have a local SMTP server that we use to rely to 365 since SharePoint does not support TLS by itself.
The SMTP server is working because we can set up alerts on individuals and the emails are coming. The issue is with the group. I have tried several groups but still the same issue. On some groups we receive the initial email about the creation of the alert,
but no mails after that. I have checked also the Immediate Alert service and is successful. I have checked in the  mail flow on 365 and I can see the initial creation of the alert mail sent to all in the group, but the alerts on changing anything on the
list does not come into 365, so it must be a SharePoint issue which I can`t determine since the immediate alert service is running...
Can you please provide a feasible solution for this issue?
Thank you very much.
DOVC
Best Regards, Valentin Doru System Administrator

Hi Valentin,
please also open a thread at o365 community, because seems this issue happened at o365.
to try, perhaps you can re-add the group also, because it may refresh the properties from the AD group to o365.
and you may check these workaround for testing:
Option 1: Use a Redirection User
created a user in Office 365. This user is licensed to use SharePoint Online and Exchange Online.
In Exchange Online, create Distribution Groups, which are standard Distribution Group that allows however in Delivery Management also Senders outside of organization, as the SharePoint Sender is not part of the Exchange Org.
In Exchange Online for the User Exchange Forwarder, created Inbox Rules. The rule is checking the Subject for a keyword and as action redirect the E-Mail to the DG and deletes it right away.
repeat this for other DGs as well.
In SharePoint Online grant the user Exchange Forwarder access to the Site to access the List
Now there are two important steps:
1)      The Alert Title needs to include the token we look for in the Exchange rule
2)      The “Send Alerts To” needs to be our “Exchange Forwarder”
When everything is set up an Alert will be received by Exchange Forwarder and then forwarded to the DG.
Option 2: Use a custom Workflow with the Send E-Mail To Activity
In Exchange Online creat a Distribution Groups, which are standard Distribution Group that allows however in Delivery Management also Senders outside of my organization, as the SharePoint Sender is not part of the Exchange Org.
Using SharePoint Designer create a custom Workflow like the one below. In the Send E-Mail activity I specified the external SMTP Address of the DG as To-Address.
When the Workflow is executed an E-Mail is sent directly to the DG:
Background:
When sending an Alert, SharePoint is doing a Security Trimming. So SharePoint wants to be sure the recipient of the Alert has permissions to see the List Content the Alert is about. Therefore we cannot enter an SMTP-Address for an Alert but need to specify
a Security Principal known to SharePoint.
In a Workflow we don’t need to do this kind of Security Trimming. The creator / designer of the Workflow need to take care whom to send what information.
Side note: Alerts and Workflow Send E-Mail To Activities are the only possibilities in SharePoint Online to send E-Mails. Custom solutions (Sandboxed Solutions) will not work.
Regards,
Aries
Microsoft Online Community Support
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

Similar Messages

  • Alert set through timer job is not working in sharepoint 2010 as expected

    Hi,
    I create the standard sharepoint alerts through timer job.
    in my timer job, i loop through a list and based on the user value in the alert to field i create alert for the users and the condition for the alert are only when new items are created and something changes in the below view.
    all the properties are set fine. Email triggered on new items additions and on specific daily or weekly summary.
    The view filteration is not working at all:(
    But after the timer job ran and set the alert, if i open the alert settings on UI and without changing anything if i click ok , then the view filteration is happening and alerts are working fine.
    What is wrong here? is it a bug or anything am missing?
    Aruna
    try
    SPList Configlist = web.Lists.TryGetList("Configuration");
    foreach (SPListItem oItem in Configlist.Items)
    ProfilePicker = oItem["ProfilePicker"].ToString();
    ProfileViewer = oItem["ProfileViewer"].ToString();
    string MIS = oItem["MIS"].ToString();
    SPList list = web.Lists.TryGetList(ProfileViewer);
    SPList ProfileList = web.Lists[ProfilePicker];
    foreach (SPListItem oItem in ProfileList.Items)
    frequency = oItem["Frequenzy"].ToString();
    created = (DateTime)oItem["Created"];
    string createdDate = created.ToString();
    createdDate = DateTime.Parse(createdDate).ToShortDateString();
    DateTime today = DateTime.Today.Date;
    string dateonly = today.ToString(); ;
    dateonly = DateTime.Parse(dateonly).ToShortDateString();
    SPFieldUserValue fieldValue = null;
    SPFieldUser UserColumn = (SPFieldUser)oItem.Fields.GetField("Alert_x0020_owner");
    fieldValue = UserColumn.GetFieldValue(oItem["Alert_x0020_owner"].ToString()) as SPFieldUserValue;
    if (fieldValue != null)
    alertowner = fieldValue.User;
    alert = alertowner.ToString();
    //if (createdDate == dateonly)
    SPUser user = web.EnsureUser(alert);
    SPAlert newAlert = user.Alerts.Add();
    newAlert.AlertType = SPAlertType.List;
    newAlert.List = list;
    newAlert.DeliveryChannels = SPAlertDeliveryChannels.Email;
    newAlert.EventType = SPEventType.Add;
    if (frequency == "Daily")
    createDailyAlert(newAlert, list, user);
    else
    createWeeklyAlert(newAlert, list, user);
    catch (Exception ex)
    // Danfoss.Sharepoint.Logger.DanfossLogger.LogToOperations(ex, "Exception occurred in setting the profile alert", 0, EventSeverity.Error, DanfossExceptionCategory.General);
    private static void createDailyAlert(SPAlert newAlert, SPList list, SPUser user)
    newAlert.Title = "My Daily Profile viewer Alert";
    newAlert.AlertFrequency = SPAlertFrequency.Daily;
    newAlert.AlertTemplate = list.AlertTemplate;
    newAlert.AlertTime = new DateTime(DateTime.Today.Year, DateTime.Today.Month, DateTime.Today.Day, 10, 0, 0);
    newAlert.AlertTime = newAlert.AlertTime.AddDays(0);
    SPAlert existingAlert = null;
    newAlert.Properties.Add("filterindex", "4");
    newAlert.Properties.Add("viewid", list.Views["Daily Alert"].ID.ToString("D"));
    newAlert.Properties.Add("filterpath", string.Format("{0}/", list.Views["Daily Alert"].ServerRelativeUrl.TrimStart('/')));
    foreach (SPAlert alerts in user.Alerts)
    string al = alerts.AlertFrequency.ToString();
    // Filter down the alert to the list you wish to report on.
    if (al == "Daily")
    // Found your existing your custom alert. Don't create one.
    existingAlert = alerts;
    if (existingAlert == null)
    newAlert.Update(false);
    private static void createWeeklyAlert(SPAlert newAlert, SPList list, SPUser user)
    newAlert.Title = "My weekly profile viewer Alert";
    newAlert.AlertFrequency = SPAlertFrequency.Weekly;
    newAlert.AlertTemplate = list.AlertTemplate;
    newAlert.AlertTime = new DateTime(DateTime.Today.Year, DateTime.Today.Month, DateTime.Today.Day, 10, 0, 0);
    newAlert.AlertTime = newAlert.AlertTime.AddDays(0);
    SPAlert existingAlert = null;
    newAlert.Properties.Add("filterindex", "4");
    newAlert.Properties.Add("viewid", list.Views["Weekly Alert"].ID.ToString("D"));
    newAlert.Properties.Add("filterpath", string.Format("{0}/", list.Views["Weekly Alert"].ServerRelativeUrl.TrimStart('/')));
    foreach (SPAlert alerts in user.Alerts)
    string al = alerts.AlertFrequency.ToString();
    // Filter down the alert to the list you wish to report on.
    if (al == "Weekly")
    // Found your existing your custom alert. Don't create one.
    existingAlert = alerts;
    if (existingAlert == null)
    newAlert.Update(false);
    This is my code. alerts are not sending based on the view:(

    Hi sathyaav,
    I followed the example and made a test in my environment, it works like a charm.
    I suggest you check if you have inputed the valid site URL when you create the project solution.
    If you deployed succeed in the Central Administrator Site using Visual Studio, then the job named "Simple Job Definition" will appear in the job definition list.
    Best Regards
    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]
    Zhengyu Guo
    TechNet Community Support

  • Date parameter does not work in SharePoint 2010 report using SQL 2008 Server Reporting Service

    Here is the settings:
    SharePoint 2010 with SQL server 2008 reporting services configured
    When create a report for a SP list using SQL server report builder (3.0) the date parameter does not work.
    The data parameter is set as "date and time" type and field name equals the col name in the SP list
    When run the report, the whatever dates I select, the result is always the same, so the parameters do not take any effect.
    Is any step missing?
    Thanks for any advice !

    Hi ,
    How did you configure you "date and time" type parameter and field name equals the col name in the SP list?
    Have you tested if other type parameter worked?
    Have you tried typing the date format as 20140722 in your date parameter filed before run the report?
    http://whitepages.unlimitedviz.com/2012/02/using-sharepoint-filters-with-reporting-services-parameters-for-personalized-reports/
    Thanks,
    Daniel Yang
    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]
    Daniel Yang
    TechNet Community Support

  • Active Directory Groups Not Working in Sharepoint

    We are trying to manage permissions with AD groups but thus far permissions are not working.  We have a site and are able to search for, find, and add AD groups.  However, users in this group still get access denied.  If users are added explicitly
    to the site or to a SharePoint group their permissions work correctly.  The UPS has been synced many times without issues and this problem has been occurring for weeks.  Is this a problem with SharePoint or AD?  Any ideas how to resolve it?
    Also, I don't know if this is relevant but the site is also configured for anonymous access.  If a user accesses the site anonymously they are granted read access, if they try to access the site while logged in with their account they get access denied.

    If the group was added to SharePoint and then users were added to the group try waiting a day.  The claims token in SharePoint lifetime is fairly long.  So when new users are added to an existing AD group SharePoint will not recognize the new membership
    in the Claims token for 12 -24 hours.  If you add a user today they should be able to log in tomorrow.  Take a look at the following Blog post.  I think this is your issue.
    http://www.andrewjbillings.com/sharepoint-2013-claims-authentication-ad-group-changes-not-reflected/
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • Archive feature is not working in sharepoint 2010 list

    Hi 
    i configure archive feature for list. but it is not working.  i followed below video <o:p></o:p>
    http://www.youtube.com/watch?v=ZAkSEMW89Jw
    but list items are not moving to archive list.
    could any one help me how to resolve this?
    <o:p></o:p>

    did you see if workflow started or not at all?
    any error...as Amit asked...share the Workflow logic.
    just keep in mind the steps in video are:
    Save as template "current list"
    then create new lis using above template.
    now create a designer workflow on your main list which automatically start on item change.
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • Pdf stamping (water mark) functionality is not working in sharepoint 2010

    Hi
    I have developed custom handler(.dll) for pdf file stamping functionality using Ihttphandler in VS2010 with help of
    iTextSharp. deployed the hanlder in GAC and referred hanlder in handler section of the web.config file one of the
    Sharepoitin 2010 site. the stamping functionality is working fine when I am using <Mapping Key="pdf" Value="pdf16.gif"
    OpenControl = "Malag.OpenDocuments"/> mapping key for PDFs in DOCICON.XML. after doing all this settings when open any pdf
    from sharepoint site it opens in the browser with stamping (water mark) on each page of pdf file. Now i want open the file
    in Adobe Reader X with check out & check in options. i have changed mapping key for PDFs in DOCICON.XML file to <Mapping
    Key="pdf" Value="pdf16.gif" OpenControl = "PdfFile.OpenDocuments"/>. After changing when click on pdf file in site it opens
    adobe reader X prompting Chewck out & open etc.. option, if i select Open option the PDF file is not opening & showing
    message "There was an error opening this document. File open failed". Please let me know solution how to solve this issue.
    Here is my handler code..
    using System.IO;
    using System.Web;
    using Microsoft.SharePoint;
    using iTextSharp.text;
    using iTextSharp.text.pdf;
    using System.Configuration;
    using System;
    using Microsoft.SharePoint.Administration;
    namespace WSPPDFStamping
        class WSPPDFStampingHtppHandler:IHttpHandler
            public bool IsReusable
                get
                    return false;
            public void ProcessRequest(HttpContext context)
                        var siteId = SPContext.Current.Site.ID;
                        var sec = new SPSecurity.CodeToRunElevated(delegate()
                                    using (var site = new SPSite(siteId))
                                        using (var web = site.OpenWeb())
                                            SPFile file = SPContext.Current.Web.GetFile(context.Request.Url.ToString());
                                            string RequestedURL = context.Request.Url.ToString();
                                           // string connStringUrl = "";
                                            string connStringUrl = "";;
                                            bool isAdd = true;
                                            byte[] content = file.OpenBinary();
                                            SPUser currentUser = SPContext.Current.Web.CurrentUser;
                                            string siteWebAppRoot = "/" + SPContext.Current.Site.WebApplication.DisplayName;
                                            System.Configuration.Configuration rootWebConfig =
                                    System.Web.Configuration.WebConfigurationManager.OpenWebConfiguration(siteWebAppRoot);
                                            System.Configuration.ConnectionStringSettings connString;
                                            if (0 < rootWebConfig.ConnectionStrings.ConnectionStrings.Count)
                                                //connString =
                                                //    rootWebConfig.ConnectionStrings.ConnectionStrings["PDFStampingURL"];
                                                //if (null != connString)
                                                //    connStringUrl = connString.ConnectionString.ToString();
                                                for (int i = 0; i < rootWebConfig.ConnectionStrings.ConnectionStrings.Count; i++)
                                                    string connStr = "PDFStampingURL" + (i + 1);
                                                    connString =
                                                        rootWebConfig.ConnectionStrings.ConnectionStrings[connStr];
                                                    if (null != connString)
                                                        connStringUrl = connString.ConnectionString.ToString();
                                                    if (RequestedURL.Contains(connStringUrl))
                                                        isAdd = true;
                                                        break;
                                                    else
                                                        isAdd = false;
                                            //if (!RequestedURL.Contains(connStringUrl))
                                            if (!isAdd)
                                                context.Response.ContentType = "application/pdf";
                                                context.Response.BinaryWrite(content);
                                               // context.Response.AddHeader("content-disposition", "attachment; filename=" + file.Name);
                                              // context.Response.AddHeader("content-disposition", "inline;filename=" + file.Name);
                                                context.Response.End();
                                                isAdd = false;
                                                return;
                                            string watermark = null;
                                            if (currentUser != null)
                                                watermark = "Document downloaded by " + currentUser.Name + " on " + System.DateTime.Now + " PST.";
                                            if (watermark != null)
                                                PdfReader pdfReader = new PdfReader(content);
                                                using (MemoryStream outputStream = new MemoryStream())
                                                    PdfStamper pdfStamper = new PdfStamper(pdfReader, outputStream);
                                                    BaseFont baseFont = BaseFont.CreateFont(BaseFont.HELVETICA_BOLD, BaseFont.CP1252, false);
                                                    for (int pageIndex = 1; pageIndex <= pdfReader.NumberOfPages; pageIndex++)
                                                        //Rectangle class in iText represent geometric representation...
                                                        //in this case, rectangle object would contain page geometry
                                                      iTextSharp.text.Rectangle pageRectangle = pdfReader.GetPageSizeWithRotation(pageIndex);
                                                        //PdfContentByte object contains graphics and text content of page returned by PdfStamper
                                                        PdfContentByte pdfData = pdfStamper.GetOverContent(pageIndex);
                                                        //create font size for watermark
                                                        pdfData.SetFontAndSize(BaseFont.CreateFont(BaseFont.HELVETICA_BOLD, BaseFont.CP1252, BaseFont.NOT_EMBEDDED), 8);
                                                        //create new graphics state and assign opacity
                                                        PdfGState graphicsState = new PdfGState();
                                                        graphicsState.FillOpacity = 0.7F;//= 0.4F;
                                                        //set graphics state to PdfContentByte
                                                        pdfData.SetGState(graphicsState);
                                                        //indicates start of writing of text
                                                        pdfData.BeginText();
                                                        //show text as per position and rotation
                                                        pdfData.ShowTextAligned(Element.ALIGN_MIDDLE, watermark, pageRectangle.Width / 4, pageRectangle.Height / 44, 0);
                                                        //pdfData.ShowTextAligned(Element.ALIGN_CENTER, "For Internal Use Only", pageRectangle.Width / 2, pageRectangle.Height / 2, 45);
                                                        //call endText to invalid font set
                                                        pdfData.EndText();
                                                        //Top text
                                                        PdfGState graphicsStateTop = new PdfGState();
                                                        graphicsStateTop.FillOpacity = 0.005F;//= 0.4F;
                                                        //set graphics state to PdfContentByte
                                                        pdfData.SetGState(graphicsStateTop);
                                                        pdfData.BeginText();
                                                        //pdfData.ShowTextAlignedKerned(Element.ALIGN_LEFT, "TEXT Left", 150, 628, 0);
                                                        pdfData.ShowTextAligned(Element.ALIGN_CENTER, watermark, pageRectangle.Width / 2, pageRectangle.Height - 13, 0);
                                                        //call endText to invalid font set
                                                        pdfData.EndText();
                                                        //Set 45 degree water mark
                                                        PdfGState graphicsState45 = new PdfGState();
                                                        pdfData.SetFontAndSize(baseFont, 38);
                                                        graphicsState45.FillOpacity = 0.07F;//= 0.4F;
                                                        //set graphics state to PdfContentByte
                                                        pdfData.SetGState(graphicsState45);
                                                        pdfData.BeginText();
                                                        //show text as per position and rotation
                                                        pdfData.ShowTextAligned(Element.ALIGN_CENTER, "Registered For Internal Use Only", pageRectangle.Width / 2, pageRectangle.Height / 2, 45);
                                                        //pdfData.ShowTextAlignedKerned(Element.ALIGN_LEFT, "TEXT Left", 150, 628, 0);
                                                        //call endText to invalid font set
                                                        pdfData.EndText();
                                                    pdfStamper.Close();
                                                    content = outputStream.ToArray();
                                            context.Response.ContentType = "application/pdf";
                                            context.Response.BinaryWrite(content);
                                           // context.Response.AddHeader("content-disposition", "attachment; filename=" + file.Name);
                                         //   context.Response.AddHeader("content-disposition", "inline;filename=" + file.Name);
                                            context.Response.End();
                        SPSecurity.RunWithElevatedPrivileges(sec);
    web.config file of share point site
    <handlers>
        <add name="PDFWatermark" verb="*" path="*.pdf" preCondition="integratedMode"
    type="WSPPDFStamping.WSPPDFStampingHtppHandler, WSPPDFStamping, Version=1.0.0.0, Culture=neutral,
    PublicKeyToken=835cc3a26d74a89a" />
        </handlers>
    thanks in advance.
    jampani venkateshwar rao.

    Time to engage in basic debugging. Alter your script to remove all the extra steps and generate logs as it goes along, then gradually re-enable each part so you can work out where it's bombing out. It doesn't sound like a problem with Reader itself, and as Claudio says we're not here to provide support for non-Adobe software.

  • OK button does not work in SharePoint 2010 using any web browser

    We are unable to press OK in SharePoint when trying to edit columns or create new columns. We can press cancel but when you click OK it does nothing. I receive an error message in the left corner which says 'helperFrm' is null or not an object. Maybe this
    helps?
    I have tried in IE8,9, 10, Firefox, Chrome but nothing. You press the button and it does nothing but show 'error on page' in the bottom left corner. Very frustrating.
    Thanks in advance.
    Elliot

    If not, register in masterpage 
    <SharePoint:ScriptLink language="javascript" name="~sitecollection/custom/jquery-1.10.2.min.js" runat="server" Localizable="false" />
    Instead of
    ~sitecollection/custom/jquery-1.10.2.min.js
     this
    include your bform.js 

  • Script not working in SharePoint content editor webpart

    Hi All,
    <html>
    <head>
    <script type="text/javascript" src="https://www.google.com/jsapi"></script>
    <script language="javascript" type="text/javascript">
    $(document).ready(function () {
    //Call your function here like
    //retrieveListItems();
    ExecuteOrDelayUntilScriptLoaded(retrieveListItems, "SP.js");
    var siteUrl = '/vceo/PMO/EPMO/';
    var close1 = ''; var close2 = ''; var high = ''; var low = ''; var medium = ''; var lowMedium = ''; var mediumHigh = '';
    var open1 = ''; var open2 = ''; var high1 = ''; var low1 = ''; var medium1 = ''; var lowMedium1 = ''; var mediumHigh1 = '';
    var count = 0; var count1 = 0;
    var initiate = 0; var planning = 0; var execution = 0; var closing = 0;
    var sumMinimal = 0; var sumModerate = 0; var sumCritical = 0; var sumSevere = 0;
    var sumHighlyLikely = 0; var sumLikely = 0; var sumSomewhat = 0; var sumUnlikely = 0;
    var sumBudget = 0; var sumCommitted = 0; var sumConsumption = 0;
    function retrieveListItems() {
    alert("Welcome to Dashboard");
    var clientContext = new SP.ClientContext(siteUrl); alert("site url");
    var oList = clientContext.get_web().get_lists().getByTitle('Project Issues and Risks');
    var oList1 = clientContext.get_web().get_lists().getByTitle('Project');
    var oList2 = clientContext.get_web().get_lists().getByTitle('Risk Impact');
    var oList3 = clientContext.get_web().get_lists().getByTitle('Risk Probability'); alert("get by title");
    var camlQuery = new SP.CamlQuery(); var camlQuery1 = new SP.CamlQuery(); var camlQuery2 = new SP.CamlQuery(); var camlQuery3 = new SP.CamlQuery(); var camlQuery4 = new SP.CamlQuery(); var camlQuery5 = new SP.CamlQuery(); var camlQuery6 = new SP.CamlQuery();
    camlQuery.set_viewXml('<View><Query><Where><Eq><FieldRef Name="Project_x0020_Issue_x0020_Status" /><Value Type="Choice">Issue</Value></Eq></Where></Query></View>');
    camlQuery1.set_viewXml('<View><Query><Where><Eq><FieldRef Name="Project_x0020_Issue_x0020_Status" /><Value Type="Choice">Risk</Value></Eq></Where></Query></View>');
    camlQuery2.set_viewXml('<View><Query><Where><Eq><FieldRef Name="Overall_x0020_Status" /><Value Type="Choice">Open</Value></Eq></Where></Query></View>');
    camlQuery3.set_viewXml('<View><Query><Where><Eq><FieldRef Name="Overall_x0020_Status" /><Value Type="Choice">Closed</Value></Eq></Where></Query></View>');
    camlQuery4.set_viewXml('<View><Query><Where><IsNotNull><FieldRef Name="Project_x0020_Code" /></IsNotNull></Where></Query></View>');
    camlQuery5.set_viewXml('<View><Query><Where><IsNotNull><FieldRef Name="Project_x0020_Code" /></IsNotNull></Where></Query></View>');
    camlQuery6.set_viewXml('<View><Query><Where><IsNotNull><FieldRef Name="Project_x0020_Code" /></IsNotNull></Where></Query></View>');
    this.collListItem = oList.getItems(camlQuery); this.collListItem1 = oList.getItems(camlQuery1); this.collListItem2 = oList1.getItems(camlQuery2); this.collListItem3 = oList1.getItems(camlQuery3);
    this.collListItem4 = oList2.getItems(camlQuery4); this.collListItem5 = oList3.getItems(camlQuery5); this.collListItem6 = oList1.getItems(camlQuery6);
    clientContext.load(collListItem); clientContext.load(collListItem1); clientContext.load(collListItem2); clientContext.load(collListItem3); clientContext.load(collListItem4); clientContext.load(collListItem5); clientContext.load(collListItem6);
    clientContext.executeQueryAsync(Function.createDelegate(this, this.onQuerySucceeded), Function.createDelegate(this, this.onQueryFailed));
    alert("retrieve list");
    function onQuerySucceeded(sender, args) {
    alert("succeed");
    var listItemEnumerator = collListItem.getEnumerator(); var listItemEnumerator1 = collListItem1.getEnumerator(); var listItemEnumerator2 = collListItem2.getEnumerator();
    var listItemEnumerator3 = collListItem3.getEnumerator(); var listItemEnumerator4 = collListItem4.getEnumerator(); var listItemEnumerator5 = collListItem5.getEnumerator(); var listItemEnumerator6 = collListItem6.getEnumerator();
    var sumClose = 0; var sumClose1 = 0; var sumHigh = 0; var sumMedium = 0; var sumLow = 0; var sumLowMedium = 0; var sumMediumHigh = 0;
    var sumOpen = 0; var sumOpen1 = 0; var sumHigh1 = 0; var sumMedium1 = 0; var sumLow1 = 0; var sumLowMedium1 = 0; var sumMediumHigh1 = 0;
    while (listItemEnumerator.moveNext()) { var oListItem = listItemEnumerator.get_current(); sumClose += oListItem.get_item('Close'); sumOpen += oListItem.get_item('Open'); sumHigh += oListItem.get_item('High'); sumMedium += oListItem.get_item('Medium'); sumLow += oListItem.get_item('Low'); sumLowMedium += oListItem.get_item('LowMedium'); sumMediumHigh += oListItem.get_item('MediumHigh'); }
    while (listItemEnumerator1.moveNext()) { var oListItem1 = listItemEnumerator1.get_current(); sumClose1 += oListItem1.get_item('Close'); sumOpen1 += oListItem1.get_item('Open'); sumHigh1 += oListItem1.get_item('High'); sumMedium1 += oListItem1.get_item('Medium'); sumLow1 += oListItem1.get_item('Low'); sumLowMedium1 += oListItem1.get_item('LowMedium'); sumMediumHigh1 += oListItem1.get_item('MediumHigh'); }
    while (listItemEnumerator4.moveNext()) { var oListItem4 = listItemEnumerator4.get_current(); sumMinimal += oListItem4.get_item('Minimal'); sumModerate += oListItem4.get_item('Moderate'); sumSevere += oListItem4.get_item('Severe'); sumCritical += oListItem4.get_item('Critical'); }
    while (listItemEnumerator5.moveNext()) { var oListItem5 = listItemEnumerator5.get_current(); sumUnlikely += oListItem5.get_item('Unlikely'); sumSomewhat += oListItem5.get_item('Somewhat'); sumLikely += oListItem5.get_item('Likely'); sumHighlyLikely += oListItem5.get_item('HighlyLikely'); }
    while (listItemEnumerator6.moveNext()) { var oListItem6 = listItemEnumerator6.get_current(); sumBudget += oListItem6.get_item('Project_x0020_Budget_x0020_Amoun'); sumCommitted += oListItem6.get_item('Committed_x0020_Budget'); }
    count = this.collListItem2.get_count();
    count1 = this.collListItem3.get_count();
    while (listItemEnumerator2.moveNext()) {
    var oListItem2 = listItemEnumerator2.get_current();
    var stat = oListItem2.get_item('Project_x0020_Status');
    if (stat == "Intiation") {
    initiate = initiate + 1
    if (stat == "Planning") {
    planning = planning + 1
    if (stat == "Execution") {
    execution = execution + 1
    if (stat == "Closing") {
    closing = closing + 1
    //alert("initiate" + initiate); alert("planning" + planning); alert("execution" + execution); alert("closing" + closing);
    //alert("countOpen" + count); alert("closed:" + count1);
    window.close1 = sumClose; window.close2 = sumClose1; window.high = sumHigh; window.low = sumLow; window.medium = sumMedium; window.mediumHigh = sumMediumHigh; window.lowMedium = sumLowMedium;
    window.open1 = sumOpen; window.open2 = sumOpen1; window.high1 = sumHigh1; window.low1 = sumLow1; window.medium1 = sumMedium1; window.mediumHigh1 = sumMediumHigh1; window.lowMedium1 = sumLowMedium1;
    drawChart();
    function onQueryFailed(sender, args) { alert('Request failed.. ' + args.get_message() + '\n' + args.get_stackTrace()); }
    google.load("visualization", "1", { packages: ["corechart"] });
    function drawChart() {
    var data = google.visualization.arrayToDataTable([['Task', 'Issues'], ['Close', window.close1], ['Open', window.open1]]);
    var data1 = google.visualization.arrayToDataTable([['Task', 'Risks'], ['Close', window.close2], ['Open', window.open2]]);
    var data2 = google.visualization.arrayToDataTable([['Program', 'High', 'Medium-High', 'Medium', 'Low-Medium', 'Low'], ['Category', window.high, window.mediumHigh, window.medium, window.lowMedium, window.low]]);
    var data3 = google.visualization.arrayToDataTable([['Program', 'High', 'Medium-High', 'Medium', 'Low-Medium', 'Low'], ['Category', window.high1, window.mediumHigh1, window.medium1, window.lowMedium1, window.low1]]);
    var data4 = google.visualization.arrayToDataTable([['Project', 'Status'], ['Closed', count1], ['Open', count]]);
    var data5 = google.visualization.arrayToDataTable([['Project', 'Status'], ['Initiation', initiate], ['Planning', planning], ['Execution', execution], ['Closing', closing]]);
    var data6 = google.visualization.arrayToDataTable([['Program', 'Impact'], ['Minimal', sumMinimal], ['Moderate', sumModerate], ['Severe', sumSevere], ['Critical', sumCritical]]);
    var data7 = google.visualization.arrayToDataTable([['Program', 'Probability'], ['Highly Likely/Probable(76%-100%)', sumHighlyLikely], ['Likely(51%-76%)', sumLikely], ['Somewhat Likely(26%-50%)', sumSomewhat], ['Unlikely/Improbable(0%-25%)', sumUnlikely]]);
    var data8 = google.visualization.arrayToDataTable([['Project', 'Budget'], ['Approved', sumBudget], ['Committed', sumCommitted]]);
    var options = { title: 'Program Issues', width: 200, height: 300, legend: 'bottom', pieSliceText: 'value', pieStartAngle: 180, };
    var options1 = { title: 'Program Risks', width: 200, height: 300, legend: 'bottom', pieSliceText: 'value', pieStartAngle: 180, };
    var options2 = { width: 200, height: 200, legend: { position: 'top', maxLines: 3 }, bar: { groupWidth: '25%' }, isStacked: true, vAxis: { title: 'Open', titleTextStyle: { color: 'red' } } };
    var options3 = { width: 200, height: 200, legend: { position: 'top', maxLines: 3 }, bar: { groupWidth: '25%' }, isStacked: true, vAxis: { title: 'Open', titleTextStyle: { color: 'red' } } };
    var options4 = { title: 'Project Status', width: 225, height: 300, legend: 'bottom', pieSliceText: 'value', pieStartAngle: 180, };
    var options5 = { width: 175, height: 200, legend: { position: 'top', maxLines: 10 }, pieSliceText: 'value', };
    var options6 = { title: 'Program Risk Impact', width: 300, height: 300, legend: 'right', pieSliceText: 'value', };
    var options7 = { title: 'Program Risk Probable', width: 300, height: 300, legend: 'right', pieSliceText: 'value', };
    var options8 = { title: 'Project Budget', width: 300, height: 300, legend: 'bottom', pieSliceText: 'value', };
    var chart = new google.visualization.PieChart(document.getElementById('chart_div3'));
    chart.draw(data, options);
    var chart1 = new google.visualization.PieChart(document.getElementById('chart_div'));
    chart1.draw(data1, options1);
    var chart2 = new google.visualization.ColumnChart(document.getElementById('chart_div1'));
    chart2.draw(data2, options2);
    var chart3 = new google.visualization.ColumnChart(document.getElementById('chart_div2'));
    chart3.draw(data3, options3);
    var chart4 = new google.visualization.PieChart(document.getElementById('chart_div4'));
    chart4.draw(data4, options4);
    var chart5 = new google.visualization.PieChart(document.getElementById('chart_div5'));
    chart5.draw(data5, options5);
    var chart6 = new google.visualization.PieChart(document.getElementById('chart_div6'));
    chart6.draw(data6, options6);
    var chart7 = new google.visualization.PieChart(document.getElementById('chart_div7'));
    chart7.draw(data7, options7);
    var chart8 = new google.visualization.ColumnChart(document.getElementById('chart_div8'));
    chart8.draw(data8, options8);
    </script>
    </head>
    <body>
    <table >
    <tbody>
    <tr>
    <td id="chart_div8" colspan="2" style="border-bottom:ridge;border-left:ridge;border-top:ridge"></td>
    <td id="chart_div4" style="border-bottom:ridge;border-left:ridge;border-top:ridge"></td>
    <td id="chart_div5" style="border-bottom:ridge;border-right:ridge;border-top:ridge"></td>
    </tr>
    <tr>
    <td id="chart_div" style="border-bottom:ridge;border-left:ridge;"></td>
    <td id="chart_div2" style="border-bottom:ridge;"></td>
    <td id="chart_div3" style="border-bottom:ridge;border-left:ridge;"></td>
    <td id="chart_div1" style="border-bottom:ridge;border-right:ridge""></td>
    </tr>
    <tr>
    <td id="chart_div6" colspan="2" style="border-bottom:ridge;border-left:ridge;"></td>
    <td id="chart_div7" colspan="2" style="border-bottom:ridge;border-left:ridge;border-right:ridge"></td>
    </tr>
    </tbody>
    </table>
    </body>
    </html>
    This content editor webpart not working in sharepoint page. Once I checked out to the page then chart is working. When i checkedin function not get called. How to fix this?
    THanks in advance!

    In SharePoint 2013, sp.js and sp.runtime.js does not load on the page in published mode. You need to explicitly load these files. You can check using IE developer tools in the Script section that in published mode these files are missing.
    In order to fix this issue explictly refer these two js files on your page.
    <script type="text/javascript" src="_layouts/15/sp.runtime.js"></script>
    <script type="text/javascript" src="_layouts/15/sp.js"></script>
    Geetanjali Arora | My blogs |

  • Excel datasheet Password Protection not opening in Sharepoint 2010 default browser

    Password protection Excel datasheet not opening in SharePoint 2010 library with Use the server default
    (Open in the browser) I get a SharePoint  Error ‘an unexpected error has occurred ’
    If I change in advanced setting to Open in the client application it works fine
    What do I need to do In order to have the file open in the default browser?

    Excel Services/Excel Web App does not support password protected Excel sheets. Your only option is to open in Excel client.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Alerts sounds are not working after upgrading to iOS 7.1.2

    Hi,
    I've noticed that all the alerts sounds are not working anymore after upgrading my iPhone 4S to iOS 7.1.2
    I’ve reviewed similar posts regarding the same issue; and it seems this is a common issue in iPhone 4S when upgrade to iOS 7.1.2.
    Apple, please Advise if there anything I can do to resolve the issue especially that my work deepens on the push emails and alerts that requires prompt response.

    I got this issue resolved.
    It caused due to some dirt in the charger slot; such dirt caused the phone to assume as if it is connected to a car kit and that is why it does not produce any sound except the Ringer and the Alarm.
    It has been fixed by cleaning the charger slot by toothbrush! with some
    drops of a cleaner.
    Do not do it by yourself, as it might be a risk; rather, let it to be done by an expert.

  • In outlook 2013 Add-In, Adding dynamic menu to splitButton idMso="DialMenu" is working and the same code is not working in outlook 2010 Add-In.

    In outlook 2013 Add-In, Adding dynamic menu to <splitButton idMso="DialMenu"> is working and the same code is not working in outlook
    2010 Add-In. please let me know, if i am missing something. Below is the xml and screen shot
    <contextMenu idMso="ContextMenuFlaggedContactItem">
     <splitButton idMso="DialMenu">
              <menu>
                <dynamicMenu id="CallContactwithFreedomvoice
    " label="CallContactwithFreedomvoice" 
                            getContent="OnGetContenttest"                           insertAfterMso="Call"/> 
            </menu>       </splitButton>    </contextMenu> 

    Hi Narasimha prasad2,
    Based on the description, the context menu for the flagged contact doen't work in Outlook. I am tring to rerpoduce this issue however failed.
    I suggest that you check the state of the add-in first to see wether the add-in was loaded successfully.
    Regards & Fei
    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.

  • Response Groups not working

    Hi there
    My environment is a single Lync 2013 Front End Server installed on Server 2012.
    It works since a year and now we want to use some response groups. I created 2 of them and everything seems fine but i cant call these groups. Not from internal and also not from external.
    The clients shows an 500 internal server error with ID 26017.
    So i traced the whole thing on the Front End Server. It seems the Response Group Service cant work with the local SQL Server. I see three error messages.
    1. TL_ERROR(TF_COMPONENT) [2]0B90.37A8::07/23/2014-06:38:39.119.000002fb (RgsClientsLib,MatchMakingLocator.GetActiveInstanceFromDB:683.idx(479))
    (0000000000150BA8)No instance registered as the active instance!
    2. TL_ERROR(TF_COMPONENT) [1]1E08.2910::07/23/2014-06:38:42.462.00000a34 (RgsHostingFramework,CallControlManager.HandleAudioVideoCall:2049.idx(619))
    (000000000362D054)Call is declined because Call Control is not started.
    3. TL_WARN(TF_COMPONENT) [1]0B90.0B7C::07/23/2014-06:38:48.053.00000f2d (RgsClientsLib,MatchMakingLocator.GetActiveMatchMakingInstance:683.idx(301))
    (0000000000150BA8)There is currently no active MatchMaking instance in the pool.
    The Lync Server Event Log shows this error when the Response Group Service starts:
    LS Response Group Service ID 31067
    Lync Server 2013, Response Group Service Match Making could not find the Contact object used for subscribing to agents' presence.
    Cause: The application has not been properly activated or the Contact object was deleted.
    Resolution:
    Deactivate and then activate the application for this pool.
    Is there a way to reinstall / reconfigure the whole response group service incl. the active directory objects?
    I hope somebody could help
    Regards
    Andreas

    Have you seen this thread:
    http://social.technet.microsoft.com/Forums/lync/en-US/cd25ddec-6e1e-4d58-9a9a-a530abfa82e3/response-groups-not-working?forum=ocsclients ?
    He ran Get-CsApplicationEndpoint and received a warning that let him to a resolution.
    Short of that, I'd rerun step 2 in the deployment wizard and restart services when you can to see if I could jog anything loose.
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question please click "Mark As Answer".
    SWC Unified Communications

  • Document icons not visible in sharepoint 2010

    Hi
    I am working on sharepoint 2010. I have a site in which document icons are missing. Example: When going into View All Items -> Pages , the pages should be having "IE" icon to be displayed. Similarly for word , css files . All the icons
    are showing as "X". I have checked the DOCICON.XML file to be correct (compared to file present in other server).
    When trying to access the image directly eg: http:localhost:99/_layouts/images/ichtm.gif , i am able to access the image without issue.
    When looking at the properties of the image, i could get the url as http:localhost:99/_layouts/images.
    Please help me to resolve this issue.
    Thanks in advance
    Usha

    Please confirm if you see URL as http:localhost:99/_layouts/images. or http//:localhost:99/_layouts/images.
    Is it same behavior on all sites or just 1 site
    What do we see in Fiddler traces
    Did you made any changes in DOCICON.XML
    or some where else
    If this helped you resolve your issue, please mark it Answered

  • AD Security Group name change not showing in Sharepoint 2010

    Hi!
    We have a Sharepoint 2010 Standard enviroment and are heading for a role-based identity-managment in our company. That's why we find it better to use AD Groups instead of Sharepoint Groups.
    So we have over 1000 AD Security Groups groups that have been added to our Sharepoint Sites and our goal is to control every permission in Sharepoint from AD.
    I have done all this with the combination of Excel and Powershell and it have worked great.
    The problem i see in the long run is the name change of AD Security Groups. Sharepoint 2010 isn't showing the new name of the group.
    Does anyone know of any workaround that can solve this problem. It's a bit of a disappointment that Microsoft haven't fixed this. The only information i think they should store in Sharepoint is the SID of the groups.
    I was thinking of designing a powershell script that runs every night and updates the display name of the groups that do not match the AD display name.
    Is there any other way?

    As far as I know, and I'm not sure where to go from here without testing on my own...and I'm not sure when I'll be able to do that.  Perhaps a configuration issue.
    Have you tried removing the incorrectly named group and adding in the correctly named one?
    Read through this related post: 
    http://social.msdn.microsoft.com/Forums/en-US/sharepoint2010general/thread/49dc833f-4127-45ac-bd21-98b04d3632ef
    Looks like that can help you.  Let us know how things go.
    Colorless Green Ideas Sleep Furiously http://www.sharepointnerd.com

  • Ribbon options not working for SharePoint Central Administration

    Hi,
    I am able to see the options on the Ribbon of Central Administration, but clicking on the options is not working.
    Have tried, Starting the Central Admin with Admin account, Setting user account control to never notify, adding the site to the trusted sites, resynced the SP servers time etc.
    But nothing helped.
    The ribbon is not working only for the Central Administration, it is working for web applications created.
    I could not create a new web application, create a new service application, could not select a webapplication or simply i cannot do any thing on Central Administration.
    Need help on this, Thanks in advance.

    Couple of things, you can check..
    1) Run the Internet Explorer as Administrator and then open CA,
    2) make sure your Admin account is in Local Admin group,
    http://epmgelist.wordpress.com/2013/06/14/central-administration-greyed-out-ribbons-and-missing-functions/
    Check if UAC is enable or disable?
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

Maybe you are looking for