Get Task custom field values Project Online CSOM RRS feed

  • Question

  • HI Team,

    How to get the list of task custom fields and its values using CSOM in a project. I came to know the using DraftProject and DraftTask objects in Project online API its possible, but for using these objects I need to do a checkout of the project, which I dont want to do.

    I want to achieve the functionality of getting task custom fields and its values from a project using CSOM by using PublishedTask object. If there is any way or any other way please let me know.



    Vishnu Mahesh

    Wednesday, July 1, 2020 3:29 PM

All replies

  • Hi Vishnu,

    Try to load projects or tasks using below method. This doesn't require Project check out. 

                                p => p.Include(
                                    q => q.Id,
                                    q => q.Name,
                                    q => q.ProjectType,
                                    q => q.Draft)

    Hope this helps.

    Thank you,

    Kiran K.

    Monday, July 27, 2020 10:42 AM