Attachment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-26-2023 12:30 AM
Requirement is On click of a button on Case table, new Case Record(child) should open in new tab by copying description, shot description and attachments from parent case and user can attach more attachments and submit the case.
Issue is description, shot description are copying from parent case to child case but attachments which are copied from parent case are not visible on the Child Case form but when we click on paperclip icon attachments are visible there.
Please, help me in solving the issue so that attachments should be visible on the child case form

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-26-2023 12:41 AM
@Prathyusha G This is expected behaviour as the new record which is created from the existing case has not been saved in the database yet. Also, the attachments might have also been copied via a script after the creation of the child case, hence the page is not showing the attachments on the form. The attachments will start showing the moment record is saved into database.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-26-2023 12:58 AM
When we attach manually the attachments in new record, I am able to see attachments on the form.
How to achieve same functionality while copying also.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-26-2023 02:15 AM
When we attach an attachment manually on a new record, the form knows that the attachment is uploaded on it hence the visibility of the attachment block is handled accordingly. However, in case of copying the attachment via a script, the form is unaware of this change and hence doesn't display the attachment block.
One way to address this issue would be first generate the child case, transfer the attachments to it and then navigate the user to the newly created record. In your current case, you simply take the user to the new record which isn't saved in the database yet.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-27-2023 12:10 AM
Thank You for your Reply,
But how to do this? I am copying attachments in onload client script getting unique value and passing to script include and inserting records in attachment table.
But How to generate the child case and transfer the attachments before user navigates to the new record