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...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
"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...