Unable to add rows dynamically using records

Hi , Can anyone help me with this please!. Thank you for the help in advance.

local!pdf ,

ri!upload: recordType!ABC(),

.

....

.....

shadeAlternateRows: true,
addRowLink:a!dynamicLink(
label: "Add",
saveInto: {
a!save(
local!pdf,
append(local!pdf, ri!upload)
)
}
)

I am trying to add a new row , but maybe i am using ri!upload as value  i am unable to get the desired output , the interface iis showing the same uploaded images  every time i click on add new image link. 

  Discussion posts and replies are publicly visible