Hi Fiona,
The UpdateCustomFields method is only avaiable using REST API. The REST method can be found at the following endpoint:
https://<site-url>/_api/ProjectServer/Projects('<guid>')/Draft/UpdateCustomFields()
Please refer to the link below for a detailed tutorial to update custom fields in Project Online:
Bulk update custom fields and create project sites from a workflow in Project Online.
https://docs.microsoft.com/en-us/office/client-developer/project/bulk-update-custom-fields-and-create-project-sites-from-workflow-in-project
Best regards,
Chelsea Wu
Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact
tnmff@microsoft.com.
SharePoint Server 2019 has been released, you can click
here to download it.
Click
here to learn new features. Visit the dedicated
forum to share, explore and talk to experts about SharePoint Server 2019.