Write back Task

Hello!

Thanks for your time in advance.

I want to create a edit window that embeded in the DOMO dashboard or DOMO app studio, the acheive the function that: i want to directly create a task on the interface of the dashboard, including the columns of 'time', 'type', 'follow up', 'owner', 'owner feedback'. I want to have a write back interface for the assignee to write his feedback back to the task that he has beed assigned to.

How can i achieve it? please help and thanks!!!!!!!!!

Answers

  • How about a webform with a dataset that holds your task data: time, type, follow-up, owner, and feedback. Display the data in a table and use filters and PDP (personalized permissions) to restrict users to only their tasks? And have them edit the webform to update their feedback?

    Or you could create a custom brick using HTML/CSS/Javascript that submits data via the Domo API to a dataset. With the tasks appearing on a table card.

    Or possibly a writeback connector to sync with an external system like Google Sheets.

    ** Was this post helpful? Click Agree or Like below. **
    ** Did this solve your problem? Accept it as a solution! **

  • domo app studio.png

    Hi, thanks for your reply!!

    yes i have already created a webform and showed it on the app studio, but how can i achieve the function which can allow the owner to directly edit the feedback to the task on the app studio interface? and can feedback to the specific task he is assigned?

  • I don't have the available time to work through an example. This is just how I would approach the problem. I would try setting up the webform and set permissions where owner is the logged-in user. Make sure it filters PDP to that specific person only. So feedback editing is allowed only for them.

    If Domo won't allow it to be editable inline on App Studio, I'd attempt a custom brick. This isn't something for beginners, it will require code or some AI assistance to write. Either find a prebuilt form brick or create something custom using blank brick from AppStore. This will use JavaScript and html. Fetch tasks where owner is the current user. I tested the following in a brick and it can identify me as the user or give my id. JavaScript is case sensitive btw.

    console.log(domo.env.userName);
    console.log(domo.env.userId);

    If you know the user logged in, you can filter a form to them. Retrieve table information from a dataset and render an input field for feedback on each row. On click, save the feedback back to a dataset (write-back).

    const currentUser = domo.env.userName;

    const userTasks = allData.filter(task => task.Owner === currentUser);

    ** Was this post helpful? Click Agree or Like below. **
    ** Did this solve your problem? Accept it as a solution! **