How to put attachments on top in record producer

DevanshT
Tera Contributor
 
13 REPLIES 13

svirkar420
Tera 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.

 

@DevanshT , Hope you are doing well. I already have gave the possible workaround specifically for the requirement you have shown, Refer to that as this is the only possible way However, as Ankur mentioned you won' t be able to attach multiple attachments, for that you will have to use the OOTB attachment feature.

 

If this solution helped you Please Mark this solution as accepted and helpful as it will be helpful for other users as well.
Best Regards.
Saurabh V.

svirkar420
Tera Guru

Hi @DevanshT , Hope you are doing well, Is your requirement fulfilled? How did you do it? 

If my answers were helpful earlier then Please Mark this answer as accepted solution and helpful as it will be helpful for other users as well.
Best Regards.
Saurabh V.

M Iftikhar
Tera Sage

Hi @DevanshT ,

By design, the attachment control in Record Producers is always rendered at the bottom, and there is no OOTB option to reposition it. If your requirement is to surface attachments at the top, you have two approaches:

Attachment variable: Add a variable of type Attachment and adjust its order to display at the top. Be sure to enable Hide attachment in the Catalog Item settings to avoid duplicate fields. This supports only single-file upload.


Widget customization: 
For full flexibility (e.g., multiple attachments), you’d need to clone the sc_cat_item Service Portal widget and move the <sp-attachment> directive above the variable block.

Thanks & Regards,
Muhammad Iftikhar

If my response helped, please mark it as the accepted solution so others can benefit as well.

Thanks & Regards,
Muhammad Iftikhar

If my response helped, please mark it as the accepted solution so others can benefit as well.