Interface IDictionaryItemImportService
Represents a service that provides functionality for importing dictionary items into the system.
Namespace: Umbraco.Cms.Api.Management.Services
Assembly: Umbraco.Cms.Api.Management.dll
Syntax
public interface IDictionaryItemImportService
Methods
View SourceImportDictionaryItemFromUdtFileAsync(Guid, Guid?, Guid)
Asynchronously imports a dictionary item from a temporary UDT (Umbraco Dictionary Transfer) file.
Declaration
Task<Attempt<IDictionaryItem?, DictionaryImportOperationStatus>> ImportDictionaryItemFromUdtFileAsync(Guid temporaryFileKey, Guid? parentKey, Guid userKey)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | temporaryFileKey | The unique key identifying the temporary UDT file to import from. |
| Guid? | parentKey | The optional key of the parent dictionary item under which the imported item will be placed. If |
| Guid | userKey | The key of the user performing the import operation. |
Returns
| Type | Description |
|---|---|
| Task<Attempt<IDictionaryItem, DictionaryImportOperationStatus>> | A System.Threading.Tasks.Task representing the asynchronous operation. The result contains an Attempt<TResult> with the imported IDictionaryItem (or |