How to remove attachments in email without removing the record from attachements table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-02-2020 12:17 AM
Hi Team,
I want to remove attchment from email while sending,at it is in send-ready state without removing the record from sys attachments table.
Thanks,
- Labels:
-
Incident Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-06-2020 08:54 AM
Blog: https://sys.properties | Telegram: https://t.me/sys_properties | LinkedIn: https://www.linkedin.com/in/slava-savitsky/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-05-2020 11:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-08-2020 12:53 PM
Hi, reviewing the supplied information (and reading between the lines) this requirement appears to be part of a larger solution?
And you probably need to review the end to end context, to ensure you deliver the most appropriate implementation…..
Based on the details provided, I don't think you need to delete the 'attachment' but you do need to change the table_name\table_sys_id for the attachment record
and you do need to delete the related sys_email_attachment record
So you could look at an after insert BR on sys_email
After the outbound message is inserted into sys_email
- Insert a new record into your custom table (or somehow find the appropriate existing record)
- Query sys_attachment table for your attachment
table_name = 'sys_email'
table_sys_id = current.sys_id (sys_id of your outbound email record) - Update the sys_attachment record
table_name = custom table_name
table_sys_id = custom record sys_id - Update the message body of your email to include a link to your custom record.
- Query sys_email_attachment and delete the entry for your email\attachment.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-08-2020 08:50 PM
Hi Tony,
Great..
This is the solution iam looking for. Thank you so much.
while doin BR on sys email table iam taking filter condition as target is scheduled....... content. is this fine? or any field i have to take?
i want to insert a link in body. that link should downloadable link. is there any way is there to link become a downloadable link?
how to update message body of email. pls give some example. insteasd of string field need to update downloadable link in message.
Thanks,
Ganesh.