question

HoushamRichardSystemsDeveloper-1367 avatar image
0 Votes"
HoushamRichardSystemsDeveloper-1367 asked MichaelHan-MSFT edited

What is the point of routing rules in SharePoint 365

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://docs.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?

office-sharepoint-onlinesharepoint-dev
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

MichaelHan-MSFT avatar image
1 Vote"
MichaelHan-MSFT answered MichaelHan-MSFT converted comment to answer

Hi @HoushamRichardSystemsDeveloper-1367,

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.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

HoushamRichardSystemsDeveloper-1367 avatar image
0 Votes"
HoushamRichardSystemsDeveloper-1367 answered MichaelHan-MSFT commented

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


· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@HoushamRichardSystemsDeveloper-1367,
Thanks for the sharing! You could accept your anwer via the "Accept Answer" button to close this thread :)

0 Votes 0 ·