Hi everyone ,
I have scenario where my data is stored in Map/Dictionary.
Now this has to be stored in record.Each field to be mapped with the respective record field.Considering the volume, Is there a way to use the Field Id to map the value.Example:
a!localvariables(
local!list:{{columnName:"Name",recordFieldId"4567898765"},
local!list:{
{
columnName:"Name",
recordFieldId"4567898765"
},
{columnName:"Desc",recordFieldId"4567856894"},/* Now the data to be mapped */a!foreach(locaL!list,index(record,fv!item.recordFieldId,null))
columnName:"Desc",
recordFieldId"4567856894"
},/* Now the data to be mapped */a!foreach(locaL!list,index(record,fv!item.recordFieldId,null))
)
Discussion posts and replies are publicly visible
Can you provide some example of the data structure you have. If your field id in map is analog to record field's field id then index should work. Yet some more details will be better