Hi All,
I am working on a Canvas app project where i have to map a choice type table field with a Radio button selected value. But i am not able to do this i check many solution on internet but it work in my case.
Code :
Table field = 'Rate Agitation (sos_cams_intake_rateagitation). Type = Choice of 'Agitation Rating'
Radio button of form = RateAgitation. Radio button have value as 1,2,3,4,5.
Patch(
Counselling,
Defaults(Counselling),
{
'Rate Agitation (sos_cams_intake_rateagitation)' : If( RateAgitation.Selected.Value = "1", 'Agitation Rating'.'1 - Low Agitation',
If(RateAgitation.Selected.Value = "2", 'Agitation Rating'.'2',
If( RateAgitation.Selected.Value = "3", 'Agitation Rating'.'3',
If(RateAgitation.Selected.Value = "4",'Agitation Rating'.'4','Agitation Rating'.'5 - High Agitation')
)
)
)
})
I have tried this code but got error as Value not exists in record.
If anyone have any idea please share i tried a lot but can't find any solution. please you have a code snip please share with me.
Thankyou so much