Quantcast
Channel: Project Customization and Programming forum
Viewing all articles
Browse latest Browse all 5347

CSOM - change task status manager

$
0
0

can someone provide an example of how to change a task status manager using CSOM? i know how to do it using PSI, but can't figure out how to do it with SCOM

this is what i got so far: 

 foreach (PublishedProject pub in projContext.Projects)
                    {   if (!pub.IsCheckedOut)
                            {


                                DraftProject draftProj = pub.CheckOut().IncludeCustomFields;
                                projContext.Load(draftProj);
                                projContext.Load(draftProj.Tasks);
                                projContext.Load(draftProj.IncludeCustomFields);
                                projContext.ExecuteQuery();

 foreach (Task t in pub.Tasks)
                                {
                                    if (t.IsSummary != true)
                                    {
                                        //update status manager 
                                        t. ?????????????????
                                    }
                                }


tatiana




Viewing all articles
Browse latest Browse all 5347

Trending Articles



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