@@ -25,7 +25,9 @@ public void Initialize()
25
25
{
26
26
RegisterUdiTypes ( ) ;
27
27
InitializeDiskRefreshers ( ) ;
28
- InitializeIntegratedEntities ( ) ;
28
+
29
+ // TODO: Need to speak with Ronald to get the queue for transfer working
30
+ // InitializeIntegratedEntities();
29
31
}
30
32
31
33
public void Terminate ( )
@@ -53,20 +55,20 @@ private void InitializeIntegratedEntities()
53
55
{
54
56
// Add in integrated transfer entities
55
57
transferEntityService . RegisterTransferEntityType < ProductAttributeReadOnly > (
56
- UmbracoCommerceConstants . UdiEntityType . ProductAttribute ,
58
+ "uc:product-attributes" ,
57
59
"Product Attributes" ,
58
60
new DeployRegisteredEntityTypeDetailOptions
59
61
{
60
62
SupportsQueueForTransfer = true ,
61
- SupportsQueueForTransferOfDescendents = true ,
63
+ // SupportsQueueForTransferOfDescendents = true,
62
64
SupportsRestore = true ,
63
65
PermittedToRestore = true ,
64
66
SupportsPartialRestore = true ,
65
- // SupportsImportExport = true,
67
+ SupportsImportExport = true ,
66
68
//SupportsExportOfDescendants = true
67
69
} ,
68
70
false ,
69
- Cms . Constants . Trees . Stores . Alias ,
71
+ "commerce" ,
70
72
( string routePath , HttpContext httpContext ) => MatchesRoutePath ( routePath , "productattribute" ) ,
71
73
( string nodeId , HttpContext httpContext ) => MatchesNodeId (
72
74
nodeId ,
@@ -95,20 +97,20 @@ private void InitializeIntegratedEntities()
95
97
// TODO: , new DeployTransferRegisteredEntityTypeDetail.RemoteTreeDetail(FormsTreeHelper.GetExampleTree, "example", "externalExampleTree"));
96
98
97
99
transferEntityService . RegisterTransferEntityType < ProductAttributePresetReadOnly > (
98
- UmbracoCommerceConstants . UdiEntityType . ProductAttributePreset ,
100
+ "uc:product-attribute-presets" ,
99
101
"Product Attribute Presets" ,
100
102
new DeployRegisteredEntityTypeDetailOptions
101
103
{
102
104
SupportsQueueForTransfer = true ,
103
- SupportsQueueForTransferOfDescendents = true ,
105
+ // SupportsQueueForTransferOfDescendents = true,
104
106
SupportsRestore = true ,
105
107
PermittedToRestore = true ,
106
108
SupportsPartialRestore = true ,
107
- // SupportsImportExport = true,
109
+ SupportsImportExport = true ,
108
110
//SupportsExportOfDescendants = true
109
111
} ,
110
112
false ,
111
- Cms . Constants . Trees . Stores . Alias ,
113
+ "commerce" ,
112
114
( string routePath , HttpContext httpContext ) => MatchesRoutePath ( routePath , "productattributepreset" ) ,
113
115
( string nodeId , HttpContext httpContext ) => MatchesNodeId (
114
116
nodeId ,
0 commit comments