Override Attachment Source

Discussions related to custom development with Select.
Post Reply
HariK
Posts: 25
Joined: Wed Feb 23, 2011 4:15 pm

Override Attachment Source

Post by HariK »

Hi All -
We use a custom document management system instead of using built in softpro document management system
We have a registered a new print job hander, so that whenever user publishes a document from softpro it will end up in our custom DMS.

Currently when a user goes to attachment section with in softpro, it is pulling documents from softpro built in document management system, we would like to change/override this so instead it should read/write documents from our custom DMS
Anytime user goes to attachments from within softpro or from softpro 360, it should read/write documents from our custom DMS
In short, how to override default attachment functionality and instead use our own custom document management section.

Can you point me to documentation on how to achieve this

Thanks
mhoutz
Posts: 14
Joined: Wed Dec 14, 2016 5:22 pm

Re: Override Attachment Source

Post by mhoutz »

Hello,

We looked at this possibility earlier this year. Unfortunately, we found that there was no way to separate the attachments from the order. Apologies, but at this time, there is no way to override that order-attachment system.

Mike
HariK
Posts: 25
Joined: Wed Feb 23, 2011 4:15 pm

Re: Override Attachment Source

Post by HariK »

Thanks for looking into this Mike.

Can the attachment section (see attached screenshot), read data from more than one data sources
It can continue to pull attachments from the Order-Attachment system, can we add more custom sources where it can pull data from
mhoutz
Posts: 14
Joined: Wed Dec 14, 2016 5:22 pm

Re: Override Attachment Source

Post by mhoutz »

No problem! I wish we could pull from more than one source other than the order blob, but there's no way to do so without redesigning the way the attachments upload and download from the order. We researched this for an earlier project, but it just wasn't feasible for our current versions.
HariK
Posts: 25
Joined: Wed Feb 23, 2011 4:15 pm

Re: Override Attachment Source

Post by HariK »

Ok, I have a related question

In couple of posts, see links below, it is mentioned that we can change the default print job hander to save the attachment data in custom DMS instead of using softpro blob storage

viewtopic.php?f=6&t=89&p=525&hilit=IDoc ... orage#p525
viewtopic.php?f=17&t=171&p=887&hilit=Attachment#p887
viewtopic.php?f=17&t=63

Here is a comment from one of these posts
At the end of the day, you have 2 options with respect to customizing Publish: (1) Use our default print job handler and implement your own IDocumentStorage class, or (2) abandon our default print job handler and write your own with the understanding that we maintain no associations with the Order at that point.
Can you point to documentation on how to achieve option#1 in softpro 4.1
mhoutz
Posts: 14
Joined: Wed Dec 14, 2016 5:22 pm

Re: Override Attachment Source

Post by mhoutz »

Unfortunately, blob storage wasn't a part of Select when these solutions were posted (2009-2010). Since an order in the system works differently now, a custom storage system wouldn't work in version 4.

Mike
Post Reply