Gantt Chart View not listed in View Selector

View Selector is missing view of type “Gantt” for List based on list template “171” i.e. “TasksWithTimelineAndHierarchy”
Missing Gantt View
Visible in Ribbon
What we have done to create the Gantt view is as follows
We are working with remote provisioning pattern to provision the site and required lists
A Task List is provisioned using CSOM (Managed .Net) via a Provider Hosted App that is hosted as Azure Web Site
We are creating a view based of type “Gantt”
Sample ViewXml used for creating the view. Highlighted below is the property we have set for the same
<View>
<Title>Tasks_View_GanttChart</Title>
<DefaultView>false</DefaultView>
<PersonalView>false</PersonalView>
<RowLimit>30</RowLimit>
<Paged>true</Paged>
<Scope>DefaultValue</Scope>
<ViewType>Gantt</ViewType>         
</View>
Standard View Menu (View Selector) does not show Custom Gantt chart (created via CSOM) in the menu list. Refer screenshot mentioned earlier
Custom Gantt chart view is available in ribbon menu though
The same custom Gantt chart is visible in the standard menu if we are in “out of the box Gantt chart View” (Below ‘OOTB Gant chart’ is created from front end using the template ‘Gantt chart view’)
Sample Code used to create the view
ViewCreationInformation viewInfo = new ViewCreationInformation()
Title = listViewTemplate.Title,
        ViewFields = viewFields,
SetAsDefaultView = isDefaultView,
PersonalView = isPersonalView,
Query = query.ToString(),
RowLimit = rowLimit,
Paged = paged,
ViewTypeKind = viewType
View view = list.Views.Add(viewInfo);
web.Context.ExecuteQuery();
Any clue on this behavior? We have the same issue with Calendar View Type as well for the Calendar List.

I found solution:
You need modify XsltListViewWebPart tool bar option from one value to another, and then back. That solves that bug in SharePoint.
public static void FixGanttIssue(SPList list, string ViewName)
SPSite site = list.ParentWeb.Site;
SPLimitedWebPartManager AllItemsMan = site.RootWeb.GetFile(list.Views[ViewName].Url).GetLimitedWebPartManager(System.Web.UI.WebControls.WebParts.PersonalizationScope.Shared);
XsltListViewWebPart wp = (XsltListViewWebPart)AllItemsMan.WebParts[0];
wp.Toolbar = "Summary Toolbar";
AllItemsMan.SaveChanges(wp);
wp.Toolbar = "Full Toolbar";
AllItemsMan.SaveChanges(wp);

