Hi, I would like to know what error this formula is:
Patch('Security ActionPlan1';Defaults('Security ActionPlan1';
{
Responsável:TextInput1.Text;
'Descrição do Problema':TextInput2.Text;
Ação:TextInput3.Text;
Prazo:DatePicker1.SelectedDate;
Status:Dropdown1.Selected.Value
}));;
Solved! Go to Solution.
Still, your code is missing close parenthesis. Please see the below code.
Patch('Security ActionPlan1';Defaults('Security ActionPlan1');
{
Responsável:TextInput1.Text;
'Descrição do Problema':TextInput2.Text;
Ação:TextInput3.Text;
Prazo:DatePicker1.SelectedDate;
Status:Dropdown1.Selected
});;
Hi, @StalinPonnusamy @v-albai-msft
I made sure but it keeps getting an error saying the argument number is invalid 2 received 1 expected
For Dropdown.Selected
Patch('Security ActionPlan1';Defaults('Security ActionPlan1';
{
Responsável:TextInput1.Text;
'Descrição do Problema':TextInput2.Text;
Ação:TextInput3.Text;
Prazo:DatePicker1.SelectedDate;
Status:Dropdown1.Selected
}));;
Hi @Jeziel_Victor ,
Seem that your Status column is a Choice column, if yes, you should use code like this:
Status:{Value:"Your Value"}
So try this formula:
Patch('Security ActionPlan1';Defaults('Security ActionPlan1';
{
Responsável:TextInput1.Text;
'Descrição do Problema':TextInput2.Text;
Ação:TextInput3.Text;
Prazo:DatePicker1.SelectedDate;
Status:{Value:Dropdown1.Selected.Value}
}));;
Best regards,
Allen
It didn't work, more errors appeared,
I deleted your change and the error that appears is this
It didn't work either
Looks like one closing parenthesis is missing. Highlighted below
Patch('Security ActionPlan1';Defaults('Security ActionPlan1');
and remove one at the end
Refer below example
Patch('Security ActionPlan1';Defaults('Security ActionPlan1');
{
Responsável:TextInput1.Text;
'Descrição do Problema':TextInput2.Text;
Ação:TextInput3.Text;
Prazo:DatePicker1.SelectedDate;
Status:Dropdown1.Selected
});
But it is being shut down
Patch ('Security ActionPlan1'; Defaults ('Security ActionPlan1';
{
Responsável: TextInput1.Text;
'Descrição do Problema': TextInput2.Text;
Ação: TextInput3.Text;
Prazo: DatePicker1.SelectedDate;
Status:Dropdown1.Selected
}));;
User | Count |
---|---|
251 | |
102 | |
94 | |
47 | |
37 |