How to put attachments on top in record producer

DevanshT
Tera Contributor
 
8 REPLIES 8

svirkar420
Giga Guru

Hi @DevanshT , Tried this in PDI working as expected.

1. Create a new variable "Type- Attachment"  set the order of this so that this variable would appear at the top of the record producer this variable will allow you to upload the attachment same as OOTB attachment.

(Note- Check hide attachment field from catalog item's portal setting so that you won't be seeing two attachment fields.)

 

If this solution helps you please mark this solution as accepted and Helpful. As it will be helpful for future users and readers.

Best Regards,

Saurabh V.

@svirkar420 @prerna_sh 

how would it allow uploading multiple files similar to how the OOTB paper-clip icon works?

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

Hi 
@Ankur BawiskarI didn’t mention the ability to upload multiple files at once.
Also, @DevanshT didn’t specify that his requirement is to support multiple file uploads. The approach I suggested works for uploading a single file at a time. If the requirement is to handle multiple file uploads, then the OOB functionality should be used.

---------------------------------------------------------------------------------------------------------------------------------------------------

If my response solves your query, please marked helpful by selecting Accept as Solution and Helpful. Let me know if anything else is required.

Thanks,

Prerna

svirkar420
Giga Guru

@DevanshT , If you want to make OOTB attachment field to be appear on top Unfortunately it is not possible. 

However, There is a workaround for this which I already have posted.

1. Create a new variable "Type- Attachment"  set the order of this so that this variable would appear at the top of the record producer this variable will allow you to upload the attachment same as OOTB attachment.

(Note- Check hide attachment field from catalog item's portal setting so that you won't be seeing two attachment fields.) I have tried this in my PDI and this works fine or else go with Ankur's suggestion.

 

If this solution helps you please mark this solution as accepted and Helpful. As it will be helpful for future users and readers.

Best Regards,

Saurabh V.