how to save and get the sys_id of an attachment in a ui page

EvilRojo
Tera Expert

Hello, I have a ui page to obtain a "file" type document, when I press my button, I want to save my attachment that I have in the "file" type field, and obtain its sys_id

1 REPLY 1

H S B
Giga Guru

Is this UI Page something that you have created from scratch?

 

If yes, would you be able to share important part of it from code perspective which I can replicate on my PDI to help you further.