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
Have you considered making a dictionary/map mapping the fieldName to the recordField to store the mappings and then using that for the copy? This would allow you to have recordFields using relationships.