I want to know how to add text to a task's comments.
To explain better, I'm trying to create an application in Power Apps that allows the user to select a task plan in a drop-down box, then the user can select the Bucket they want in another drop-down box, after which another screen opens with all the tasks, when selecting the task, another screen opens with the task note and a field to type and send what you wrote to the comments.
Where I'm stumbling, is how do I add the text that was written in the Inbox to the comments of the selected task?
Note: the connection is via Planner
code:
Tela 1
TarefaLabel
DropdownTarefas - Planner.ListMyPlansV2().value
BucketsLabel
DropdownBuckets - ListBucketsV2(DropdownTarefas.Selected.id).value
Tela 2
ChamadosLabel
GalleryChamado - Filter(Planner.ListTasksV2(DropdownTarefas.Selected.id).value; bucketId=DropdownBuckets.Selected.id)
ButtonVoltarTela1 - Navigate('Tela 1')
Tela 3
DescriçãoLabel
GalleryDescricao - Planner.GetTaskDetailsV2(GalleryChamado.Selected.id)
ComentarioLabel
DescricaoText
ButtonVoltarTela2 - Navigate('Tela 2')ButtonAtualizar - Planner.UpdateTaskDetailsV2(GalleryChamado.Selected.id;{description:DescricaoText.Text})