Attachment Widget Working With Record Producers?

JDX7913
Tera Guru

I am trying to get the out of the box attachment widget to work with a record producer. If I were to create the record producer from the "back-end" I am able to attach pictures through the out of the box attachment widget from the Service Portal.

find_real_file.png

find_real_file.png 

However, when I create the record producer through the Service Portal and attach pictures through the Service Portal. I am not able to see the attachment when I click on the record producer from the "back-end".

find_real_file.png

find_real_file.png

 

What am I missing? I know that the out of the box attachment widget reads the table name and sys id from the URL. Which I already have so that is not the problem. 

1 ACCEPTED SOLUTION

Got it, found out what I was doing wrong. I set it to upload the attachment to the base table and not to the extended table. 

 

Either way, thank you for the help.

View solution in original post

10 REPLIES 10

The reason why I want the top bar is because, when an admin goes into a record producer on the back end they will need the top bar to view all of the attachment associated with it. They will not have the end user's point of view to download/view the attachment. 

But once the record producer is submitted, it converts to a record. The admin post submission will open the record to see the attachment.

 

For ex. Create an Incident is a record Producer, which is when submitted will create an Incident record. So all the details entered using record producer will go to the incident. Record Producer is only an interface for end user to enter inputs.


Please mark this response as correct or helpful if it assisted you with your question.

Got it, found out what I was doing wrong. I set it to upload the attachment to the base table and not to the extended table. 

 

Either way, thank you for the help.

We are having this same issue.  Using the paperclip icon to add attachments to a Record Producer in the ServicePortal is adding the attachment to the sc_cart_item table, and not to the Record Producer's target table.  I don't understand how you fixed it - can you elaborate?

 

Thanks,

Rhonda

Sorry for the very late response, but in case if anyone else is having the same problem as @Rhonda Wilton.

In my case, I had a base table (call it "A"), and extending from that table A is table "B".

So the table schema is A -> B. Initially I was setting the attachment to table A when I should have set the attachment to table B. 

TLDR: Set the attachment to the actual table and not to its parent table.