QueueAddToProject causes CustomFieldCodeValueAlreadyUsed

T

Tiffy Huxtable

Hello

I have a fresh new ProjectDataSet, there I add some new tasks and some
values for several task enterprise custom fields. Those custom fields
are either text fields or fields with lookup tables.

Now when I call ProjectWebSvc.QueueAddToProject() method with that
ProjectDataSet then I get a SoapException with the ProjectServerError
"CustomFieldCodeValueAlreadyUsed".

I don't have any clue what "CustomFieldCodeValueAlreadyUsed" could
mean, does anybody of you know what is meant by this error?
Thanks!

Tiffy Huxtable
 
T

Tiffy Huxtable

Solved.

It happened that my code accidently added a new value two times for an
enterprise multi-value custom field with lookup table. The web service
does not like it and throws an exception with
'CustomFieldCodeValueAlreadyUsed' error.
So I managed to add this value one time and it works now.

T.H.
 
Joined
Aug 16, 2021
Messages
1
Reaction score
0
Thanks. This is the same issue I have encountered now and got it resolved just as you told.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top