Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Business Process Apps using cross domain CSOM or REST calls: which one is the easiest to use?

$
0
0


Hi

I have build a  few (on prem) provider hosted and  SharePoint hosted apps to really surface data held in host web. Now, I want to do something a bit more complex by starting to build a process follow that makes a number of cross domain calls - the success handler of the preceding call setting up the next cross domain call  and so on . 

For example:

Document Library 1
Document 1, Content type ct_1 (various attributes set inc taxonomy, lookup etc)
I want to copy this document and any set fields to ……..

Document Library 2
Document 2, Content type ct_2 (inherits from ct_1) ( ( various attributes, set as above) 

 I just wondered if this was achievable withclient side REST or would this be better with CSOM :-( Thos I am stating to hate CSOM ;-.I did have a look at server side code ( csom/rest) and I thought quite verbose and a backwards step plus not really amenable to later moving to Angular or Knockout- tho please let me know if this initial assumption is wrong.  

One controversial view would be to code up a full  farm trust web part because the server side apis are well understood. Also,  one or two dlls are are likely to be difficult to migrate at some stage - assuming  V Next does not mechanisms to prevent full trust farm solutions complete with bard wire and watchtowers ;-)

The other option thought of would be a 2013 w/f but I would a fancy form to go with this as I would want to capture user input

Be interested to hear the thoughts from the community 

Daniel, WSL


Freelance consultant




Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>