Similar Messages

  • Sort Resource Names in Gantt Chart view

    Hi,
    In Gantt Chart view I'm displaying resource names to the right of task bars but the order seems to be random by task. Is there any way to re-order or define an order for resource name in the Gantt Chart view.
    The defualt order seems to be the order in which they were assigned.

    Hi Pete,
    To the  best of my knowledge, no.  You can sort and renumber resources but it does not change the order.  You are correct, they show in assignment order.

  • Gantt Chart View for Multiple Projects

    Hello all;
    Is there any way to see a complete Gannt view which refers to multiple project. means I' d like to select more than 2 project at the same time and look those Gantt view in order to realize what is going on for all projects.. ?

    Good one Ahmed
    Thanks
    In my opinion however - if you were managing more than one project than Gantt Chart is not the relevant tool for monitoting - you need a dash board - Gantt chart really is useful for getting details of a project. If you see Gantt chart for more than one project then you will need a wall size screen

  • Gantt Chart view disappeard

    HELP! I'm new to using MS Project web and I accidently changed a setting that removed my Gantt chart view. How do I recover it?

    Hi,
    Can you be more explicit? Which setting did you change in your Gantt chart (security setting, filter, columns)? Changing a "setting" of a PWA view should not delete the view.
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • Customizing existing gantt chart view in project server 2013

    Hi,
    I want to customize existing gantt chart view in PWA to allow text labelling on task/milestone names,numberic dispaly of percentage complete,scroll to date functionality.
    Please let me know how can this be done?
    Regards,
    Sufiyan

    Hi Shaik Sufiyan,
    If you know a little java scripting skill, you can definitely do this. You can use IE developer tools to grab the appropriate js file which controls the font.
    Task color can be controlled from server settings -> Manage gantt view.
    Vikram Daruru - MSFT

  • Gantt Chart component not showing the duration (Safari and FireFox on OS X

    Hi,
    I created a Gantt Chart component that should show the duration of several project tasks in a graphical way. I did not specify subtasks, only tasks.
    Because this is a rather simple thing to do (see http://docs.oracle.com/cd/E18941_01/tutorials/jdtut_11r2_58/jdtut_11r2_58_3.html), and apparently the graphical part of the Gantt chart is not shown on my Mac, I would like to know whether someone has tried this on a Windows machine and got it working?
    Kind regards,
    Philip

    In Safari, the "sample" page loads and it shows the graphical part of the Gantt. In Firefox the sample page does not load:
    This XML file does not appear to have any style information associated with it. The document tree is shown below.
    <partial-response><noop/></partial-response>
    Thanks Shay!
    Maybe the WLS is causing the problems at my side? I also noted the left-right mouse swipe movements to scroll in a panel does not work when using my local JDev and IntegratedWLS, but it does work on your sample page.
    Kind regards,
    Philip
    Edited by: verscph on Mar 15, 2012 9:52 AM

  • Transfer Gantt Chart View color's automatically to Team Planner View

    Hi there.  My project has 7 different resources with various Resource Names ending characters.  I've automatically color coded the bars on my Gantt Chart based on resource allocation by using Flags 1-7, Custom Fields, and the formula IIf(Left([Resource
    Names],3)="xxx",Yes,No).  I then change the format of each bar style to the color I desire.  
    I am looking for a way to automatically transfer the colors I have assigned the tasks in my Gantt Chart to the Team Planner view.  I don't believe there is a simple way to do this but would appreciate any help aside from manually formatting each of
    the tasks in Team Planner view.
    Thanks for the help!
    -Joe

    jbarrazotto --
    Alas, there is no way to do what you want with the Team Planner view.  This is because there is no dialog similar to the Bar Styles dialog where you can control the formatting.  Basically, the Team Planner view has definitions for Manually Scheduled
    tasks, Auto Scheduled tasks, Actual Work on tasks, External Tasks, and Late Tasks.  Using the corresponding buttons in the Styles section of the Format ribbon with the Team Planner Tools applied, you can control the fill color and the border color for
    every bar of one of those types.  But there is no way to add other buttons to the ribbon to control the Gantt-like bars that are shown in the Team Planner view.  So, what you want to do with the Team Planner view is not possible.  Sorry. 
    Hope this helps.
    Dale A. Howard [MVP]

  • Gantt chart view

    Hello 
    Im new to project coming from a Primavera background, still trying to get used to the features. So this isnt really a problem just annoying really. When i open projects the gantt chart date always shows 2013 so i have to drag it along i thought maybe i could
    reset the date so the status date always shows instead. Is this possible?
    Thanks in advance :)

    Kathhee,
    The view will open as you left it.  As an alternative you can press Scroll to Task (CTRL-SHIFT-F5) and it will display the Gantt chart as per the focused task.
    Ben Howard [MVP] | web |
    blog |
    book | P2O

  • Help with a Gantt chart view (Project Tasks) - Tasks and chart misaligned vertically

    I have created a Gantt chart for a task list and on some computers (all on I.E. 9), the chart is misaligned with the table on the left.  The "row height" of the bars on the chart is less than the height of the rows in the table, so about 10-15
    tasks down the lists things become very misaligned, and by the bottom of the page, the table goes 2-3 complete rows past the bottom of the chart.  How can I correct this?
    On a similar note, is there a way to color code the bars or anything to make it easier to associate them with a task/assigned to/etc?

    This is a rendering error on IE, try changing your zoom level on the browser.

  • Gantt Chart Data not getting pouplated

    Hello,
    I am using Gantt charts in apex for showing up large data.
    I am following this method to store huge data which is in xml(more than 32k) into a page item. (http://apex.oracle.com/pls/otn/f?p=35254:5:877211585824396::NO).
    I set my session state like APEX_UTIL.set_session_state (p_name => 'P10_DATA', p_value => APEX_APPLICATION.g_x01) and pass this item into gantt chart
    The problem i am facing is that even though i see that the value of P10_DATA is populated with all the data during debugging, upon opening session and checking the item's value, it displays null !!!
    Note:For data with less than 32k, Gantt chart loads correctly and the item's value gets saved.
    Anyine please help me with this..
    Regards,
    Uday

    Hello,
    I am using Gantt charts in apex for showing up large data.
    I am following this method to store huge data which is in xml(more than 32k) into a page item. (http://apex.oracle.com/pls/otn/f?p=35254:5:877211585824396::NO).
    I set my session state like APEX_UTIL.set_session_state (p_name => 'P10_DATA', p_value => APEX_APPLICATION.g_x01) and pass this item into gantt chart
    The problem i am facing is that even though i see that the value of P10_DATA is populated with all the data during debugging, upon opening session and checking the item's value, it displays null !!!
    Note:For data with less than 32k, Gantt chart loads correctly and the item's value gets saved.
    Anyine please help me with this..
    Regards,
    Uday

  • Gantt chart is not showing the topmost task properly

    Hi,
    I have tried to create a gantt chart similar to [http://www.anychart.com/products/anygantt/gallery/sample_02.html]
    , except the connectors are not necessary. I could do this by dropping some parts out from the custom XML, but the parent tasks are always displayed with the same style as the child tasks. I want to make the parent periods display so that they are different from the child periods like in the chart example, where they are gray and thinner. How is that possible ?
    Tiina

    Hi Tiina,
    Firstly, just to explain the current behaviour, the timeline bars in Gantt charts generated in APEX have a default style called defaultStyle applied to them. This style controls the appearance of the various components of the timeline region, such as the actual bar colour, the progress bar colour, etc. The default style needs to be applied to the <task> tags within the chart XML i.e. the tags containing the data for your Gantt chart. In order to allow our users to control the appearance of the timeline items via attributes on the Chart Attributes page, we update the default Style with values selected on the Chart Attributes page and then we reference that style in the <task> tag, as follows:
    <project_chart>
      <tasks>
        <task id="7782" parent="" name="Charts Integration" actual_start="2009.03.21 12.03.00" actual_end="2009.09.21 12.09.00" baseline_start="2009.03.18 12.03.00" baseline_end="2009.09.26 12.09.00" progress="60" style="defaultStyle"/>
      </tasks>
    </project_chart>....where style=&quot;defaultStyle&quot; is the reference to the style. If you look in the XML you'll see where the default Style has been defined. The <tasks> tags are generated at runtime, and populated with the resultset for the chart series query. If we didn't apply a default style to these tags, then users would be required to manually generate the <tasks> tags themselves in order to apply a style to their Gantt chart data.
    In AnyChart, no style has been applied to the example you selected - http://www.anychart.com/products/anygantt/gallery/sample_02.html - only default AnyChart settings are being used here. Due to the existence of style=&quot;defaultStyle&quot; in your Gantt data, you'll have to make the necessary changes within the </styles> tags of your XML. These changes can be made via the options exposed on the Chart Attributes page or by customizing the XML. I know this isn't exactly the same as the AnyChart example, but you can achieve something similar by just updating the Chart Attribute settings, as done on this example: http://apex.oracle.com/pls/apex/f?p=36648:50. I hope this helps.
    Regards,
    Hilary

  • Problem with Gantt chart data (not a newbie)

    Post Author: wbvczar
    CA Forum: Charts and Graphs
    I am pulling data from an SQL 2000 database that stores the date as UNIX time in a string field.  Once I pull the data into Crystal via a Command, I then create a formula to convert to DateTime  format.  The problem is that when I enter this formula into the Chart Expert, it wants to count it instead of seeing it as a Date field. Is the problem because the original field format is not a DateTime field in the database?

    Post Author: wbvczar
    CA Forum: Charts and Graphs
    The formula (actually a function) is quite detailed (and lengthy) to compensate for daylight saving time changes.  I have posted it below, but I can verify that it is not splitting out the date and time separately.//Function  (numberVar v1)//date(1970,01,01)//Truncate((v1/(606024))-(5/24))Function (numbervar v1)//formula to adjust for UNIX time//HD stores dates as number of seconds since 1/1/1970 in Universal or GMT time. //convert from seconds to a date, //then convert to EST //finally, validate date for daylight savings time  // convert ARS date from # of seconds since 1/1/1970 in Universal (or GMT) timedatetimevar GMTdate := datetime(1970,01,01)(v1/(606024));//this equation tells the system when daylight savings time starts: datevar DaylightStarts :=                                                   if DayOfWeek ( Date (Year (Today),3 ,8 ) ) = 1 then Date (Year (Today),3 ,8)  else if DayOfWeek ( Date (Year (Today),3 ,9 ) ) = 1 then Date (Year (Today),3 ,9)  else if DayOfWeek ( Date (Year (Today),3 ,10) ) = 1 then Date (Year (Today),3 ,10) elseif DayOfWeek ( Date (Year (Today),3 ,11) ) = 1 then Date (Year (Today),3 ,11) elseif DayOfWeek ( Date (Year (Today),3 ,12) ) = 1 then Date (Year (Today),3 ,12) else if DayOfWeek ( Date (Year (Today),3 ,13) ) = 1 then Date (Year (Today),3 ,13) elseDate (Year (Today),3 ,14 );    //this is when it ends: datevar DaylightEnds :=                                                            if DayOfWeek ( Date (Year (Today),11 ,1 ) ) = 1 then Date (Year (Today),11,1 ) else if DayOfWeek ( Date (Year (Today),11 ,2 ) ) = 1 then Date (Year (Today),11,2 ) else if DayOfWeek ( Date (Year (Today),11 ,3 ) ) = 1 then Date (Year (Today),11,3 ) else if DayOfWeek ( Date (Year (Today),11 ,4 ) ) = 1 then Date (Year (Today),11,4 ) else if DayOfWeek ( Date (Year (Today),11 ,5 ) ) = 1 then Date (Year (Today),11,5 ) else if DayOfWeek ( Date (Year (Today),11 ,6 ) ) = 1 then Date (Year (Today),11,6 ) else Date (Year (Today),11 ,7 );//The timeadj equation adjusts things for daylight savings & time zone // if today is less than the 1st Sunday in April, or greater than or //equal to last Sunday in October then adjust 5 hours, else if DST then 4numbervar timeadj :=if (GMTdate < DaylightStarts) or (DaylightEnds <= GMTdate) then 5 else 4;//put it all together and we have datedate(GMTdate-(timeadj/24))

  • There is a view named &gantt chart in this project which cannot be overwritten

    Hello,
    I'm using Project Server 2007 SP2. While opening a plan, we are getting the following error
    "There is a view named &gantt chart in this project which cannot be overwritten"
    However, we are not getting the same error for other plan. Is there any changes to be done in the enterprise Global? How to rectify the error? Kindly help.
    Thanks!

    Sandhya987 --
    In addition to Guillaume's excellent answer, you should know that this problem was not caused by the project manager.  The problem was caused solely by the actions of the Project Server administrator.  The Enterprise Global file is reserved for
    ONLY enterprise views, tables, filters, and groups.  For example, there is a default enterprise view named Enterprise Gantt Chart and there is a default enterprise table named Enterprise Entry.  The Project Server administrator should NEVER add local
    views to the Enterprise Global, such as the Gantt Chart, Resource Sheet, etc.
    So, how did the Gantt Chart view end up in the Enterprise Global?  I doubt the Project Server administrator did this intentionally.  Instead, my guess is that he/she applied the regular Gantt Chart view while he/she had the Enterprise Global file
    open for editing.  If the Project Server administrator applies any local view (such as the Gantt Chart view) while he/she has the Enterprise Global file open for editing, Microsoft Project COPIES that view and its default table into the Enterprise Global
    file.  So, if he/she applies the Gantt Chart view while he/she has the Enterprise Global file open, Microsoft Project copies BOTH the Gantt Chart view AND the Entry table into the Enterprise Global file, thus polluting the Enterprise Global file with
    a local view and table.
    To clean up the pollution, keep in mind that your Project Server administrator will need to delete all local view AND all local tables as well.  As the article indicates, as cited by Guillaume, the problem you are facing is a common one, so welcome
    to the club!  :)
    Hope this extra helps.
    Dale A. Howard [MVP]

  • ADF Gantt Chart refresh on drag and drop not working

    Hi All,
    I am using jDev 11.1.1.6.
    I have a bounded task flow with two page fragments. On the first fragment, I have some filters and on the second fragment I show the Gantt Chart.
    I have a data change listener associated to it. When I move a task from one time to the other, the data change listener is invoked and I can see that the database values are also updated with the new time values.
    But, after the refresh the task still shows up on its old time period and not the new one. But, if I open the application again as a fresh one, it shows up in the new time period.
    I have tried refreshing the iterator within the data change listener but it still doesn't work and the gantt chart in not getting updated instantly.
    Need help.
    Thanks in advance,
    Ankit

    Hi All,
    I raised a SR for this and the analyst filed a defect. The bug number is "Bug 18195263 : ADF GANTT CHART NOT UPDATED PROPERLY WHEN MOVING A TASK".
    As a workaround, I am manually refreshing the child rows after calling the update DB procedure (Procedure that updates the start date and end date).
    //Get the Master View
    ViewObjectImpl empVO = this.getemployeeList1();
    Row[] grpRow = empVO.findByKey(new Key(new Object[] { empNo }), 1); 
    // Get Child Rows using ViewLink Accessor
    if(grpRow.length>0){
    RowSet childRows = (RowSet)grpRow[0].getAttribute("empTasksView"); 
    //Execute Child Rowset
    childRows.executeQuery(); 
    Thanks,
    Ankit

  • Ganntt Chart view

    Although I have set a project start date for say 01/02/14 which then ends say 90 days time, and I add tasks, when I then save and reopen the project the gantt chart view always opens at August 2013 and I then need to scroll to my current date.
    How can I set the gantt view to always, at least, view from my project start date and not some months before.

    Scroll the Gantt chart in Jan then save and open it again. while saving if you sroll gantt chart in Aug then save and reopen it will show Aug in gantt chart(default behavior)
    Check setting in Project Information dialog start date, current date, Status date, Check the start date of the task if any of the task will start in August 2013.
    Open View tab select timescale as days or week then save the plan.
    kirtesh

Maybe you are looking for

  • Binary Search in Dynamic Read

    Here is the code       read table <fs_it_crv> assigning <fs_wa_crv> with key                                   ('objty') = wa_plfh-objty                                   ('objid') = wa_plfh-objid                                   binary search. If i

  • I can only see 3 rows of images at any time on google images. The next three lines are grey boxes and the rest of the images after those are completely blank...HELP!

    <blockquote>Locking duplicate thread.<br> Please continue here: [[/questions/890848]]</blockquote> When in Google images. I ca only see the first three lines. The next three rows are grey boxes. After that the rest of the images do not display at all

  • AIR for iOS app works perfectly in emulator, not at all on an actual iPad

    I'm new to mobile development, so I'm hoping I am doing some simple wrong, like a wrong checked box or something. I have an app that I have written for iPad. It's fully functioning when I run it through the emulator (I have to change it to Flash 10.1

  • Graphs & charts in Jdev 10.1.3

    I nead to make graphs and charts in my webapp. (EJB 3.0 & ADF Faces) In Jdev 10.1.3 there are BI Beans Graph and OJDM extensions. Can I do graphs/charts with those Extensions ? How ? Otherwise, do you know other products ? What do you think about cew

  • Errors after system copy ...

    Dear all, envi---         AIX 5.3 & oracle 10.2  -   ECC 6.0SR1    ABAP ........only I have restored a backup of PRD to QAS successfully ... for system copy... I have created ops$ users with following statments.. create user ops$qlyadm identified ext