Hello
I downloaded the multi selection ad-on from market place:
https://marketplace.bpmonline.com/app/multiple-choice-field-module
added the object to a schema according to the instrucions supplied with the add on:
The object works fine but I don't know how to locate it in a gruop field. it always appear on the top of the head of the page as shown here:
The code I used in the SCHEMA_DIFF is this:
{
                "operation": "insert",
                "name": "MultiChoiceFieldGroup",
                "values": {
                    "itemType": 15,
                    "caption": {
                        "bindTo": "Resources.Strings.Tabf4d38f16TabLabelTabCaption"
                    },
                    "items": [],
                    "tools": [],
                    "controlConfig": {
                        "collapsed": false
                    }
                },
                "index": 0
            },
            {
                "operation": "insert",
                "name": "MultiChoiceFieldGroupContainer",
                "values": {
                    "itemType": 7,
                    "items": []
                },
                "parentName": "MultiChoiceFieldGroup",
                "propertyName": "items",
                "index": 0
            },
            {
                "operation": "insert",
                "name": "MultichoiceModule",
                "values": {
                    "itemType": 4
                },
                "parentName": "MultiChoiceFieldGroupContainer",
                "propertyName": "items",
                "index": 0
            },
How can I control it's possition ?
Thanks in advance to anyone who will help!
Like
You need to specify a parent for the MultiChoiceFieldGroup element. In the diff you posted, in the MultiChoiceFieldGroup, add a parentName and propertyName. The parent name would be the name of the tab you'd like it to appear on and set the propertyName to "items".
Something like this:
{ "operation": "insert", "name": "MultiChoiceFieldGroup", "values": { "itemType": 15, "caption": { "bindTo": "Resources.Strings.Tabf4d38f16TabLabelTabCaption" }, "items": [], "tools": [], "controlConfig": { "collapsed": false } }, "index": 0, "parentName": "myTabName", "propertyName": "items" }
Thanks Ryan for your reply but it seems like I'm doing something wrong
I set up parentName as the name of the tab but it keeps showing on the header.
Where is my mistake ?
{
 "operation": "insert",
 "name": "MultiChoiceFieldGroup",
 "values": {
 "itemType": this.Terrasoft.ViewItemType.CONTROL_GROUP,
 "caption": {
 "bindTo": "Resources.Strings.Tabf4d38f16TabLabelGroup59bc0e6aGroupCaption"
 },
 "items": [],
 "tools": [],
 "controlConfig": {
 "collapsed": false
 }
 },
 "parentName": "Resources.Strings.Tabf4d38f16TabLabelTabCaption",
 "propertyName": "items",
 "index": 0
},
Make sure that the module itself (the element with the itemType: Terrasoft.ViewItemType.MODULE - or a 4) has the parent of a container (itemType: Terrasoft.ViewItemType.CONTAINER - or a 7) and the container has a parent of an element that is a control group (itemType: Terrasoft.ViewItemType.CONTROL_GROUP - or a 15). Lastly, make sure the control group has a parent that is the tab (which will have a parentName of "Tabs")
Ryan