Click or drag to resize

PresentationsAdminServicesGetComponentFragmentInstances Method


Retrieves component content unit fragment instances. A fragment instance is a component associated with a content unit there was shared out from embedded state. They will always have inner layout. They are customized version of the component content unit.

Namespace:  IngeniuxCMService
Assembly:  IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.5.94
Syntax
public XHRServiceResponseGeneric<ComponentFragmentInstance[]> GetComponentFragmentInstances(
	string componentUnitId
)

Parameters

componentUnitId
Type: SystemString
Id of the component content unit

Return Value

Type: XHRServiceResponseGenericComponentFragmentInstance

List of fragment instances

Examples

Sample JSON return

JavaScript
{
    "ContentFreezeEndTime": "",
    "ContentFreezeStartTime": "",
    "code": 0,
    "error": null,
    "message": [
        {
            "AllowedSchemas": [],
            "ComponentSchemaId": "schemas\/VisualFormBuilderForm",
            "ComponentSchemaName": "",
            "ElementName": "FormBuilder_Form",
            "HasView": false,
            "IconName": "11",
            "Id": "ComponentContentUnits\/VisualFormBuilderForm",
            "IsComponentUnit": true,
            "Name": "FormBuilder_Form",
            "Reusable": false,
            "TemplateName": "FormBuilder_Form",
            "ThumbnailPath": null,
            "ElementData": {
                "attributes": [
                    {
                        "Key": "Component",
                        "Value": "x1894"
                    },
                    {
                        "Key": "CompTypes",
                        "Value": "FormBuilder_Form"
                    },
                    {
                        "Key": "AutoEmbed",
                        "Value": ""
                    },
                    {
                        "Key": "WrappedUp",
                        "Value": "true"
                    },
                    {
                        "Key": "AllowWrappingChange",
                        "Value": ""
                    },
                    {
                        "Key": "Embedded",
                        "Value": "false"
                    },
                    {
                        "Key": "CIID",
                        "Value": "ComponentContentUnits\/VisualFormBuilderForm_79744a925abcb43025584ba21709c2af"
                    },
                    {
                        "Key": "label",
                        "Value": "Visual Form Builder - Form"
                    },
                    {
                        "Key": "readonly",
                        "Value": "false"
                    },
                    {
                        "Key": "hidden",
                        "Value": "false"
                    },
                    {
                        "Key": "required",
                        "Value": "false"
                    },
                    {
                        "Key": "Expanded",
                        "Value": "false"
                    },
                    {
                        "Key": "Type",
                        "Value": "Component"
                    },
                    {
                        "Key": "componentName",
                        "Value": ""
                    },
                    {
                        "Key": "icon",
                        "Value": "fa-cog"
                    }
                ],
                "childName": "FormBuilder_Form",
                "childParentId": null,
                "childSchemaFriendlyName": null,
                "childSchemaId": null,
                "childSchemaName": "FormBuilder_Form",
                "contentUnitField": false,
                "deletedAttributes": [],
                "extendedObject": "",
                "nodeName": "FormBuilder_Form",
                "nodePosition": 0,
                "pageBuilderTemplateName": "",
                "childElementType": null,
                "childElements": [
                    {
                        "attributes": [
                            {
                                "Key": "ID",
                                "Value": "x1894"
                            },
                            {
                                "Key": "Name",
                                "Value": "FormBuilder_Form"
                            }
                        ],
                        "childName": null,
                        "childParentId": null,
                        "childSchemaFriendlyName": null,
                        "childSchemaId": null,
                        "childSchemaName": null,
                        "contentUnitField": false,
                        "deletedAttributes": [],
                        "extendedObject": "",
                        "nodeName": "FormBuilder_Form",
                        "nodePosition": 0,
                        "pageBuilderTemplateName": null,
                        "childElementType": null,
                        "childElements": [
                            {
                                "attributes": [
                                    {
                                        "Key": "icon",
                                        "Value": "fa-file-text-o"
                                    },
                                    {
                                        "Key": "label",
                                        "Value": "Form Name"
                                    },
                                    {
                                        "Key": "readonly",
                                        "Value": "false"
                                    },
                                    {
                                        "Key": "hidden",
                                        "Value": "false"
                                    },
                                    {
                                        "Key": "required",
                                        "Value": "true"
                                    },
                                    {
                                        "Key": "Expanded",
                                        "Value": "false"
                                    },
                                    {
                                        "Key": "type",
                                        "Value": "string"
                                    }
                                ],
                                "childName": null,
                                "childParentId": null,
                                "childSchemaFriendlyName": null,
                                "childSchemaId": null,
                                "childSchemaName": null,
                                "contentUnitField": false,
                                "deletedAttributes": [],
                                "extendedObject": "",
                                "nodeName": "name",
                                "nodePosition": 0,
                                "pageBuilderTemplateName": "",
                                "childElementType": null,
                                "childElements": [],
                                "disabled": false,
                                "ignoreEmbedding": false,
                                "nodeValue": "test",
                                "uniqueId": "c63b6e6b-75c3-49e5-8311-84a75415fe93"
                            },
                            {
                                "attributes": [
                                    {
                                        "Key": "Height",
                                        "Value": ""
                                    },
                                    {
                                        "Key": "CIID",
                                        "Value": "ContentUnits\/33_e9f111f0b208bdfff4fe6172445ec08c"
                                    },
                                    {
                                        "Key": "icon",
                                        "Value": "fa-pencil-square-o"
                                    },
                                    {
                                        "Key": "label",
                                        "Value": "Copy"
                                    },
                                    {
                                        "Key": "readonly",
                                        "Value": "false"
                                    },
                                    {
                                        "Key": "hidden",
                                        "Value": "false"
                                    },
                                    {
                                        "Key": "required",
                                        "Value": "false"
                                    },
                                    {
                                        "Key": "Expanded",
                                        "Value": "false"
                                    },
                                    {
                                        "Key": "type",
                                        "Value": "xhtml"
                                    }
                                ],
                                "childName": null,
                                "childParentId": null,
                                "childSchemaFriendlyName": null,
                                "childSchemaId": null,
                                "childSchemaName": null,
                                "contentUnitField": false,
                                "deletedAttributes": [],
                                "extendedObject": "",
                                "nodeName": "Copy",
                                "nodePosition": 1,
                                "pageBuilderTemplateName": "Copy",
                                "childElementType": null,
                                "childElements": [],
                                "disabled": false,
                                "ignoreEmbedding": false,
                                "nodeValue": "<!DOCTYPE html>\u000a<html>\u000a<head>\u000a<\/head>\u000a<body>\u000a<p>asdfsaf [Copy]<\/p>\u000a<\/body>\u000a<\/html>",
                                "uniqueId": "86a52ec936cf6be18010499c17bde76e"
                            },
                            {
                                "attributes": [
                                    {
                                        "Key": "values",
                                        "Value": "post get"
                                    },
                                    {
                                        "Key": "icon",
                                        "Value": "igx-fa-dropdown"
                                    },
                                    {
                                        "Key": "label",
                                        "Value": "Method"
                                    },
                                    {
                                        "Key": "readonly",
                                        "Value": "false"
                                    },
                                    {
                                        "Key": "hidden",
                                        "Value": "false"
                                    },
                                    {
                                        "Key": "required",
                                        "Value": "true"
                                    },
                                    {
                                        "Key": "Expanded",
                                        "Value": "false"
                                    },
                                    {
                                        "Key": "type",
                                        "Value": "enumeration"
                                    }
                                ],
                                "childName": null,
                                "childParentId": null,
                                "childSchemaFriendlyName": null,
                                "childSchemaId": null,
                                "childSchemaName": null,
                                "contentUnitField": false,
                                "deletedAttributes": [],
                                "extendedObject": "",
                                "nodeName": "method",
                                "nodePosition": 2,
                                "pageBuilderTemplateName": "",
                                "childElementType": null,
                                "childElements": [],
                                "disabled": false,
                                "ignoreEmbedding": false,
                                "nodeValue": "post",
                                "uniqueId": "cc039b32-ceda-42f3-aabe-7f78a8a471c2"
                            },
                            {
                                "attributes": [
                                    {
                                        "Key": "icon",
                                        "Value": "fa-file-text-o"
                                    },
                                    {
                                        "Key": "label",
                                        "Value": "Action URL"
                                    },
                                    {
                                        "Key": "readonly",
                                        "Value": "false"
                                    },
                                    {
                                        "Key": "hidden",
                                        "Value": "false"
                                    },
                                    {
                                        "Key": "required",
                                        "Value": "true"
                                    },
                                    {
                                        "Key": "Expanded",
                                        "Value": "false"
                                    },
                                    {
                                        "Key": "type",
                                        "Value": "string"
                                    }
                                ],
                                "childName": null,
                                "childParentId": null,
                                "childSchemaFriendlyName": null,
                                "childSchemaId": null,
                                "childSchemaName": null,
                                "contentUnitField": false,
                                "deletedAttributes": [],
                                "extendedObject": "",
                                "nodeName": "actionURL",
                                "nodePosition": 3,
                                "pageBuilderTemplateName": "",
                                "childElementType": null,
                                "childElements": [],
                                "disabled": false,
                                "ignoreEmbedding": false,
                                "nodeValue": "test",
                                "uniqueId": "3b5c16fb-26e7-4a14-baa1-0abf409bf43b"
                            },
                            {
                                "attributes": [
                                    {
                                        "Key": "Expanded",
                                        "Value": "false"
                                    },
                                    {
                                        "Key": "Enclosed",
                                        "Value": "false"
                                    },
                                    {
                                        "Key": "AllowEnclosureChange",
                                        "Value": "false"
                                    },
                                    {
                                        "Key": "icon",
                                        "Value": "igx-fa-group-start"
                                    },
                                    {
                                        "Key": "label",
                                        "Value": "Advanced"
                                    },
                                    {
                                        "Key": "readonly",
                                        "Value": "false"
                                    },
                                    {
                                        "Key": "hidden",
                                        "Value": "false"
                                    },
                                    {
                                        "Key": "required",
                                        "Value": "false"
                                    },
                                    {
                                        "Key": "Type",
                                        "Value": "GroupStart"
                                    }
                                ],
                                "childName": null,
                                "childParentId": null,
                                "childSchemaFriendlyName": null,
                                "childSchemaId": null,
                                "childSchemaName": null,
                                "contentUnitField": false,
                                "deletedAttributes": [],
                                "extendedObject": "",
                                "nodeName": "Advanced",
                                "nodePosition": 4,
                                "pageBuilderTemplateName": "",
                                "childElementType": null,
                                "childElements": [
                                    {
                                        "attributes": [
                                            {
                                                "Key": "values",
                                                "Value": "_blank _parent _self _search _top"
                                            },
                                            {
                                                "Key": "icon",
                                                "Value": "igx-fa-dropdown"
                                            },
                                            {
                                                "Key": "label",
                                                "Value": "target"
                                            },
                                            {
                                                "Key": "readonly",
                                                "Value": "false"
                                            },
                                            {
                                                "Key": "hidden",
                                                "Value": "false"
                                            },
                                            {
                                                "Key": "required",
                                                "Value": "false"
                                            },
                                            {
                                                "Key": "Expanded",
                                                "Value": "false"
                                            },
                                            {
                                                "Key": "type",
                                                "Value": "enumeration"
                                            }
                                        ],
                                        "childName": null,
                                        "childParentId": null,
                                        "childSchemaFriendlyName": null,
                                        "childSchemaId": null,
                                        "childSchemaName": null,
                                        "contentUnitField": false,
                                        "deletedAttributes": [],
                                        "extendedObject": "",
                                        "nodeName": "target",
                                        "nodePosition": 0,
                                        "pageBuilderTemplateName": "",
                                        "childElementType": null,
                                        "childElements": [],
                                        "disabled": false,
                                        "ignoreEmbedding": false,
                                        "nodeValue": "_self",
                                        "uniqueId": "07a344a5-0b68-4d41-a905-c2ff86e250f8"
                                    },
                                    {
                                        "attributes": [
                                            {
                                                "Key": "icon",
                                                "Value": "fa-check-square-o"
                                            },
                                            {
                                                "Key": "label",
                                                "Value": "AJAX Request"
                                            },
                                            {
                                                "Key": "readonly",
                                                "Value": "false"
                                            },
                                            {
                                                "Key": "hidden",
                                                "Value": "false"
                                            },
                                            {
                                                "Key": "required",
                                                "Value": "false"
                                            },
                                            {
                                                "Key": "Expanded",
                                                "Value": "false"
                                            },
                                            {
                                                "Key": "type",
                                                "Value": "boolean"
                                            }
                                        ],
                                        "childName": null,
                                        "childParentId": null,
                                        "childSchemaFriendlyName": null,
                                        "childSchemaId": null,
                                        "childSchemaName": null,
                                        "contentUnitField": false,
                                        "deletedAttributes": [],
                                        "extendedObject": "",
                                        "nodeName": "AJAXRequest",
                                        "nodePosition": 1,
                                        "pageBuilderTemplateName": "",
                                        "childElementType": null,
                                        "childElements": [],
                                        "disabled": false,
                                        "ignoreEmbedding": false,
                                        "nodeValue": null,
                                        "uniqueId": "013ab287-0b28-4376-b18d-01b5b386f278"
                                    },
                                    {
                                        "attributes": [
                                            {
                                                "Key": "Expanded",
                                                "Value": "false"
                                            },
                                            {
                                                "Key": "Enclosed",
                                                "Value": "true"
                                            },
                                            {
                                                "Key": "AllowEnclosureChange",
                                                "Value": "false"
                                            },
                                            {
                                                "Key": "icon",
                                                "Value": "fa-list"
                                            },
                                            {
                                                "Key": "label",
                                                "Value": "Hidden Fields"
                                            },
                                            {
                                                "Key": "readonly",
                                                "Value": "false"
                                            },
                                            {
                                                "Key": "hidden",
                                                "Value": "false"
                                            },
                                            {
                                                "Key": "required",
                                                "Value": "false"
                                            },
                                            {
                                                "Key": "Type",
                                                "Value": "List"
                                            }
                                        ],
                                        "childName": null,
                                        "childParentId": null,
                                        "childSchemaFriendlyName": null,
                                        "childSchemaId": null,
                                        "childSchemaName": null,
                                        "contentUnitField": false,
                                        "deletedAttributes": [],
                                        "extendedObject": "",
                                        "nodeName": "HiddenFields",
                                        "nodePosition": 2,
                                        "pageBuilderTemplateName": "",
                                        "childElementType": "Component",
                                        "childElements": [
                                            {
                                                "attributes": [
                                                    {
                                                        "Key": "Component",
                                                        "Value": ""
                                                    },
                                                    {
                                                        "Key": "CompTypes",
                                                        "Value": "FormField_Hidden"
                                                    },
                                                    {
                                                        "Key": "AutoEmbed",
                                                        "Value": "false"
                                                    },
                                                    {
                                                        "Key": "WrappedUp",
                                                        "Value": "false"
                                                    },
                                                    {
                                                        "Key": "AllowWrappingChange",
                                                        "Value": "false"
                                                    },
                                                    {
                                                        "Key": "componentName",
                                                        "Value": ""
                                                    },
                                                    {
                                                        "Key": "icon",
                                                        "Value": "fa-cog"
                                                    },
                                                    {
                                                        "Key": "label",
                                                        "Value": ""
                                                    },
                                                    {
                                                        "Key": "readonly",
                                                        "Value": "false"
                                                    },
                                                    {
                                                        "Key": "hidden",
                                                        "Value": "false"
                                                    },
                                                    {
                                                        "Key": "required",
                                                        "Value": "false"
                                                    },
                                                    {
                                                        "Key": "Expanded",
                                                        "Value": "false"
                                                    },
                                                    {
                                                        "Key": "Type",
                                                        "Value": "Component"
                                                    }
                                                ],
                                                "childName": null,
                                                "childParentId": null,
                                                "childSchemaFriendlyName": null,
                                                "childSchemaId": null,
                                                "childSchemaName": null,
                                                "contentUnitField": false,
                                                "deletedAttributes": [],
                                                "extendedObject": "",
                                                "nodeName": "HiddenField",
                                                "nodePosition": 0,
                                                "pageBuilderTemplateName": "",
                                                "childElementType": null,
                                                "childElements": [],
                                                "disabled": false,
                                                "ignoreEmbedding": false,
                                                "nodeValue": "",
                                                "uniqueId": "4afb9949-544c-40cf-8779-5f6c0f934b3d"
                                            }
                                        ],
                                        "disabled": false,
                                        "ignoreEmbedding": false,
                                        "nodeValue": "",
                                        "uniqueId": "77fb59b4-5a30-4d6a-9f55-b5eade123882"
                                    },
                                    {
                                        "attributes": [
                                            {
                                                "Key": "icon",
                                                "Value": "fa-file-text-o"
                                            },
                                            {
                                                "Key": "label",
                                                "Value": "Form Class"
                                            },
                                            {
                                                "Key": "readonly",
                                                "Value": "false"
                                            },
                                            {
                                                "Key": "hidden",
                                                "Value": "false"
                                            },
                                            {
                                                "Key": "required",
                                                "Value": "false"
                                            },
                                            {
                                                "Key": "Expanded",
                                                "Value": "false"
                                            },
                                            {
                                                "Key": "type",
                                                "Value": "string"
                                            }
                                        ],
                                        "childName": null,
                                        "childParentId": null,
                                        "childSchemaFriendlyName": null,
                                        "childSchemaId": null,
                                        "childSchemaName": null,
                                        "contentUnitField": false,
                                        "deletedAttributes": [],
                                        "extendedObject": "",
                                        "nodeName": "FormClass",
                                        "nodePosition": 3,
                                        "pageBuilderTemplateName": "",
                                        "childElementType": null,
                                        "childElements": [],
                                        "disabled": false,
                                        "ignoreEmbedding": false,
                                        "nodeValue": null,
                                        "uniqueId": "a154792c-79f5-4a78-8e7c-7fb3b84fffc6"
                                    },
                                    {
                                        "attributes": [
                                            {
                                                "Key": "icon",
                                                "Value": "fa-file-text-o"
                                            },
                                            {
                                                "Key": "label",
                                                "Value": "Form Description (for internal identification)"
                                            },
                                            {
                                                "Key": "readonly",
                                                "Value": "false"
                                            },
                                            {
                                                "Key": "hidden",
                                                "Value": "false"
                                            },
                                            {
                                                "Key": "required",
                                                "Value": "false"
                                            },
                                            {
                                                "Key": "Expanded",
                                                "Value": "false"
                                            },
                                            {
                                                "Key": "type",
                                                "Value": "string"
                                            }
                                        ],
                                        "childName": null,
                                        "childParentId": null,
                                        "childSchemaFriendlyName": null,
                                        "childSchemaId": null,
                                        "childSchemaName": null,
                                        "contentUnitField": false,
                                        "deletedAttributes": [],
                                        "extendedObject": "",
                                        "nodeName": "desc",
                                        "nodePosition": 4,
                                        "pageBuilderTemplateName": "",
                                        "childElementType": null,
                                        "childElements": [],
                                        "disabled": false,
                                        "ignoreEmbedding": false,
                                        "nodeValue": null,
                                        "uniqueId": "a3b3d065-d5bc-4bb5-85e2-b53ef31b9c3c"
                                    }
                                ],
                                "disabled": false,
                                "ignoreEmbedding": false,
                                "nodeValue": "",
                                "uniqueId": "99b03a6d-0c80-4261-b55f-a8f6b8a471db"
                            }
                        ],
                        "disabled": false,
                        "ignoreEmbedding": false,
                        "nodeValue": null,
                        "uniqueId": null
                    }
                ],
                "disabled": false,
                "ignoreEmbedding": true,
                "nodeValue": "FormBuilder_Form - Embedded",
                "uniqueId": "eaff06b9fc6e87e96e85dde92ee774c3"
            },
            "ElementId": "eaff06b9fc6e87e96e85dde92ee774c3",
            "ElementSchemaType": null,
            "FieldLabel": null,
            "FieldType": null,
            "ComponentId": "x1894",
            "VersionId": ""
        }
    ]
}
See Also