How to upload multiple attachment with the file attachment type variable field in service portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-25-2022 03:58 AM
I have a requirement in one of use case, where I need to create a variable of file attachment type in service portal form page. so from there I can upload multiple files at a time.
I knows, attachment variable accept only attachment at a time. but I have a requirement to upload multiple attachment at a time. please suggest.
Thanks and Regards
Pradeep Sharma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-25-2022 04:02 AM
Hi,
not possible.
it can hold only 1 file at a time
If you want multiple files then you can use OOB paper clip icon or create those many attachment variables
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-25-2022 10:32 PM
@pradeep
Thank you for marking my response as helpful.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-25-2022 05:13 AM
Hi,
I would definitely recommend using the "old" OOB way of adding attachments.
If - for whatever reason - that is not an option, you could create multiple attachment fields, hide them and with client scripts make them visible if the previous one has already been populated with a file. But let me repeat, that this is not a recommended solution in any way, rather a last resort.
Best,
Aniko