Tell me more ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

We've got the following scenario:

From a site a user should be able to mark a file as archived. Doing so would send a copy of the file to an external DMS (non-sharepoint). When the document has been archived in external DMS, a documentID would be returned. This documentId should then be written to the files metadata in sharepoint (and the file should be locked in SP)

We will have Biztalk between SP and the external DMS. The flow would be:

  1. User clicks Archive document
  2. In the eventreceiver we could call a Archive function in a service application (returns imidiatly)
  3. The service applications calls a WS in Biztalk
  4. Biztalks calls the external DMS, and returns a documentId (might take some time)
  5. Biztalks calls the ServiceApplication with with the documentId
  6. The service applications updates the sharepoint file, adds the documentId and locks the file

Then (finally) comes my question:

Is a service application a good fit for this scenario?

From what I've read the service application could be pretty complex, so an alternative would be to skip the serviceapplication and have the following flow instead:

  1. User clicks Archive document
  2. In the eventreceiver we could call a WS in Biztalk (return imidiatly)
  3. Biztalks calls the external DMS, and returns a documentId (might take some time)
  4. Biztalks calls a SP WS that updates the sharepoint file, adds the documentId and locks the file

Or, maybe there are other options?

Thanks for any comments!

Larsi

share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.