Solved
how to update multiple columns at same time?
a!update(data:fv!item,index:{"backupBy","backupOn"},value:{loggedInUser(),now()}), is not correct, how to do it?
a!update(data:fv!item,index:{"backupBy","backupOn"},value:{loggedInUser(),now()}), is not correct, how to do it?
given a cdt local!example with the following structure: Id,lastName,firstName
your UI componente like textfield, radiobutton,dropdown, buttonwidget.....
saveinto:{
a!save(
target: local!example,
value a!Update(
data: local!example,
index: "firstName",
value: "Richard"
)
),
a!save(
target: local!example,
value a!Update(
data: local!example,
index: "lastName",
value: "Michaelis"
)
)
}
for a!update you need a proper CDT structure. Index is searching in a "readOnly- way" for a specific value. and you can't update readOnly values ;)
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.