Question about Gantt Diagram in SharePoint 2010

Hello guys,
how can I change the colour of the bar plots in the Gantt Chart. I would like to use JavaScript and change it from green to red.
Is there a Script or something and which class I have to use?
I hope you can help me!
Best regards
Matthias

Try below:
http://qandasys.info/tag/gantt-view/
http://blog.pathtosharepoint.com/2009/09/08/color-coded-gantt-view/
http://social.technet.microsoft.com/Forums/sharepoint/en-US/ecac0028-e262-4c60-a9b6-f858d900c5bf/color-coded-gantt-view-in-sharepoint-2010?forum=sharepointdevelopmentprevious
<script type="text/javascript">
// Text to HTML
var theTDs = document.getElementsByTagName("TD");
var i=0;
var TDContent = " ";
while (i < theTDs.length) {
try {
TDContent = theTDs[i].innerText || theTDs[i].textContent;
if ((TDContent.indexOf("<DIV") == 0) && (TDContent.indexOf("</DIV>") >= 0)) {
theTDs[i].innerHTML = TDContent;
catch(err){}
i=i+1;
</script>

Similar Messages

  • Question about Everyone Group in SharePoint 2013

    Hi,
    I have couple of question about EVERYONE group below,
             - As per the best practice which Group we should use instead of EVERYONE group in Sharepoint ?
             - What is the difference between Everyone and All Authenticated Users Group
    We have added Everyone Group in different sites, now the question is if we hide this group showing up in sharepoint people picker, is there any impact interms of current site?
             - Is there any way we can hide Everyone group showing up in the people picker only for the site / Site Collection level.
    Please help.
    Thanks
    srabon

    There is no functional difference between the Everyone group and All Authenticated Users (after Active Directory has been upgraded to Server 2003 native schema).
    I'm not aware of any function to hide the group from the People Picker.
    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.

  • Question about creating association between Sharepoint BDC entities using Visual Studio 2010

    I am following this tutorial:
    http://blogs.msdn.com/b/vssharepointtoolsblog/archive/2010/08/02/walkthrough-of-creating-association-between-sharepoint-bdc-entities-using-visual-studio-2010.aspx
    I am getting the following error:
     There is an error in the TypeDescriptors of Parameters on Method with Name 'CustomerToOrder' on Entity (External Content Type) with Name 'Customer' in Namespace 'BdcAssociationSample.BdcModel1'. The TypeDescriptors incompletely define where the Foreign
    Identifiers of Entity 'Order' in Namespace 'BdcAssociationSample.BdcModel1' are to be read. That Entity expects exactly '1' Identifiers, but only '0' TypeDescriptors with the correct Association were found from which to read them.
    I have viewed the following:
    http://lightningtools.com/business_connectivity_services/the-typedescriptors-incompletely-define-where-the-identifiers-of-entity-x-are-to-be-readbcs-error/
    after reading that article, I am still not sure what setting I am missing.  Does anyone have the full working source code from the msdn article linked above?

    Hi,
    According to your post, my understanding is that you got the symbols not loaded error.
    First try rebuilding your project by right mouse click the project > Rebuild If that doesn't work, try a clean of the project (right mouse click on the project > clean)
    If that didn't work check this:
    Right mouse click your project
    select [Properties]
    select the [Build] tab
    make sure [Define DEBUG constant] and [Define TRACE constant] are checked
    Click the [Advanced] button at the bottom of the Build tabpage
    Make sure that [Debug Info:] is set to [full]
    Click [OK] and rebuild the project ;
    Hope that works for you! (step 6 generates the .pdb files, these are the debugging symbols)
    What’s more, you can clean & re-compile the code, then install the respective dlls one more time to GAC (just remove them before adding to GAC again), do an IISReset to check whether it works.
    More reference:
    http://stackoverflow.com/questions/2155930/fixing-the-breakpoint-will-not-currently-be-hit-no-symbols-have-been-loaded-fo
    http://stackoverflow.com/questions/2301216/the-breakpoint-will-not-currently-be-hit-no-symbols-have-been-loaded-for-this-d
    http://geekswithblogs.net/dbutscher/archive/2007/06/26/113472.aspx
    Thanks,
    Jason
    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]
    Jason Guo
    TechNet Community Support

  • Question about renaming sync'd SharePoint Online document library with OneDrive Pro

    If I have a site called http://mycompany.sharepoint.com/sites/Department/Documents created as a document library subsite, the OneDrive Pro share will show it under "OneDrive @ My Company" as "Documents - Documents".
    What would I need to change in order for the OneDrive sync'd view to show as "SubsiteName Documents - Documents"? 
    Can I do this by just changing the title of the subsite's header (i.e. changing 'Documents' to 'Department Documents', or does the whole subsite path name need to be changed (i.e. /sites/Department/DepartmentDocuments/)?

    You can invite people to your SharePoint site using External Accounts (Microsoft Accounts or other tenant Office 365 accounts) which there is no charge for.
    Office 2010 will not currently impact your ability to use O356.
    http://office.microsoft.com/en-us/office365-sharepoint-online-enterprise-help/manage-external-sharing-for-your-sharepoint-online-environment-HA102849864.aspx
    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.

  • Questions about installing SSD on my 2010 Macbook Pro

    Hey there.
    I have a Macbook Pro 2010. 15 inches and 2.4 GHz.
    I was planning to upgrade only the memory from 4gb to 8, but realized that while I was at it, I might as well upgrade the hdd to an ssd as well.
    I've lurked around the internet on how to install and set up a solid state drive onto my mbp, and I got the installation part alright (open back, T6 screwdriver, etc etc).
    I'm concerned more about the set up - the process after in which I install my ssd, and installing the OSX - I have not yet found a site with solid step - by - step instructions into doing this.
    Cloning? TRIM? I am getting very confused, and mildly frustrated.
    So basically, after I physically install my SSD (which will be a Samsung 840 by the way), screw the bottom lid back on, then what?
    Just in case this helps: I have the official cd for the Snow Leopard, as well as the application dvd and ilife. A lot of people are saying something like install Lion via internet or a purchased usb. Can i simply just install my snow leopard by the cd, and then upgrade it to lion after?
    And I know that the 2010 mbp does not support SATA3. Im buying it simply for future upgrades.
    Thanks for reading my post.

    Let's see if I can help...
    You already are aware that you can't have SATA III speeds, but you're already ahead of me on that one - I always suggest anticipating for future needs.
    You've already made your choice of drive (and size, I'm guessing) and you know that you'll need a Phillips #00 and a Torx T6 screwdriver. I'm assuming that you've watched plenty of videos...
    ...so now, how to get everything working? What I would do is to buy an inexpensive USB enclosure for your old drive, install the new SSD and boot from the old drive, use Disk Utility from the old drive to format the SSD as "Mac OS Extended (Journaled)" with a single GUID partition, and then use Carbon Copy Cloner (free for 30 days) to clone your old drive to your new drive (this is assuming that your SSD has similar space as your old HD?).
    It's a simple procedure - pretty simply outlined here -> https://discussions.apple.com/docs/DOC-4122.
    The only uh-oh is if you have far more data on your HD than space available on your new SSD. That presents a new challenge. Write back if my method won't work because of space issues.
    Oh, and I use Trim Enabler to enable TRIM on my SSD - the only drawback is that every time there's a .1 update to OS X, you must run it again and restart.
    Clinton

  • Question about ER diagrams and table

    Are there any good online articles that could give you a step-by-step hint on ways in coming up with the perfect tables design and relationship from a business requirement...

    Be very careful about the word "perfect" ...
    Perfection may be possible for a few relatively simple requirements (though even then highly respected practicioners disagree, violently sometimes, on certain things - google "surrogate key" for example).
    Large systems with complex overlapping and possibly conflicting requirements are always a compromise.
    And then the "almost perfect" logical model hits the performance wall ...

  • Sharepoint 2010 Database Storage double in size

    Hi,
    I've noticed something interesting about content databases on SharePoint 2010. I appears that size of the database is double the size of the content. Is this how SharePoint is designed?
    For example, the web application content database "Current storage used: 2837 MB" in Central Admin, but if I check the actual content database size in DB Server it shows 4223 MB.

    1st we need to identify that which thing is causing this issue:
    open the SQl management Studio and connect to the SQL server from here:
    right click on the Database > Reports > Standard Reports > Disk
    Usage By Table
    Check which table is chewing all the space(i.e alldoc, audit, alldocstream etc). if it is audit then you have to think becuase audit table never count towards quota.
    2nd) also check if there is any white/free space in the content db.
    3rd) make sure not too much data in the Site collection Admin recycle bin(2nd stage), this is not counting towards the quota.
    4th) run the below script to force the recalculate the space of the site collection.
    $URL = "https://<spsite>/<sitecollection>"
    $Site = Get-SPSite -identity $URL
    $Site.RecalculateStorageUsed()
    $site.Usage.Storage
    please share the result.
    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

  • Integrating Oracle DB 11g with SharePoint 2010

    Hi,
    Here is my server infrastructure :
    Server1: Oracle Database Server Enterprise Edition (11.2.0.1.0) 32bit version installed on Windows Server 2008 SP1 32bit
    Server2: WebLogic server 11g (10.3.5) and Forms 11g (11.1.2.0.0) 32bit version installed on Windows Server 2008 SP1 32bit
    Server3: MS SQL Server 2008 64bit & MS SharePoint 2010 installed on Windows Server 2008 SP1 64bit
    I need to now develop a UI integrated in SharePoint(Server3) that will perform CRUD operations on the Oracle DB (Server1).
    Do I need to install Oracle Access Manager (OAM) or use Business Connectivity Services or anything else to talk to Oracle DB?
    Is the 32bit DB compatible with 64bit SharePoint? If yes, can I use 32bit OAM with SharePoint?
    Is Oracle Identity Management required? Do I need to install Weblogic Server and SOA on the DB server?
    Can someone please help me with the next steps? How should the infrastructue change? Please also suggest on the 32/64bit versions as well.
    Oracle support team asked me to check with the SharePoint team.

    I am not sure about 32 bit, Because SharePoint 2010 is only 64bit. 
    Another thing is you have to install the Oracle Client on all sharepoint server in order to connect the Oracle.
    Here are some helpful articles.
    http://msdn.microsoft.com/en-us/library/office/ff464424(v=office.14).aspx
    http://lightningtools.com/bdc_meta_man/how-to-connect-sharepoint-bdc-to-oracle-through-tns/
    http://www.c-sharpcorner.com/uploadfile/anavijai/how-to-connect-to-the-oracle-database-using-business-connectivity-services-bcs-in-sharepoint-2010/
    http://www.layer2solutions.com/en/community/FAQs/BDLC/Pages/How-to-connect-SharePoint-list-with-Oracle-data.aspx
    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

  • SharePoint 2010 trial is not installed in windows 7

    I have downloaded Sharepoint 2010 Server Trial from this link
    http://www.microsoft.com/en-in/download/details.aspx?id=16631
    When i am trying to install after downloading in Windows 7 System, alert message shown as "This product requires windows server 2008 service pack 2 or above"
    I found one solution in http://stackoverflow.com/questions/11025716/unable-to-install-sharepoint-2010-in-windows-7
    I try that solution installation gets start at the end there is an error in installation  when i open the setup log file 
    MSXML version check passed. Minimum required version is [6.10.1129], installed Version is [6.30.7600.16385].
    Showing parent-less message Title: 'Setup Errors', Message: 'Setup is unable to proceed due to the following error(s):
    This product requires Windows Server 2008 Service Pack 2 or above.
    Correct the issue(s) listed above and re-run setup.'
    Message returned: 1
    Error: Catalyst boot time check failed Type: 66::PreReqCheckFailure. "
    How can i install Sharepoint server in windows 7 please advice. I also tried to install Windows Server 2008 R2 system it algo gets not installing and did not found the MSI log file.
    Please try to solve my problem.
    Thanks,
    Selvakumar.S

    You need the Windows 7 pro or enterprise edition. check this
    http://social.technet.microsoft.com/Forums/office/en-US/8ab9fbfa-cbda-4631-bba7-86ef3e420e5d/sharepoint-2010-trial-version-installation-on-windows-7?forum=sharepointadminprevious
    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

  • SharePoint 2010 Search "Did You Mean" | How does it work?

    My customer has raised a concern that "Did you mean" functionality works inconsistently and issue is explained as below:
    1. When I search for misspelled word such as "Maketting" , search page displays the option "Did you mean ""Marketting"?
    2. When I search for another misspelled word "Marktng", I get no result and no "Did you mean" option.
    I believe there is a dictionary which maintains the mapping between misspelled word and the correct words but I was unable to track the location whether it is in database or a file system. Has anyone faced this issue and know the solution? Below article
    talks about a "Dictionary lexicon" but not sure about the location in SharePoint 2010 farm.
    http://www.petestilgoe.com/2009/10/sharepoint-search-how-features-work-part-1/
    Thanks and Regards
    -DB
    DB

    Hi Deepak,
    “Do you mean” functionality is enabled by selecting Query Suggestions in Search Box web part.
    Suggestions are automatically built based on what search results are actually clicked on. It takes 6 clicks within a year for SharePoint to add a suggestion.
    However, if an administrator needs to add a suggestion manually this can be done using the SharePoint 2010 Management Shell (PowerShell).
    I recommend to use PowerShell to check all the suggestions in the Search Service Application, and then remove the one that you do not need.
    $ssa=Get-SPEnterpriseSearchServiceApplication
    Get-SPEnterpriseSearchQuerySuggestionCandidates -SearchApp $ssa
    Remove a suggestion, such as “Marketting”:
    $ssa=Get-SPEnterpriseSearchServiceApplication
    Remove-SPEnterpriseSearchLanguageResourcePhrase -SearchApplication $ssa -Language En-Us -Type QuerySuggestionAlwaysSuggest -Identity "
    Marketting "
    More references about the query suggestion:
    http://blogs.technet.com/b/chad/archive/2010/06/24/tip-34-adding-a-sharepoint-2010-search-suggestion.aspx
    http://sharepointfieldnotes.blogspot.jp/2011/09/sharepoint-2010-search-query.html
    Thanks,
    Victoria
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Victoria Xia
    TechNet Community Support

  • Error in migrating SharePoint 2010 list fields to Office 365 list [CSOM]

    Hi,
    I am trying to migrate a SharePoint 2010 list to Office 365. I created a new ListCreationInfo for a new list in O365. But when i am to trying add fields from SP2010 list, its giving me an error after list.update()  -
    A duplicate field name "fa564e0f-0c70-4ab9-b863-0177e6ddd247" was found.
    if (!l.Hidden)
    ListCreationInformation creationInfo = new ListCreationInformation();
    creationInfo.Title = l.Title;
    creationInfo.TemplateType = l.BaseTemplate;
    List list = web.Lists.Add(creationInfo);
    //Fields in the list
    ctxOnPrem.Load(l.Fields);
    ctxOnPrem.ExecuteQuery();
    foreach (Field f in l.Fields)
    list.Fields.AddFieldAsXml(f.SchemaXml, true, AddFieldOptions.DefaultValue); list.Update();
    Note- l is the SharePoint 2010 List.

    Answer given on StackExchange -
    http://sharepoint.stackexchange.com/questions/128875/error-in-migrating-sharepoint-2010-list-fields-to-office-365-list-csom/129015#129015
    Thanks,
    Thomas

  • OS 7 Compatibility Issues with Sharepoint 2010

    I have a number of external users (not on my BES) that need to log on to our company sharepoint site.  Any BB users with os 5 or 6 are prompted correctly with requests for logon info.  Anyone with BB 7 is not prompted and gets an error 401 access denied message.  Does anyone know how to help bb users with os 7 to authenticate to any sharepoint 2010 site?

    Hi kdeutsch,
    Here are some examples about compatability issues of SharePoint 2010 and Office 2013. Please have a take at :
    http://social.technet.microsoft.com/Forums/en-US/fde11a55-4f9a-420d-b2a1-b000a81c6795/compatibility-issue-between-desktop-office-2010-and-sharepoint-2013?forum=sharepointgeneral
    http://social.technet.microsoft.com/Forums/en-US/a7bbb703-4bf0-4f2d-b27a-74aa03aa7e6c/ms-office-2013-and-ms-shaarepoint-2010-compatibility?forum=sharepointadminprevious
    http://social.technet.microsoft.com/Forums/en-US/c0eb8246-d8b1-4b78-b603-d08f803c3d17/will-infopath-2013-compatible-with-sharepoint-2010?forum=sharepointdevelopmentprevious
    http://support.microsoft.com/kb/2755126/en-us
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • The question about the sharepoint server 2010 install

    Hi Friends,
    i have a question about the sharepoint server 2010 install. 
    my computer is used the windows server 2008 service pack 1. in order to install the sharepoint 2010 server, i need to choose to windows server 2008 service pack 2. my question is when i install the windows server 2008 service pack 2,whether the inside
    of my computer  information will be lost or change? 
    thank you in advance. 
    Qearl

    Hi ,
    No data will be lost either from your Windows program files or other drives as long as it is an upgrade.
    After upgrade you will still be able to see your old program files under windows.ol folder in the C: Drive of the new OS.
    The data will be lost only when you perform a clean install like complete formatting the HArd disk and installing from scratch.
    As mentioned it always good to maintain a backup preferable important files in a skydrive as there is a good chance of external drives crashing.

  • SharePoint 2010 question about alert to external user

    Any ideas about how to implement an alert within SharePoint 2010 that would cause an alert to be sent to a user outside of one's organization when the value of an "Assigned To" column within a list is set to that external user's e-mail address?

    It should just work. Make sure to check your mail flow (e.g. Exchange server transport logs) to validate the mail is leaving the organization. Also make sure that the user that it is Assigned To has an email address assigned to them in the User Information
    List (for their User account).
    Trevor Seward
    Follow or contact me at...
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • SharePoint 2010 Performance Zoom In Zoom Out Button Gantt View

    Hello guys,
    I'v got a question. I've implemented a Zoom In / Zoom Out Button with JavaScript above the Gantt View, but the performace is not that good. When I presse the Buttons in the ribbbon menu it reacts very fast, but the other Buttons react in contrast very slow.
    Should I use another method of implementing?
    Best regards
    Matthias

    Hi,
    According to your post, my understanding is that you want to customize Zoom In/Zoom Out for the Gantt View.
    Please check that whether there are setTimeout methods in your code.
    Here are some JavaScript functions that you can use for Zoom In /Zoom Out feature.
    function ZoomIn()
    WebPartWPQ1_JSGridController.ZoomInGantt();
    function ZoomOut()
    WebPartWPQ1_JSGridController.ZoomOutGantt();
    “WebPartWPQ1” is the ID of the Gantt View Web Part, you can find it by using F12 IE developer.
    More information:
    http://www.tekritisoftware.com/custom-sharepoint-2010-gantt-view-zoom-out-zoom-in
    Best Regards
    Dennis Guo
    TechNet Community Support

Maybe you are looking for