Hi Team,
We have a requirement to save attachments in FSM based on File Type in respective folders. For example, Solution document type to saved into the folder Solution created inside the default File Attachment directory. We were advised that we can try extending the method SaveAttachmentAsFile in AttachmentPolicy file. I tried creating a custom Attachment Policy and inherited it from AttachmentPolicy class. But I am not getting an option to override the method SaveAttachmentAsFile.
Below code is giving error, no suitable method found to override. Please advise hoe I can extend the functionality to create paths dynamically for attachments.
public class TestAttachmentPolicy : AttachmentPolicy
{
public TestAttachmentPolicy() : base()
{
AttachmentPolicy policy = new AttachmentPolicy();
AttachmentManager mgr;
base.TableName = attachmentRow.TABLE_NAME;
}
private override void SaveAttachmentAsFile()
{
}
}
Regards,
AJAY