![]() Collaborate with your team in real-time with the option to share your Google Tasks lists. NewTask = (newTask, taskListID, taskDetails) Īs you can see I have to reset the parent of the new task. Manage, Share, and Assign your Google tasks on a full-screen Kanban Board. Var parentTask = getParentTask_(projectName,taskListID) Then I realised that the parent of a task should be set after it has been inserted into the TasksList and not as part of the initialisation of the new task, so here is what it now looks like: var taskListID = getTasklistId_(tasklistName) I made one fundamental error in the above code, I assumed that the parent setting of a task is the parent task name when in fact it should be the parent task ID allocated to it by the Tasks API. Ok, I finally found an answer to the above. Stay organized from your to-do list via your phone, tablet, and Wear OS watch while also syncing across desktop. In both cases the script creates a task ("Task 1") under a tasklist ("My Projects"), but I cannot get it to appear as a child (indented) task under the existing task ("Project A"). Todoist is beautifully designed, simple to get started and intuitive to use. one of the best apps you can use to plan your personal and work schedules. Var newTask = Tasks.newTask().setTitle(title) Todoist is a delightfully simple yet powerful task manager and to-do list app. (taskDetails, tasklistId) Īpproach 2 :- taskListId = getTaskListID("My Projects") Has anyone managed to get this to work using the API?Īpproach 1- taskListId = getTaskListID("My Projects") I am trying to replicate the task "indent" functionality available in Google Tasks which makes a tak appear as a child of the task preceding it. However, I have been trying to create a child Task by using the optional "parent" resource but with little luck. ![]() I have successfully created TasksList, and Tasks within these lists using both of the following approaches. I have been experimenting with the Google Apps Script Tasks API to create new tasks from emails.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |