Deselect all available Zoho Project Users Check Box when creating a new CRM Contact Project

Deselect all available Zoho Project Users Check Box when creating a new CRM Contact Project

Currently, if you have Zoho Projects linked to Zoho CRM and you go to a Contact and select New Project



You will get to the option to create a new project. The default setting has all Zoho Project users selected, not really an issue unless you have more than 30 or 40 users. Which we do, and to manually go through and deselect all the users that are not required for a particular project is very time consuming. 

Fear not, I have a script that has helped my team and thought I would share in hopes that Zoho might add a similar check box to deselect or select all users to the screen option.

Once you select New Project you will see this Create New Project option dialog.



If you notice all users are selected by default, you can use the following javascript in the Console of your browser or use a browser gesture extension to trigger the javascript function. For now that is unless the Zoho team takes up this recommendation.

After running the function it will deselect all project users ( Note Admins will always be added to every project regardless of these checkboxes)



Well here is the magic, hope this helps someone with a large team of Zoho CRM and Zoho Project Users.

  1. // Written by Thomas Pursifull 5/6/2016
  2. // Zoho Projects deselect all users function
  3. // Lets get all the check boxes
  4. var checkBoxes = document.querySelectorAll("input[type='checkbox']");
  5. var checkBoxesLength = checkBoxes.length;
  6. // Set up storage of the length of real project users check boxes
  7. var userCheckBoxCount = 0;
  8. // Get the length of the users by looping through all of them and tallying the project user check boxes
  9. for (i = 0; i < checkBoxesLength ; i++) { 
  10. var projectUsers = document.getElementById('ProjectConfig_createProjectUsers_' + i + '__selected');
  11. if (projectUsers){
  12. // Tally we found a Project user check box
  13. userCheckBoxCount += 1;
  14.     // contains a Project user
  15. } else { 
  16.     // does not contain a project user
  17. }
  18. }
  19. // loop through the Project user check boxes and deselect them
  20. for (i = 0; i < userCheckBoxCount; i++) {
  21.   document.getElementById('ProjectConfig_createProjectUsers_' + i + '__selected').checked = false;
  22. }
Cheers!

Thomas Pursifull
    Zoho Desk Resources

    • Desk Community Learning Series


    • Digest


    • Functions


    • Meetups


    • Kbase


    • Resources


    • Glossary


    • Desk Marketplace


    • MVP Corner


    • Word of the Day


      • Sticky Posts

      • Tip: How to print the Gantt View

        Though we move from the traditional project management system (using papers) to an online project management system, we still prefer to have a printed copy of the activities/tasks that are to be done in the project. This way, we can carry the to-do lists with us for the meetings and refer when we are offline. The print option, available at the right side of the page, allows the users to print the project information across all the modules. However, this option failed to print all the tasks & milestones
      • Project Management via Emails in Zoho Projects

        We write mails to communicate. In Zoho Projects, we can write mails to collaborate. Yes, Zoho Projects supports Email based project management. The mails that you send turn into tasks, bugs, project comments, forum replies, etc. The following are some of the frequently asked questions that might be of some help to you. What are the pre-requisites to manage my projects through Emails? You need to have a personal / business mail ID that is registered and confirmed with accounts.zoho.com To learn more
      • Four types of task dependencies

        "Nothing is particularly hard if you divide it into small jobs."                                                                                                                  - Henry Ford Projects, small or large, are driven by simple work units called tasks. Monitoring standalone tasks might look simple but as the workflow becomes elaborate, tasks may start relying on one another. In project management, this relationship between tasks is termed as "Task Dependencies". Dependency between tasks arise
      • Task and Project numbering

        Zoho Projects now generates a unique number for each project, task, and issue added. The auto-generated ID is a combination of a prefix and a number which is assigned by Zoho Projects. The unique IDs for projects, tasks, and issues will be useful to track, identify, and search easily. You can modify the settings to enable or disable the Project and Task IDs.  Learn more on how to modify Prefix & ID settings for projects and tasks. Issue IDs cannot be disabled, only its prefix can be changed (tasks
      • Task Inline Editing Enhancement

        Hi All, Today, we have made an enhancement in task inline editing. In 4.0, task edit is moved in a single screen in a pop-up. We designed this in-order to make the task edit across the product to be the same. Let it be in Feeds, Tasks & My Tasks tab, Calendar & My Calendar tab, a click on the task title will open the popup and user can edit the values. Customers pointed us the inline editing was very useful to them & how much they miss that in 4.0. Based on the feedback, we have rolled out this enhancement.

      Zoho CRM Plus Resources

        Zoho Books Resources


          Zoho Subscriptions Resources

            Zoho Projects Resources


              Zoho Sprints Resources


                Zoho Orchestly Resources


                  Zoho Creator Resources


                    Zoho WorkDrive Resources



                      Zoho Campaigns Resources

                        Zoho CRM Resources

                        • CRM Community Learning Series

                          CRM Community Learning Series


                        • Tips

                          Tips

                        • Functions

                          Functions

                        • Meetups

                          Meetups

                        • Kbase

                          Kbase

                        • Resources

                          Resources

                        • Digest

                          Digest

                        • CRM Marketplace

                          CRM Marketplace

                        • MVP Corner

                          MVP Corner




                          Zoho Writer Writer

                          Get Started. Write Away!

                          Writer is a powerful online word processor, designed for collaborative work.

                            Zoho CRM コンテンツ




                              ご検討中の方