Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi I'm using the API for migrations and as part of a migration I call:
return ServiceContext.ContentTypeService.GetContentType(docTypeAlias);
Occasionally that will just blow up with "An item with the same key has already been added."
I was just wondering if theres a way to check if that has been retrieved before and if so retrieve a refreshed copy from the db?
As in some instances adding property types and then adding values to those and the property types don't exist
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
"An item with the same key has already been added." - ServiceContext.ContentTypeService.GetContentType
Hi I'm using the API for migrations and as part of a migration I call:
Occasionally that will just blow up with "An item with the same key has already been added."
I was just wondering if theres a way to check if that has been retrieved before and if so retrieve a refreshed copy from the db?
As in some instances adding property types and then adding values to those and the property types don't exist
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.