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

Similar Messages

  • 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

  • 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.

  • 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

  • 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 

  • Bug: Auto-archive does not work in Outlook 2010

    The Auto-Archive feature does not seem to work. In my case, I'm creating a mail folder in my inbox and setting the auto archival to "2 weeks, then delete". I run Auto Archival manually. It seems to progress without any error, but I know better.
    It should take the process more than a few minutes to process the mail I have stored up for almost a year. No error and my mail has been untouched.
    I noticed this thread in the Outlook 2010 beta forums
    I'm having the same issue. I'd like this bug fixed if possible? I keep archival folders to manage my mail.

    Hi Canovac,
    Auto Archive works as expected in my environment.   I noticed you said that you created a new mail folder in your inbox.  Did you just create the folder and move the mail to that folder?  Auto archive looks at modified date and if you
    move the mail to that folder that changed the modified date so the mail will not archive.
    To determine the modified date, do the following:
    While on the folder in question:
    Click View > View Settings > Columns
    In the Select available columns from dropdown choose
    All Mail Fields locate Modifed in the Available colums: and click
    Add
    If the mail has not been modified within the last two week span, please test the following for me.
    Start Outlook with the /safe switch and then run Auto-Archive. 
    Does auto-archive work when starting with the /safe switch?
    Regards, Teresa 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.

  • 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.

  • HT6337 HandOff feature does NOT work

    HandOff feature does NOT work on my iPhone6 and iPad Air.
    I have the latest updates (iOS 8.1) installed and my MBP is on Yosemite 10.10...
    I have my iPad Air, iPhone6, and MBP on the same network.
    And, I have bluetooth enabled.
    Yet, I don't see the handOff icon appear on any of my mobile devices...
    Am I missing something??
    Does setting a password on all my devices affect this feature?

    Hello LoreZyra,
    Thanks for using Apple Support Communities.
    To get Handoff working between your devices, please take a look at the article below for settings needed to be configured on your devices.
    Check your settings
    Check the following settings on your iPhone, iPad, or iPod touch:
    Go to Settings > Wi-Fi and turn on Wi-Fi if necessary.
    Make sure your iOS devices are connected to the same Wi-Fi network by going to Settings > Wi-Fi and comparing the name of the network each is on.
    Go to Settings > Bluetooth and turn on Bluetooth if necessary.
    Go to Settings > General > Handoff & Suggested Apps and make sure Handoff is on.
    Go to Settings > Phone. If you seeWi-Fi Calling, turn it off.
    Check the following settings on your Mac:
    Go to the Wi-Fi icon at the top of your screen and turn on Wi-Fi if necessary.
    Make sure your Mac and iOS devices are connected to the same Wi-Fi network. Go to Settings > Wi-Fi on your iOS device and compare the name of the network with the Wi-Fi network on your Mac.
    Go to the Bluetooth icon at the top of your screen and turn on Bluetooth if necessary.
    In System Preferences > General, select “Allow Handoff between this Mac and your iCloud devices.” If you don't see this setting, your Mac may not support Handoff.
    Open the FaceTime app, go to FaceTime > Preferences and turn on “iPhone Cellular Calls.”
    Go to System Preferences, and sign out and then sign in again to your iCloud account.
    Get help using Continuity with iOS 8 and OS X Yosemite
    Take care,
    Alex H.

  • Look Up feature is not working properly.

    Look Up feature will not work if another word is selected inside the Look Up display of the first word. The only solution was to the problem is to click on the word "Dictionary" (so that you will be using the Dictionary application instead) and then you will be able to look up for the second word that was originally displayed in the Look Up display.
    It's really annoying this extra step just to look up for a word. That problem did not happen before installation OS X Yosemite update. I hope they fix that problem

    If you don't get an answer here, you might want to search/ask in the Chinese Mac list:
    http://groups.google.com/group/chinesemac

  • 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 |

  • 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.

  • Windows 8.0 Photo Feature - Collage not Working after Windows 8.1 Upgrade

    Purchased a HP ENVY 23-d160qd TouchSmart All-in-One CTO Desktop PC  with Windows 8.0 Professional factory installed.  Loved the feature that Windows Photo had that would randomly display an ever changing full screen collage of all the jpeg photos save on the computer.  Not sure how this all happened- how configured.
    When I finally updated to Windows 8.1 Professional a few months ago, this feature was not working or available.
    What am I missing?  Really miss this feature a changing collage of 15 years of my history.

    Ranne,
    Welcome to the HP Forum.
    I think you can recover the setup.
    One method to try:
    Windows key (opens your Start Screen) > type anywhere Background >
    Select Change Desktop Background
    There you can select:
    First, Navigate to the the folder from which you want to pull the photos you want to see
    Next, place a check mark next to each photo -- or just select "all" to select the group
    Select the duration (time) for each photo to remain on the screen
    Click the Kudos Thumbs-Up!
    It is a nice way to say “Thank You" for the help.
    Although I strive to reflect HP's best practices, I do not work for HP. 
    Kind Regards,
    Dragon-Fur

  • My "Group" feature is not working in Pages 5.0.1. Any help here?

    My "Group" feature is not working in Pages 5.0.1. Any help here?

    Many site issues can be caused by corrupt cookies or cache. In order to try to fix these problems, the first step is to clear both cookies and the cache.
    Note: ''This will temporarily log you out of all sites you're logged in to.''
    To clear cache and cookies do the following:
    #Go to Firefox > History > Clear recent history or (if no Firefox button is shown) go to Tools > Clear recent history.
    #Under "Time range to clear", select "Everything".
    #Now, click the arrow next to Details to toggle the Details list active.
    #From the details list, check ''Cache'' and ''Cookies'' and uncheck everything else.
    #Now click the ''Clear now'' button.
    Further information can be found in the [[Clear your cache, history and other personal information in Firefox]] article.
    Did this fix your problems? Please report back to us!

  • The 'share' feature is not working in iMovie...?

    The 'share' button does absolutely nothing. I went through the same upgrade on my daughters Mac (Mavericks etc), and it works perfectly well on hers. Does this mean I should re-install iMovie? If so, how on earth to do I unravell the mystery of achieving that?

    I have the same problem. The 'share' feature is not working in iMovie...?
    I deleted iMovie from the Applications folder and emptied the Trash. But the App Store still shows iMovie as "Installed" so it won't reinstall. What else should I try?
    Why has Apple not issued a fix for the "Share" bug? It means that iMovie 10.0 is unusable. Little by little the quality of Apple products is sliding downhill.

Maybe you are looking for

  • After "Remove" of database in OEM, it comes back

    We are doing some DB consolidation and clean up. There are several test databases which we stopped and removed. When I went into the Database tab, I saw that they were showing as stopping in OEM, so I used the Remove button and they went away. Later

  • Printer is on but says not connected

    printer stopped printing

  • Tomcat Trouble

    Hi folks, I hope this is the right forum for this discussion -- if you, I'll be happy if people point me in the right direction. So: I've got a question regarding running Tomcat 4.0.6 as an NT service. During the install, I answered 'yes' when asked

  • Error code after cloning

    After cloning my OS HD to another drive using CCC I'm getting "The operation could not be completed, an unexpected error has occurred(error code -43)" when I click on Time Machine in the dashboard. Does using CCC somehow negate TM or cause it to not

  • Graphic export from Score in Logic 9. What happened to the camera tool?

    I used to export graphics from Score view, using a camera tool. It has disappeared in Logic 9. What happened? Screen dump is too low resolution.