Google Tasks is one handy tool which I use often to create a quick to-do list. It’s simple, efficient and easy to use. What makes it even more powerful is that they are integrated with other Google services like Gmail, Calendar and iGoogle.
It certainly does help me a lot in keeping things organized and with features like directly adding your Gmail emails to task list for follow ups (Press Shift + T) makes it one indispensable tool. If you had not yet explored this tool, launch it by clicking on Gmail(Top left corner) ->Tasks.
The tool currently supports to share your task list via emails. But in most case it’s not sufficient, wouldn’t it be great if there is a way to allow others to update your Task List so that the list always remains fresh and updated. If you are working in team or if there are more than one person managing the list then it becomes a must have feature.
Consider these situations:
- Your project manager has created a to-do list in his account and requires the list to be updated by team members as and when they complete the tasks.
- You are a homemaker and have created a list of things to be bought for this week. Your husband has promised to get some of the things while he is back from office and your maiden has gone out to get few others. So how would you ensure that the list is synced up and is up-to-date?
So, I have come up with an app to address this problem and it will help you in getting this missing feature.
Introducing Shared Google Tasks:
This app will help you share and sync your Google task list with others. You can even share your list with anonymous users who don’t have Google account who can update the tasks and the data will instantly be reflected in your account.
Features:
1. The sync up takes place instantly. There is no polling.
2. Any user with or without Google account can update the list.
3. You can add, edit, mark as completed or pending and delete any tasks.
4. Lesser the chances of running out of usage quota. Only your account is using the app this isn’t the case with third party apps.
How to Create a Shared Google Task List?
1. Configuring the App
Following are one-time setup actions done when you are using the app for the first time.
- Login to your Gmail account
- Click here to create a copy of Shared Google Tasks project.
- Make a copy of it by selecting File-> Make a copy.
- Select Resources -> Advanced Google Services. Toggle Tasks API to on. Then click on the Google Developers Console link on the bottom. Search for Tasks API, click on it and press enable. Close the page. Finally click OK in the pop-up.
- Select Run->AUTHORIZE. Click Authorise-> Accept.
- Now go to line 31 and enter name of the task list you want to share within the quotes. If you are unsure of the name of the list visit Google Tasks and see left column to find it. Please note that the name is case sensitive. Finally press CTRL + S to save the changes.
- Select Run->Initialize.
- Final step is to publish the app. Publish->Deploy as web app. Click save new version. Select, me under Execute the app as option then Select anyone, even anonymous under who has access to app. Click Deploy. Open the URL which is generated.
- Now you should see your tasks being displayed. So you can share this URL with anyone you wish.
Tip: Click on Share with friend now link if you have email client configured.
2. How to use Shared Google Task App
Using the app is straight forward.
– To add new task enter the name in the field provided and click Add.
– To edit existing task, click on pencil icon, update task and click tick button to save.
– To mark a task as complete, click on the check-box available beside the task, completion of which will be indicated via strike-through.
– To mark a task as pending, un-check the check-box.
– To delete any task just click on the trash icon by the side.
Changes you made will be synced instantly without any delay.
Thanks to Google’s simple tasks sample app which inspired this project.
So, did you like the tool? Start creating your sharable Google Task Lists right away. Have any queries or feedback please do share it via comments. Spread the word if you liked the app.
This is very interesting as an experiment (and looks good too), however, if the tasks must be deployed on another url and can’t be shared from the google tasks pop-up itself, then one might as well try one of the millions tasks lists already available.
Xananax,
Welcome! All that this app requires is your Task List name and with that you can instantly created shared task-list which can be accessed and synced by anyone.
I think this is an awesome APP and very useful. I wish there was a way to share multiple lists. Please let me know if it is possible or if I need to modify the code to accomplish it.
As of now only one list per instance is supported. Feel free to tweak the code.
Is it safe to share my google data with techawakening.org?
Hi guys,
Can anyone upload a new link for “copy of Shared Google Tasks project”.
The link on this article is dead π
There is a problem.
I open the URL which is generated. A error pop-up shows: “Sorry! An error has occurred, please try again. ScriptError: Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup”
So, How to fix it? Thanks
Thanks for your comment Frankie! Have updated the link and steps. Please start over and let me know if it worked for you π
Thank for your replying~
However, can you unclock it. I can edit the code
Thanks
You can edit the code in the copy you make. You have write access in that copy.
Well, it was a blank page when I made it as a copy. After over 30s, the copy loaded π
I follow your step, but when the app deploys, it shows: “Sorry! An error has occurred, please try again. ScriptError: Access Not Configured”. I tried it through many gmail account and it didn’t work π
Please help me!
Make sure you have given access to Task API at Google Developers Console.
Nice start, and your tutorial totally rocks.
I half way agree with Xanaxa that the app’s url has to be shared to be useful, and I understand that only has to be done once. Not quite as we would like, but better than anything else I’ve seen.
So, on to testing…
I get an error when I mark an item as finished or pending in the share app:
Sorry! An error has occurred, please try again. ScriptError: We’re sorry, a server error occurred. Please wait a bit and try again.
Items that have been marked finished in the google window show correctly. Adding items in the app works. Adding items in the google window requires a refresh in the app window to be seen .
Google task items have notes, due dates and can be arranged hierarchically. Can those features be added to this app?
I have multiple lists. Can the code that reads the list name read an array of list names? (Of course it can, javascript loves arrays. I’ll get right on it.)
Thanks for this. I think I’m going to have some fun with it.
Robert,
Thanks for those words π
– Ya app URL needs to be shared only then it will serve the purpose for which the app was created. You can use the Share with Friends now link in the app itself.
– Ya completed/pending actions are failing now. On testing it looks like API error not code issue, I have raised the concerned on officially forum will let you know if something turns up.
– Will try adding notes, due dates feature in next version of the app.
– Yes, handling multiple list is very much possible.
Thanks for taking time to share your views, comments will these makes you feel all that work has not gone into vain π And do share/like this article on the web and spread the love.
All our projects are listed at http://techawakening.org/projects/
When I click on the Google Developers Console link on the bottom I get “Error – The project you requested is unavailable.” Did I do something wrong?
Ben,
Create a new copy of the project and try again.
When I try to enable the tasks API on the Google Developers Console it keeps asking me to check that I’ve “read and agree the terms and conditions”. I keep checking the box, but it asks me again. Any ideas?
Hi !
it says “Access Not Configured. Please use Google Developers Console to activate the API for your project.” how do I do that?
Ok I figured it out !
Chris,
Awesome. So what was the problem. May be if you share other users too can benefit π
I was going to my dev console which was wrong because I couldn’t add the project into it directly. I had to go through the menu “Resources”/”Google advanced services” and then click on the link on the bottom of the popup : “google developper console” to have access to it and then activate the tasks API.
(all titles translated from french so it could be different from reality)
Chris,
Ya, each project is considered as a new instance you have to access via the link in the popup it’s project specific link.
I just wanted to add that once you click the link at the bottom of the βResourcesβ/βGoogle advanced servicesβ pop-up, you have to search for “tasks” in the developper console, under “APIs and Auth/APIs” in the left hand column.
Thanks Chris. Will update the steps!
That’s pretty kick-ass. So quick to implement too.
The BFG,
You are most welcome! Please do like/share like this project π
Great app, and nice tutorial to set it up. It works flawlessly! Are you working on implementing the ability to edit tasks?
Keep up the good work!
Helland,
Thanks a lot! Will surely add it in to-do checklist.
Do give a like and share/tweet to give me that energy to make new updates π
Sure I will! Thank you for the fast replay.
Latest version released with edit feature: http://techawakening.org/go/shared-google-tasks/
Hope you love it π
Hi! Is it possible for someone else to edit my list via the Android app? Thank you!
Chocolatesa,
App interface does not support edit feature as of now. Sorry about that!
Ok cool π Are there any plans for implementing that in the future?
Ya very much π Meanwhile do share this app on social networks.
New version released with edit feature: http://techawakening.org/go/shared-google-tasks/
Hope you like it π
Hi – I am trying to implement this and have successfully created a task list. I can share the list via URL to my teammates, but would like them to be able to view the task list in the standard Google Tasks environment. I’m not sure how to get this shared task to show up for others; it’s already in my Google Tasks. Do they need to follow these instructions as well and not just click the link?
Thank you!
Miranda,
Once you have configured and published the app as mentioned in steps. Finally, just click on Share with Friends now link it will open up email client from which you send the link to your teammates.
I’ve tried that, but the link does not work. I have given my teammates the link that comes up when I “Deploy as web app.” However, this just lets them see the list in the app environment, not in Gmail.
Ya that’s the link to share. You can currently see list in app environment only because Gmail still does not have this feature. Hence the reason to write this app π
Hope you liked it. Please do share and spread the word about this app.
Thanks for the help. The first comment made it seem as though we would be able to see the list within the Google interface. Without this feature, there is little to no benefit over any of the countless other task list apps/websites/programs out there.
The app provides you all the features that the default interface provides expect edit option. Would love to know why you wish your team-mates should see the Google interface? May be I could integrate the missing features in future versions. Cheers!
I was hoping for a way to share a task list within the Gmail environment. My team likes the streamlined and simple interface, having the task list within the gmail page without having to open another tab, the ability to add emails to the task list, and being able to move/copy tasks between personal and shared lists. We had all of this with a previous app, that no longer is working.
so in essence, I an interface to let everybody work on my list, on the webapp, even anonymously?
Sam Gardner,
Yes it is. Do try it and share your thoughts π
I’ve published the shared task list, and it worked, but I don’t see a way to edit any tasks; only add or delete. I would have to add them from within Google Tasks?
Tom,
The app still does not have edit feature. Will be adding it in next version. You can add from within app itself.
Now new version of the app has edit feature: http://techawakening.org/go/shared-google-tasks/
Do give a try π
Also, hoping to make this work on an Android phone as well as IOS. Is there a way to do that? Or have to use the phone’s browser to see it?
Ya, please use any browser to view the app it’s platform independent.
this is very useful + helpful, but i’m saddened to see the loss of my Indents…
isn’t there a way to preserve indented tasks, as well as notes / details underneath them? all of that seems to be lost, and the indentation was vital to my list (provided a ‘tree’ if you will…)
thanks for the hard work π
Dara,
Thanks for the feedback π Do spread the word.
Hey Shunmuga,
Shared google tasks is really handy, any plans of uploading it to the app store?
Kinda hard to share it with my less than tech-savvy friends when we work on projects together.
Even just having it on the chrome web store means it can be easily accessed from the apps shortcut.
Thanks again for the code, good luck on future projects.
Trophic,
Thanks for the awesome suggestion! Will do it soon. Meanwhile you can share with them the URL that’s generated at the end.
The next version of the app will be having edit feature. It’s almost done will be releasing it soon. Will keep you posted.
Do spread the word about this article. Would appreciate social sharing π
Our other projects: http://techawakening.org/projects/
New version has been released with edit feature: http://techawakening.org/go/shared-google-tasks/
Hope you like it. Cheers!
Fantastic idea – i have created a shortcut on the iphone homescreen and it works just like an app now. no need for app store.
Would love to see further improvements like supporting multiple lists in one.
Sharing whole accounts with others, not just one list etc.
Also eagerly awaiting the edit feature version
Also the share feature just opens an outlook signup page, would be great if it integrated with gmail instead.
Also is it possible to add sub items to the list? or add dates to sync to calander etc?
Dj,
Thanks for the lovely feedback.
Edit feature is coming soon.
Will consider other features you suggested. Share feature opens the default mail client of your system, you can change it to Gmail. Please follow this tutorial: http://www.hongkiat.com/blog/open-email-links-gmail/
And do share this article on social networks if it helped you out π
Version 2 released with edit feature: http://techawakening.org/go/shared-google-tasks/
Do give a try and share feedback’s π
This tool/app is awesome! Thank you so much for your work on this and for making it available to the general public. I recently set this up for a professor to utilize in order to share a task list with his interns.
I had one question, is there a reason why my edits to the stylesheet file and index file aren’t causing the app to change? I haven’t really used the Script editor much in Google Drive so I might be missing a simple step. So far I’ve just been saving my changes and then re-publishing the app. Any suggestions? The major changes I’m hoping to accomplish are to enlarge the text of the individual tasks and change the text in the title.
Thank you for your time in advance!
Jessica,
Nice to know that this app is of use to many people.
Please make sure you save your changes then create a new version of you app and publish it.
Reference: https://developers.google.com/apps-script/guide_versions
Do spread the word about this app on social networks π
this is cool
what is the license? can i fully edit it?
i would like to change the interface to support RTL languages, adding a due date and comments
maybe even support multiple tasks list, creating a task list, switching between task lists
lyo Nick,
You are Welcome. Sounds great. Yes, you can fully edit it but please leave the attribution in comment section at top as it is. Thanks!
well, something came up (an actual war, can you believe it?)
so i wont get around to this for a while, but hopefully in the future.
thanks any way. i’ll keep the attribution info if and when i’ll get to use it eventually.
Nick,
My prayers with you. Stay safe!
I am almost there. My test code works for me but when I send the URL info my co-worker and it comes with Google Script error…task list you mentioned can not be found. My list is just named “Tasks”. I do have it correct in the script on line 31. What am I missing?
Wendy,
Thanks for notifying me. Found the issue, one of the API used got deprecated by Google so I have used a new one. Requesting you to use the new project and repeat the steps. It should work now.
Sorry for the trouble!
Tested the app out I get a error message as follows: Sorry! An error occurred, please try again. Task List you mentioned could not be found. I hit OK and another error: ScriptError: Invalid JSON string: Not Found. In your instructions it says to edit line 26 that says var TASK_LIST_NAME=”a name from my tasks exactly”; but in my script it has this wording on line 31. I tried a couple of my list names exactly with the same result. Am I putting it in the wrong place? Please advise. Thanks
Tim,
Task name is case sensitive. After entering and saving it, did you select Run->Initialize? Usually this error comes when you don’t initialize.
To add to this please ignore the old version of the project and use the new one released now.
Here is a copy of the script I entered. I started from the beginning and I did it the way you said in detail several times with no luck. I even made a new list name in my task list named list all in small letters and no spaces to make it simple with no luck. Any ideas? Thanks
http://techawakening.org/how-to-create-shared-google-task-list/2411/#comment-20184
No problem at all. I’m looking forward to using it.
Although, we are still getting the same error. I am using the new 2.1 version. I did do the Initialize and my task list is entered in proper Upper case and lower. My test code works. Sent the URL to my co-worker and am receiving the same error as Tim.
All your help is greatly appreciated.
Thanks
Wendy
Strangely for me it is working perfectly. When selecting deploy as app, under execute the app as is ‘Me’ selected?
If possible can you create a sample task list and give the URL to me i will try replicating the problem.
For now I will suggest workaround please try and let me know.
1. In version 2.1 go to line 59, change var taskListName=userProperties.getProperty(‘TaskListName’); to var taskListName=”your tasklist name”;
2. I.e enter the name within quotes.
3. File->Manage Version->Save new version.
4. Publish-> deploy app-> select latest project version->update
5. Now share the URL generated.
Let me know if it worked.
November 2017, confirming this workaround still works if you are getting the “Task List you mentioned could not be found” error.
P.S I found the spot to change on line 60, no longer 59. And yes, I did have it set to run app as me. Don’t forget to save and initialize.
Will do. No, I have that setting set to “User accessing the web ap”
Let me change that setting and try again before sending the URL.
Thanks
No that’s the problem! Change and it should work π Please ignore my workaround.
Mine (Execute the app as) was set to me, so I tried your workaround with no success. Another person is going to try doing it on their gmail account to see if they can get it to work.
Tim,
It got fixed for Wendy. Please make sure you run initialize. You can try normal method itself she didn’t even use workaround. Cheers!
Yea! We good to go now. That was the trick.
Execute the app as “me”.
Thanks so much. I look forward to working this new tool.
Wendy
Good to know! Please do spread the word about this tool. Thanks!
Check our other projects: http://techawakening.org/projects/
Apparently something with my gmail account is preventing mine from working. Another gmail user here in our office did the same thing as I did, and it works fine. I’ll keep trying, and if you have any ideas to try, I’ll do it, and I do have a second gmail account that I’ll try. Is there a way to have multiple lists show up on the same page?
Love this article, I alredy implemented it at work, it realy saved me!!!
Javier,
That’s so good to hear! Please do share/like this article on the web so that it reaches more people like you π
Good day. I did everything exactly as written in the article but when I open app page to start use it, I get an error:
Error: ReferenceError: “Tasks” is not defined.
Did I miss something? Thanks.
Taras,
Did you run initialize ?
Yep. Solved, thanks. I was confused by the GUI of disable/enable API in project. I thought that turned on is turned off =)
Great! Green color indicates it’s on. Do share/like this article if it helped you out π
Hi, This looks really cool, and I’m hopeful that it will work, BUT when I click on Share with Friends, nothing happens. When I ctrl+click it opens another tab and then in the address bar it shows:
mailto:?subject=My%20Shared%20Google%20Task%20List&body=Hi,%0D%0A%0D%0AYou%20can%20access%20my%20Shared%20Google%20Tasks%20here:%20https%3a%2f%2fscript.google.com%2fa%2fmacros%2fgene.com%2fs%2fAKfycbxqii3KZkI1EKPvzE6Hl3J1dQV-bzu7Irg-hvn66GKEdHdPA72b%2fexec%20%0D%0A%0D%0A*Tip:%20Create%20your%20own%20shared%20Google%20Tasks%20here:%20http://techawakening.org/?p=2411
Help?
Further to the above:
A colleague was able to get the email client to open, but the email itself was empty.
Tonnie,
You need to have email client configured for the share with friends to work. But alternatively you can simply copy the URL from address bar and share it with your friends π
This app is great. I test it and perfectly success and match to what I’m finding to share tasks with project mate. I have one question to ask. If I create a new task list (new project). It seem I have to start over from the make a copy script and select only the new task list and create share URL, right?
Can the URL see all task list and click into the task list that we want to add new task or edit task? Can we do that?
Warin
Warin,
Thanks for the feedback. Currently app version supports only one task list per app instance. So for sharing each new task list, make a copy of the script and follow the same process.
Do spread the word if this app helped you. Like/share would be great π
Hi,
Great app!!! X10… Really cool. thanks..
I’v e aquestion – How can one use the API to import my deployed tasks into his/her google-tasks?
I wank to actually share the list as a task-list, not only by URL.
Tanks again, Ive already sent your post to some of my friends… π
Hi there. thanks for the AWESOME app! It is just great! A couple of quickies:
1. When I make edits to the html/script, and then save and publish, it is not reflected in the loaded page. I have to Create a Copy again, and then re Authorize, Init and Publish…only then will the changes be reflected in the task page. Can you help with this?
2. Can you give some hints as to how to remove the “Delete” button next to each new task?
3. Can you give some hints as to how to add “Due by” dates as an input?
Thanks again for the great APP!
Dave
Dave,
My pleasure. Nice of you taking time and giving your feedback! Can you please write to admin@techawakening.org, I can help you customize it.
Praises for this innovative solution. I don’t know if you are aware google now has the Keep app which has its own lists and can be shared?
Another way to share lists is just to open a new google account and whare the access details with everyone you wish to share with.
Akthar,
Yes, am aware of that app. But since Google Tasks is integrated with Gmail and being used by many, I felt it required this solution hence the app. Truly appreciated your feedback π
Explore our other projects as well: http://techawakening.org/projects/
I get this error. What am I doing wrong?
Error: ScriptError: Access Not Configured. The API is not enabled for your project, or there is a per-IP or per-Referer restriction configured on your API key and the request does not match these restrictions. Please use the Google Developers Console to update your configuration.
Did you completely step mentioned in bullet 4? You must enable Google Tasks API.
Is there any way to use this in Google Calendar? Without that it is not very useful. The problem i have is that i can share my Google Calendar, but not the tasks.
I don’t get your question. You can use inbuilt feature in Google Calendar to share it where as use this tool to share Google Tasks.
i’m looking for an app that will allow me to share Google Tasks along with Google Calendar. Right now the calendar can be shared but not the tasks so that they appear on the calendar. To just share a separate task list that is not integrated with Google Calendar or Gmail, you don’t need this app you could just use another tasks program or share a basic task list on Google Drive or Dropbox.
Hi,
Thanks for the easy explanation, and the app. Woks fine.
One thing tho,
It would be nicer if i can share the tasklist with my homemates within GoogleTasks, in a way that it acually apears as a tasklist in his/her gmail page. As it is in mine.
Is that possible? This way they have to go online on a computer to see the tasklist in a webbrowser. on a new page, instead of their own gmail page. uhm, you see what i mean here?
Kind regards!
Edwin
Edwin,
Got it, but only owner of the tasklist can see that in the Gmail page. Others cannot see that task list(shared) by the owner in their Gmail page if that feature existed their wouldn’t have been need for this app π
Hence to over come that limitation, we have this approach. They can bookmark the URL and see from mobile as well.
Hi,
First off, I would like to say that you have done a great job with this app. It is simple and works both efficiently and effectively.
There are certain features that I do feel are missing and would be useful to add though.
Within the Google Tasks, there are certain details that can be added to upcoming tasks (i.e. due date and notes). Is there any way that this could be integrated into this app as well? As of right now, within the shared tasks you can only see the name of the task.
Another suggestion I would make is to add time stamps to see when a certain task was added, simply to track the timeline of certain tasks being added.
Thank you for all of your work! Wishing you all the best.
Dan,
Thanks a lot for the feedback! Will consider these when releasing next version. Do spread the word π
Sorry, did not get it, i am on google calendar, on task list and there is no icon for sharing, please help
Please tell which step you are in.
This is a great app, but I am wondering if it could be expanded to include the due date and notes field that Google Tasks allows you to add with a task.
Sorry, didn’t see Dan’s comment above. But I clearly agree with him. Those would be great features.
Hi. Thank you for this. I’ve tried it for 1 task list and its working well. How do I add another one. I opened the first link again, but I’m unable to make a copy and proceed with all your instructions. I’m sorry, I don’t know coding. just following your instructions to a T.
Create a new copy of the sheet from here. Then File-> Make a copy. In this new sheet add your task. So it’s one task list per sheet.
I created this script within my Google Apps domain and under my personal account within my private domain. While creating the script I Publish-Deploy the script I a.) selected that the script would be run by the users account rather than mine and b) it would be limited to only users within my domain. The script works perfect when Im logged in to my domains google apps account, even on my iphone. I emailed the link in the app to other users in my domain. They can open the URL and see the script operating. However they all get an error “task list not found” and a json error. My guess is that other users within my domain are having trouble accessing my account’s task list. Any help with this? Perhaps some service I must open up in the domain to make my task list visible to others in my domain?
If you own the task list and select script should be run by other users, it will be trying to get the task list from that user account which is not there. That’s the reason i have mentioned to select as me π
My first time incorporating an API. Had some problems but generally because it’s all new. Working in 8.1 so don’t know if your instructions matter from OS to OS. I was successful until I had to “Then click on the Google Developers Console link on the bottom. Scroll down to the end of the page and turn on the Task API as you did before.” I just couldn’t find where I supposed to “turn on” the API from the Developers Console. Since I’m not afraid to click I found it by clicking on the project id after I clicked on the Developers Console Project from the Resources tab. That took me to a bunch of categorized API’s; but alas I could not find the Tasks API….there was a search bar. Low and behold I found it, turned it on. Everything went smoothly until I hit the JSON error and the list not found. Well it couldn’t find the list because I had not created it in my gmail account. Oh well, newbies! What can I say. Had a lot of fun now will try to get my group engaged in using it. Thanks so much!
Thanks a lot for this great app.
Including the due date and notes field would be perfect.
Yes, am planning to include it. Please do spread the word, if you found it useful.
Is it possible to delegate who can delete a task.
Example. Im using this at work.. However I dont want certain staff able to delete a task. Only managers.
Can you help me out with this.. Thank you
Role based management is not yet available in this tool. As of now all have same rights.
Is it possible to delete the Trash can Logo? I attempted to in the Javascript file however it works on the testing link but will not stick when I publish the web app?
Save it as new version and then publish, you should be able to see the changes.
Where do I enable the google tasks api? This link is provided when clicking the ‘Google Developers Console’ in the ‘Resources–>Advanced Google Services’ step :
https://console.developers.google.com/project/876708878538/apiui/apis/library
And i can’t see anything which allows to enable ‘Tasks API’.
I am getting the same error as a few have described and have not been able to troubleshoot: “Sorry! An error has occured, please try again. Script Error: Access Not Configured. The API (Tasks API) is not enabled for your project. Please use the Google Developers Console to update your configuration.”
Can you help?
I followed all steps carefully. Keep getting “can’t find task list” and “Json error” message.
Please make sure spelling is right. It’s case sensitive. And do you own the list?
yes. I carefully checked spelling. I tested with other owned list. I changed line 31 only as per instructions. Seems like it’s worked for others. Quite unsure what the problem could be.
Happy to say it worked. Was skipping the “initialize” step. Thank you.
Ahh. Now I see π That’s the crucial step. Good to know. Please do spread the word, if it helped you out. Thanks!
Hi Shunmigha,
It looks like great app I am looking for. I have been trying to make it work but perhaps i do something wrong. Just white empty page shows after I run the script. Can you help me please?
Thank you.
Hello Shunmugha, great, I eventually managed to deploy it in Explorer but NOT in Google Chrome (which was possibly the problem while Chrome is my default browser – using W8.1). Do you know why?
Regards Martin
It should just work fine in Chrome as well, script is browser independent.
Hello Shunmugha, I just found out that the script works in Chrome under Windows 7 but not in this computer with Windows 8.1. – after running the script it shows empty page
Strange…
Hello, your app seems easy and great. Thanks.
I started to play around and i noticed that when i create (or modify) a task directly in google task i have the possibility to “tab” them. (i mean i can create structured task list where some task are “inside” others). This is usefull since sometimes big tasks are made of many little tasks.
When i access the app i see all the tasks but without tab position, they are all “brothers” there is no more father/son relation.
(in case what i explained is not clear just create a task (under another existing one) and hit tab on the keboard, it will be indented)
Can you add this feature to your lovely app?
Thanks a lot for the feedback. I will consider this feature in next release. And do spread the word about this app. Thanks!
And you can always buy me a coffee π – http://techawakening.org/go/donate
I tried your app script it worked fine. I have question consider this scenario i have created a task in the calendar with due date and added to the task list(In the shared task list i have the task name), is their a way that if i make a change in the due date of shared task list that it get’s updated automatically to the calendar due date.
This seems like a great app, exactly what I need, but I can’t make it work. I have turned on the tasks api both within the app itself as you described in the fourth step, and also turned on the tasks api on the developer console. But when I try to run the app it still tells me that the tasks api is not turned on. I really would like to find a way to make this work.
Thanks for developing this!
Jim,
Let me investigate more on this, looks like look and feel of interface (Google Console) as changed since I wrote this article. Will update and republish the article π
Hey, I wanted me collaborators to be able to see task notes, so I made a small change to the script. Maybe this can help someone else.
Add the following at line 115:
if(task.notes !== null) {
var notes= $(”).html(task.notes.replace(“\n”, “”));
item.append(notes);
}
Thanks! Sure it’s going help many.
Looks like my code got mangled in the comments. I have also made some other improvements to my original code. You can see my version here: https://script.google.com/d/1t8m6IOsaaiIkJ4Z3p-BbVUK9LcmBylG_FfEH357qI06w8idPbjEE8tEw/edit?usp=sharing
Feel free to use my modifications freely of course.
Hobbit,
Ahh! That’s so nice of you π
Hobbit,
I’m trying to use this code but when I do Run==>Initialize, it tells me that I’ve got an illegal character. I know this stuff is old, but I could sure use this. Plus there’s been a few updates to the code by the original author, so line 115 is now 117 (I think).
I tried to run your code and the next comment but it won’t load my list name.
Thanks,
Tim
Would someone please make the resulting interface a little better. Don’t get me wrong! Love it! However, with the much need Notes now included by hobbit, the contents thereof if large will not ‘word wrap’. I’m an old PowerBuilder programmer (what’s that, you say!?). I don’t know any of this html, javascript, CSS thing-a-dooble.
Anyone?
Please?
Could you please share a pic, highlighting your concern areas. It will be easier to understand.
Try and use “task.notes.replace(/(?:\r\n|\r|\n)/g, “”)” instead of “task.notes.replace(“\n”, “”)” at line 117 .
Awesome! Thanks for the tip. Regex has always been a nightmare for me π
If you could reorganize the posts to have the newest show up first it’d be great. Otherwise readers start with the oldest comments with the various concerns which could be enough for readers to abandon reading more.
I’ve just created the app and while a few small things aren’t quite the same on Google’s site to which you pointed, the app appears to work for me. Hopefully it’ll do what I need to do in having a few of us know where a renovation project stands.
Cheers.
Thanks a lot for your script. However, we’re not actually using it. Can you give us the procedure to uninstall the script?
Thanks in advance,
Gilles
Please select Publish-> Deploy as web app then click Disable web app.
I followed the instructions three times, but still kept getting the following message:
“Sorry! An error has occurred, please try again. ScriptError: Access Not Configured. The API (Tasks API) is not enabled for your project. Please use the Google Developers Console to update your configuration”.
Any thoughts on what might be going on? I see that a few others had this same issue, but it looks like it corrected itself when they tried it again?
Thanks,
M
Are you done with step 4 under configuring the App?
Possibly will update the article with another screenshot. Thanks.
I think the solution to this is to got to the website:
https://console.developers.google.com/apis/api/tasks/overview?project= {your project number}
and click “Enable”.
I have the same issue as Marie.
I doubt that Google API did some modification with the configuration.
Could you help us to check if any additional steps needed to fix the problem?
Thank you so much.
Ting
Will be updating the steps soon and as well as releasing new version of the app with more features like Notes and Due Date. Please stay tuned.
same as previous,
does not work anymore ! :-(((
Fix is ready. Will be releasing next version with new features as well!
Thanks so much for this script – it’s working beautifully!
You are welcome. New version coming up soon. Stay tight π And do spread the word.
Thank you so much for this awesome app!!!
How soon will the new version be released?
Couple questions . . . is there potential for this app to display in real time in Google Calendars task bar? Similar to how you can share calendars between coworkers . . . it would be awesome if that were possible. Right now, my boss & I saved each others app link as a bookmark, so anytime I need to see her tasks I go to her app, but if it all synced in the Google calendar it would be much more efficient.
Also, it would be neat to be able to color code tasks π
Thanks again!
Awesome! Good to Know.
Super! You just so awesome Shunmugha! The script is rockin and working fine! Can you please extend its feature by the ability to set up the due date and notes for each task lists? Keep up your super work buddy!
Coming soon π And do share it
Hey, this is pretty exciting, but I’m even more excited about potential new version you mention is coming soon. I would like to be able to see the task details elements as I use them thouroughly, as well as gtasks reminder functions.
I’m checking the notify me box. Thanks for this good work, seems like such a cryptic interesting coding platform and setup.
Blessings,
Happy
Hi,
I am trying this but i keep coming up with the following error: Error: ScriptError: Response Code: 404. Message: Not Found.
This is coming up when i am adding a new task.
Also on the following step i could not see TASK API anywhere:
Then click on the Google Developers Console link on the bottom. Scroll down to the end of the page and turn on the Task API as you did before.
Any help is appreciated.
Hi Shunmugha,
This shared task list is the closest I’ve been able to get to a shared task list in association with Google apps. I’m having trouble viewing the task list in another user’s task lists (right hand side when they are logged into their account). I would like to know if it is possible to view that shared list without going to another tab (page on web browser).
Thank you,
Laura
Hi, thanks for your great script. Google just shut down NATIVE SandboxMode, and my copy of your script does not work any longer. Could you please tell me what I should do to share my shopping list with my girlfriend?
Thx in advance
Hi, thx a lot for this app, but it doesn t work for me!
I get the following error:
Shared Task List Name: Loading..
If you knew what I did wrong, it would help a lot
Thanks again for your help
Best
Fixed. Please follow the steps again and it should work.
This does not work in some browsers by default. Something to do with mixed content (http and https) security restrictions. In Mozilla, need to click on the shield icon in the address bar and choose “Disable protection on this page”. In android Chrome there is no such option and the page remains stuck at “Loading…”.
Thanks for the heads up. It’s fixed now.
Great app idea! I’m having the same issue as Alex. I followed all the steps, it worked, but now I just see “Shared Task List Name: Loading..”, on the task page. Screenie: http://i.imgur.com/ot8Hobp.png
I made sure cookies were enabled, as well as disabling adblock, and anything else that might stop it from working. No dice. Any suggestions?
Raf,
Fixed. Make the copy of the app again and try now.
Works perfectly now. Thank you very much!
My pleasure. Please do spread the word π
Thank you for your script and hard work, task details (notes) would be appreciated.
First, amazing… Love the direction you took with this script.
Unless I’m overlooking something, the name of this project, “Share and Sync your Task List with Others” is misleading. There seems to be no syncing my task list with others. This is true if I want to use the tasks canvas so it is accessible within Gmail or calendars, or the canvas itself.
Maybe I’m doing something wrong? It only syncs to the account that created the project and no other Google account user with access.
Idea is to allow others to access your task list and update the same.
This is exactly what I was looking. Thank you for creating this! Is it possible to add a “due date” feature?
Thank you again for creating this!
Coming soon!
In Javascript.html you can add due date and notes, i did it doing this:
In function showTasks(tasks) you can add the following:
var t_due = task.due; //this is the task due date in format “14/07/2015 08:58:02T”, so i treat it like a string and convert it to MM/dd/YYYY:
t_due = t_due.substring(8,10) +”/”+ t_due.substring(5, 7) +”/”+ t_due.substring(0, 4);
var t_notes = task.notes;
if (!t_notes
es)
{
t_notes = “No Notes”; /if notes is null you can set a string
}
//Then you can add the due date and notes just by the task title
var title = $(”)
.text(task.title);
var input=$(”).val(”);
//Formating Due Date
var due=$(‘  Fecha: ‘ + t_due + ”);
//Formating Notes
var notes=$(‘ Notes: ‘ + t_notes + ”);
item.append(title);
item.append(input);
//Append Due Date and Notes
item.append(due);
item.append(notes);
I Hope Hhis Helps π
well the code got trashed, but you get the idea?
Great app, but I have two questions:
1) Is it possible to be able to add a date or notes (similar to tasks in gmail) to the tasks?
2) Is it possible to be able to have the synced task list appear in the task doc on gmail?
Thanks again for a great app!
Should have read the comments first…
thanks JP for answering my first question:
In function showTasks(tasks) you can add the following:
var t_due = task.due; //this is the task due date in format β14/07/2015 08:58:02Tβ, so i treat it like a string and convert it to MM/dd/YYYY:
t_due = t_due.substring(8,10) +β/β+ t_due.substring(5, 7) +β/β+ t_due.substring(0, 4);
var t_notes = task.notes;
if (!t_notes
es)
{
t_notes = βNo Notesβ; /if notes is null you can set a string
}
//Then you can add the due date and notes just by the task title
var title = $(β)
.text(task.title);
var input=$(β).val(β);
//Formating Due Date
var due=$(β  Fecha: β + t_due + β);
//Formating Notes
var notes=$(β Notes: β + t_notes + β);
item.append(title);
item.append(input);
//Append Due Date and Notes
item.append(due);
item.append(notes);
Feature mentioned in #1 will be soon available.
Hi This sounds amazing – thanks (I hope) for creating it.
However, I just installed it and having problems:
1 – I cannot run the app because an error box keeps popping up – here is c/p of the script:
Sorry! An error has occurred, please try again. ScriptError: Project 44619647399 is not found and cannot be used for API calls.
2 – my gmail account is now displaying a little unusually, the background theme has vanished and in the middle of my viewing pane where emails normally display I have a massive circle with a horizontal line through it until I select an email to view – like a stop sign.
It seems to be functioning the same as usual other than that but it has me a little concerned – I’m not super-techy.
How worried should I be?
Thanks!
Can you please start over with the step and let me know if you still face issues.
getting an error: ScriptError797178704927 is not found and cannot be used for API calls
After I follow the steps, this message appears:
You do not have permission to call getService (line 45, file “Shared Google Tasks: Techawakening.org”)
How do I fix this?
Thank you!!!
Please start over and try again. It should be fixed.
You do not have permission to call getService (line 45, file “Shared Google Tasks: Techawakening.org”, project “Copy of Shared Google Tasks: Share and Sync Task List with Others – Techawakening.org”)
Redo the steps and try now. It should be fixed.
i followed the instructions and this is the message i get
You do not have permission to call getService (line 45, file “Shared Google Tasks: Techawakening.org”, project “Copy of Shared Google Tasks: Share and Sync Task List with Others – Techawakening.org”)
Please try now.
Can you add multiple task lists from multiple gmail accounts to the same shared task page? Meaning, one can click and toggle which task list they can add to or view
Task List you mentioned could not be found error occurred. Any idea?
Resolved. I Didn’t realize that I needed to create a task-list first, give it a name then use the name in line 31. Thanks!
Hi there,
I have done everything to configure, up until copying the URL, how do I go back?
Hi Shunmugha
Just set your app and it works very well.
Thanks for your work on developing it and the clear instructions.
I had a couple of quick questions:
Using the Web App URL:
1. Is there any way of re-ordering the tasks within the list?
2. Is there any way of adding a due date or notes to each task?
Thank you in advance,
Hendo
1. You can reorder your tasks here https://mail.google.com/tasks/canvas
2. Will be soon releasing it.
A nice approach. Thanks !
At the moment:
– I can add tasks for someone using the mobile app or the desktop browser
– The other person can only see the tasks in the desktop browser using the link.
Is it possible to have the same functionality on both sides, i.e. the possibility to use the mobile app or the desktop browser to create and view tasks ?
Regards
Juergen
Great add on Shunmugha. Thanks for all your creativity and generous response to the blog queries and comments
Thanks Shunmugha!
However, for security, can you please modify the script so I can avoid checking “share with anyone, even anonymous”? This seems like a huge security hole. Even if a customer / private / complex URL is used, it seems a malware or virus bot could find it and read all my tasks.
Also, I got the following error:
“Sorry! An error has occurred, please try again. ScriptError: Response Code: 404. Message: Not Found.”
and:
“Task List Not Found!”
Can you please help?
My apologies if this answer is somewhere in the comments, though there are too many comments to read. Hopefully any changes needed to the process could be added to the step by step instructions :^)
Thanks again and best regards,
Andrew Paullin
Hi Shunmugha,
I would love to use your app.
The Task List Name is now at line 32.
Do you only have to add it at line 32. Or also on other lines.
So far,(I realize that it’s case sensitive), the app does not find my task list.
I have tried various variations,
– only line 32,
– but also 32 and 35.
Where am I going wrong.
PLEASE HELP!!!
Thx,
Vincent
{
// Enter your Task List Name, it’s case sensitive
var TASK_LIST_NAME=”Your Task List Name”;
var userProperties = PropertiesService.getUserProperties();
if(TASK_LIST_NAME!=”Your Task List Name” && TASK_LIST_NAME)
userProperties.setProperty(“TaskListName”, TASK_LIST_NAME);
else
Logger.log(“Please enter a valid Task list name”);
}