What is the point of routing rules in SharePoint 365

2021-08-04T13:32:10.483+00:00

This might be a bit of complicated question - but here we go. In SharePoint 365 they have depricated the asmx API sets as per this artical here.
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/choose-the-right-api-set-in-sharepoint

We at this moment in time are using SharePoint 2016 and the high trust csom model - but need to use the OfficialFile / SubmitFile method in order to transmit files from a drafts site into our records. (using _vti_bin/OfficialFile.asmx)

Like I say this has now been depricated and I'm looking to redevelop our solution in 365. I'm wanting to do the right thing and just used csom to create the file in the drop off area. Then add in a flow to do what I want with it (I'm converting to pdf).

From the looks of things the routing rule is also on its way out as with the asmx and I should be using the flow to do whatever automated function I need.

Have I got the right end of the stick there with 'the plan' that microsoft seem to have laid out or am I missing something?

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,827 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
3,044 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. MichaelHan-MSFT 18,036 Reputation points
    2021-08-05T09:38:47.44+00:00

    Hi @Housham Richard - Systems Developer ,

    Yes, you are right. Just using CSOM for file operation in SharePoint site is recommended in your solution.

    And using flow to route documents would a good option for you.


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.
    0 comments No comments

  2. 2021-08-05T10:46:06.437+00:00

    Thanks for the vote of confidence, I just wanted a bit of a confirmation from another developer.

    Having said that I'm now in another problem. So having dropped my file off in the drop off library I want to use Flow to convert it to a pdf. Simples! you say and it is (for the most part).

    But the problem now is moving the file into the records centre. (It complains about the meta data not matching up).

    I need to have a read up and see if there a replacement for the submit file in the new javascript "_api" methods which might help me out.

    But thanks for your comment. ;) - good to know I'm on the right path ;)


    Update - looks like this article will be my friend..
    https://support.microsoft.com/en-us/office/declare-any-list-or-library-item-as-a-record-5d09480c-4b6b-4d3d-b46c-8b90a0f56f59


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.