Adding cloud code call in record display