a!richTextDisplayField( value: { a!richTextIcon( icon: "check-circle-o", caption: fv!row['recordType!{690a8496-4f15-4d0b-8e98-6ffb8ca39cd8}OE Clients_Compts.fields.{3c17620a-de81-45df-9416-aa7527efb509}podeDeclarar'], link: a!dynamicLink( saveInto: a!save( fv!row, a!update(fv!row, fv!row['recordType!{690a8496-4f15-4d0b-8e98-6ffb8ca39cd8}OE Clients_Compts.fields.{3c17620a-de81-45df-9416-aa7527efb509}podeDeclarar'], not(fv!row['recordType!{690a8496-4f15-4d0b-8e98-6ffb8ca39cd8}OE Clients_Compts.fields.{3c17620a-de81-45df-9416-aa7527efb509}podeDeclarar'])) ) ), showWhen: fv!row['recordType!{690a8496-4f15-4d0b-8e98-6ffb8ca39cd8}OE Clients_Compts.fields.{3c17620a-de81-45df-9416-aa7527efb509}podeDeclarar'] ), a!richTextIcon( icon: "times-circle", caption: fv!row['recordType!{690a8496-4f15-4d0b-8e98-6ffb8ca39cd8}OE Clients_Compts.fields.{3c17620a-de81-45df-9416-aa7527efb509}podeDeclarar'], showWhen: not( fv!row['recordType!{690a8496-4f15-4d0b-8e98-6ffb8ca39cd8}OE Clients_Compts.fields.{3c17620a-de81-45df-9416-aa7527efb509}podeDeclarar'] ) ) } )
I wish I could, just by clicking on the record in my list, update the value the value stored in my record type. I really hope it's possible.
Discussion posts and replies are publicly visible
Hi ,
It's indeed feasible to update the record type value upon clicking. You have the option to utilize either a record link or a dynamic link. Please refer to the attached document where I demonstrate changing the value by clicking on an icon.
Is your code not working?
You could simplify it a bit
link: a!dynamicLink( value: not(fv!row['recordType!{690a8496-4f15-4d0b-8e98-6ffb8ca39cd8}OE Clients_Compts.fields.{3c17620a-de81-45df-9416-aa7527efb509}podeDeclarar']), saveInto: fv!row['recordType!{690a8496-4f15-4d0b-8e98-6ffb8ca39cd8}OE Clients_Compts.fields.{3c17620a-de81-45df-9416-aa7527efb509}podeDeclarar'] ),