-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Description
When working with new or existing sites in Cloud it isn't uncommon to use Uda files to copy functionality between sites.
To make it it a little easier to identify the correct Udi a small stucture change would be great.
At the moment name and alias are located at the bottom of the Json structure.
For example:
{
"DefaultTemplate": null,
"AllowedTemplates": [],
"Icon": "icon-list color-black",
"Thumbnail": "folder.png",
"Description": null,
"IsContainer": false,
"Permissions": {
"AllowVaryingByCulture": false,
"AllowVaryingBySegment": false,
"AllowedAtRoot": false,
"IsElementType": true,
"AllowedChildContentTypes": []
},
"Parent": "umb://document-type-container/f6ec3671807341db8430d3f78b154364",
"CompositionContentTypes": [],
"PropertyGroups": [
{
"Key": "f7e918a2-371d-4f75-a298-dcaf4e376ca2",
"Name": "Content",
"SortOrder": 0,
"PropertyTypes": [
{
"Key": "11dff93b-5077-447d-bfda-0e0ac30dc50f",
"Alias": "form",
"DataType": "umb://data-type/e535b65a4bea49c3a2fff8fd5ff70e2a",
"Description": null,
"Mandatory": false,
"Name": "Form",
"SortOrder": 1,
"Validation": null,
"VariesByCulture": false,
"VariesBySegment": false,
"LabelOnTop": false,
"MemberCanEdit": false,
"ViewOnProfile": false,
"IsSensitive": false
},
{
"Key": "4560557f-3fc6-4afa-8713-a55228487aba",
"Alias": "title",
"DataType": "umb://data-type/0cc0eba1996042c9bf9b60e150b429ae",
"Description": null,
"Mandatory": false,
"Name": "Title",
"SortOrder": 0,
"Validation": null,
"VariesByCulture": false,
"VariesBySegment": false,
"LabelOnTop": false,
"MemberCanEdit": false,
"ViewOnProfile": false,
"IsSensitive": false
}
]
}
],
"PropertyTypes": [],
"Udi": "umb://document-type/5c4bcf88f708401aa1191fd1989cae22",
"Dependencies": [
{
"Udi": "umb://data-type/0cc0eba1996042c9bf9b60e150b429ae",
"Ordering": true,
"Mode": 0
},
{
"Udi": "umb://data-type/e535b65a4bea49c3a2fff8fd5ff70e2a",
"Ordering": true,
"Mode": 0
},
{
"Udi": "umb://document-type-container/f6ec3671807341db8430d3f78b154364",
"Ordering": true,
"Mode": 0
}
],
"Name": "Form block",
"Alias": "formBlock",
"__type": "Umbraco.Deploy,Umbraco.Deploy.Artifacts.ContentType.DocumentTypeArtifact",
"__version": "4.1.2"
}
If it is possible to move them to the top it is just a case of opening the file instead of also having to scroll through the longer files. For example:
{
"Name": "Form block",
"Alias": "formBlock",
"DefaultTemplate": null,
"AllowedTemplates": [],
"Icon": "icon-list color-black",
"Thumbnail": "folder.png",
"Description": null,
"IsContainer": false,
"Permissions": {
"AllowVaryingByCulture": false,
...
}
It's the small things that can make life easier ;-)