how to copy browse file name and file path in variable

lucky24
Tera Contributor

Hi Team,

In Catalog item I want to create two variable "Browse file name" and "Browse file path", Once user click on that and select file I want store file name and file path in variable.

something like below screenshot,

lucky24_0-1698298046264.png

 

I looked all types of variable but I haven't found any browse type variable.

Is it possible to achieve, If yes then how?

Can you please help me here

4 REPLIES 4

Ankur Bawiskar
Tera Patron
Tera Patron

@lucky24 

in catalog you can use variable of type File attachment and then user can click and select file from their laptop/desktop and attach

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi @Ankur Bawiskar,

Thanks for your response,

How can I copy that attached file name and file path in other variable?

 

@lucky24 

no you can't.

what's your business requirement with that file?

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Actually I don't want attachment I want copy only that file path and file name in variable as client don't want write manually on form.

It is related to installation application.