Record producer attachment issue

Community Alums
Not applicable

Hi there,

I'm experiencing an issue with adding attachments to finance requests:

If users try to raise a finance request via a record producer on the Service portal and they want to add an attachment the paperclip is visible and the popup to add the attachment appears but if they add a document it's not added to the item.

If I create a 'test' record producer, with nothing in it, for the sn_sm_finance_request table this issue occurs but if I change the table of the same record producer to for instance incident or change_request, the same user is able to add the attachment.

The problem only appears in the record producers on the portal, not on the backend.
Once the record is created the same user is able to add the attachment via the 'ticket' page on the portal.

The issue does not occur for users with the admin role but does occur for any other user. I've tried to give a user the sn_sm_finance_admin role but they still experience the same issue.

This is tested with multiple record producers in the sn_sm_finance_request table both with 'Mandatory attachment' checked and unchecked.

I'm in the dark on what could be causing this. Anybody any ideas?

1 REPLY 1

Allen Andreas
Administrator
Administrator

Hi,

Hmm...the part about it working in the back-end sounds suspect to me. So your non-role'd users can access the back-end UI and you know for a fact it works there?

My initial reply for what the issue is is that there's a "write" ACL for sys_attachment affecting this...but if it works in the back-end and not the portal, then that throws things off.

I would recommend checking all "write" ACLs for sys_attachment table and see if there's anything in the conditions about this specific table that you're having problems with...consider possibly create a "write" ACL for sys_attachment with condition: table name is 'x', with x being that table name.

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!