Freigeben über

Microsoft Project API: Change of Custom and Number Fields

Anonym
2024-10-22T07:39:22+00:00

hello Community,

We are trying to change Custom and Number Fields of Tasks through the Microsoft Project API. Therefore, we are checking out the Project, Then perform a merge Request on the following URL with the Following Body:

MERGE https://<tenant>.sharepoint.com/sites/<site>/_api/ProjectServer/Projects('xxxxxxx-xxxx-xxxx-xxxx-xxxxxxx')/Draft/Tasks('xxxxxxx-xxxx-xxxx-xxxx-xxxxxxx')

{ "Custom_0f066cf14018ef118adc00155da88d13": true, "WorkMiliseconds": 100,

"Name": "test123"

}

The Name gets changed, the WorkMiliseconds and the Custom Field remain the same (0 and "false"). We also tried it for other Custom Fields with other types (e.g. Collection(edm.string)). Both Fields are changeable in the Project App.

Is there anything we need to consider when trying to change Custom Fields or Number Fields through the API?

Thanks in advance!

Microsoft 365 und Office | Project | Geschäftlich | Windows
Microsoft 365 und Office | Project | Geschäftlich | Windows
Microsoft-Projektmanagementsoftware, die zum Planen, Verwalten und Kommunizieren eines Projektzeitplans und anderer Informationen zwischen Arbeitsgruppenmitgliedern, Projektmanager*innen und anderen Projektbeteiligten verwendet wird.

Gesperrte Frage. Diese Frage wurde aus der Microsoft-Support-Community migriert. Sie können darüber abstimmen, ob sie hilfreich ist, aber Sie können keine Kommentare oder Antworten hinzufügen oder der Frage folgen.

0 Kommentare Keine Kommentare
{count} Stimmen