GetCustomExtenderResult GetCustomExtender(CustomObId tCustomExtender, GetCustomExtenderArg tArg)
tCustomExtender. Moniker of opened instance of custom class container.
tArg. Operation execution parameters.
The GetCustomExtender operation gets custom class container metadata.
To execute the operation, in the tCustomExtender field specify moniker of opened custom class container instance, and in the tArg.pattern field specify pattern for getting metadata. The moniker can be obtained on executing the OpenCustomExtender operation.
The operation results in the obtained metadata.
Below is the example of getting information about custom classes created in repository. The request contains moniker of opened custom class container instance and the pattern that determines obtained class information. The response contains the obtained information about custom classes.
{
"GetCustomExtender" :
{
"tCustomExtender" :
{
"id" : "JFHDCPAHAHHCGOAEINHJAHNJDKAOLMFEPJOPHAHKLDFBMCCP!M!S!EEMPBGPAHAHHCGOAEDPGADAFLDKKBEEAEKKOADCJKHIMOAOGI"
},
"tArg" :
{
"pattern" :
{
"obInst" : "true",
"parsOwnDefVals" : "true",
"classes" : "Get",
"customClass" :
{
"smallImage" : "true",
"largeImage" : "true",
"CustomOperations" : "Get"
},
"smallImages" : "Get",
"largeImages" : "Get",
"resource" : "true"
}
}
}
}
{
"GetCustomExtenderResult" :
{
"id" :
{
"id" : "JFHDCPAHAHHCGOAEINHJAHNJDKAOLMFEPJOPHAHKLDFBMCCP!M!S!EEMPBGPAHAHHCGOAEDPGADAFLDKKBEEAEKKOADCJKHIMOAOGI"
},
"meta" :
{
"obInst" :
{
"obDesc" :
{
"@ds" : "",
"@isShortcut" : "0",
"@isLink" : "0",
"@ver" : "13",
"@hf" : "0",
"i" : "OBJ52",
"n" : "System class additions",
"k" : "52",
"c" : "5889",
"p" : "0",
"h" : "0",
"hasPrv" : "0",
"ic" : "0",
"trackElementDependents" : "0",
"isPermanent" : "1",
"isTemp" : "0"
}
},
"dirty" : "0",
"classes" :
{
"its" :
{
"it" :
[
{
"@ic" : "1",
"k" : "19",
"id" : "COMPONENT",
"n" : "Component",
"vis" : "1",
"implURL" : "",
"standardOperations" :
{
"its" :
{
"it" :
[
{
"k" : "0",
"id" : "OPEN",
"n" : "Open",
"vis" : "1"
},
{
"k" : "1",
"id" : "OPENWITHPARAMS",
"n" : "Open with parameters",
"vis" : "1"
},
{
"k" : "2",
"id" : "EDIT",
"n" : "Edit",
"vis" : "1"
},
{
"k" : "3",
"id" : "DELETE",
"n" : "Delete",
"vis" : "1"
},
{
"k" : "4",
"id" : "PASTE",
"n" : "Paste",
"vis" : "1"
}
]
}
},
"operations" :
{
"its" :
{
"it" :
[
{
"k" : "1",
"id" : "CLS19OP1",
"n" : "VCS",
"vis" : "1"
}
]
}
},
"smallImage" : "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8\/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGPSURBVDhPrZPZSwJRGMXnX+s\/iJ6DHsOeevQhKMqiokXbS2MkmSmFSIRCe4h8iqAgiIzCsM2lRZtmd1xOfqNTiA1ldOE8XX7nW+65zL+cboeTXdg6xG\/k4Q4wwcbQ2dPPNnCGoYvEvdaWnJ4dNPC6wRx\/0Jb6J4PNBnSq1SoqlQrK5TJKpZIpwzBQLBah6zo0TTOlqir6RvlmA4KPTs4R2I7CH9yFj49gJRDGon8bHl8IM6ubmFziEI7GoSgKHC6u1YDgN1GFqBgQpCIKoo7Xdx3PbxpyBRW3WQEjbvZ7A2qdKtvBmVcFjy8KBqd89gZ2bY\/Nb5iVCR6YWIMsy60GtDiSP7SH5F0OV6kMEsk0zq8fcHZ5h9OLFIZnWRO2NaCte7kIBLkxgqDhqdZ+Nl9vf2h63YQlSWo1sJ5teWOnBsnIW\/PnVaRr8988Fj7bbzGgeFpvHosfw+0NYmqZx\/hCAC6336xM8GZ434RFUWw2oGwTbBca2rpV+VsD+hiUbYonJYwuf1JHV+\/XZ\/r7YZgPv76Du92ZQ\/UAAAAASUVORK5CYII=",
"largeImage" : "iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAAC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0lf1YA6PRvo1j+kp+aWW+8UqPm0eJTWr9DyKW++mYrHs+f0H79YaAf0aNJXNFAuzixaHegcmkDH3XG00fK51TeGGz0mXL9jRBMvoE49GtuH5bZz4XjmfO2cnMU\/fZ7ViP\/UgCLO7PWvV\/7zlf71Sun2mj2TSCS0Bk6eOlPPH\/8WR0+cqt+RPjyH51+furofxui3TdquaDUAAAAASUVORK5CYII=",
"c" : "1251073",
"h" : "0",
"implAssembly" : "MOD_COMPONENT_CLASS_HANDLER",
"implClass" : "ComponentClassHandler",
"description" : ""
},
{
"@ic" : "1",
"k" : "16",
"id" : "BUSINESS_APPLICATION",
"n" : "Business application",
"vis" : "1",
"implURL" : "",
"standardOperations" :
{
"its" :
{
"it" :
[
{
"k" : "0",
"id" : "OPEN",
"n" : "Open",
"vis" : "1"
},
{
"k" : "1",
"id" : "OPENWITHPARAMS",
"n" : "Open with parameters",
"vis" : "1"
},
{
"k" : "2",
"id" : "EDIT",
"n" : "Edit",
"vis" : "1"
},
{
"k" : "3",
"id" : "DELETE",
"n" : "Delete",
"vis" : "1"
},
{
"k" : "4",
"id" : "PASTE",
"n" : "Paste",
"vis" : "1"
}
]
}
},
"operations" :
{
"its" : ""
},
"smallImage" : "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8\/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAEFSURBVDhPYxh44BOe1DRlxYH\/xOKehXvAuH76lv8OnsF5DCDOrSff\/9988gOOrz36jsAPUfEVKL784Nv\/8okb\/jP0L9n3f9Iy8nD1lM0QA0Dg379\/\/\/\/+\/fv\/z58\/YPz79+\/\/v379+v\/z508w\/vHjx\/\/v37\/\/\/\/btGxh\/\/fr1f3rLcogBMM0wA2CaYQaANNfN2g\/HIM1fvnxBNQBZAbLtIM0wA+ZsuojdAJDNyApAmkE0DIOcjiwP0kyUATA+NgM+f\/6MMADkb2QFIKcj80GBhswHacZqAAzDDIBhmAEwDNL86dMnVAOIiTaY01EM0DS2j4utmP4cxCEVO4fmLIXmiAEDDAwAYVdus18KXtwAAAAASUVORK5CYII=",
"largeImage" : "iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAHZSURBVFhH7ZTJTgJBEIZ5JC8mXvXmmauJZ1\/CcPCkCVGj0RgT44IavXlzAfQJBKOCJuICL8AyC2s5NUy1laFmGIOAh6nkTwYa+vtqeomEFda\/qImp6bnt8zvYOruFzdM0bJykYP04BWuJJMQPbyB+cA0r+1ewvHcJq0fJgYM8B90thL+WDHgpmSr5ogE5K89fVj5\/8oj50FUe3oUUusm86XDvJFPQ7GStLCwlwEF361cCDP6nAvmiDjkLxkPQJwRThiWA1el0VNrttkqr1bLTbDZVGo2GnXq9rmKapophGHZ0XVfRNM1OjwBuOC4gwbkAwbmABOcCBPcUkLqX4P26X9xJ94QL1Go1fwGpewnu1T0Cdy+yKviZdx9YgHdAkeBcAF85\/s5LAOG+Arx7aSJJgHc\/kACH42v3E8Bnd2jT4bP7fxzeV4DWXZqIOpfGggpUq9XRC\/DufQUI7iVA6y6NIRyPmzTG4YEE8LhJE\/kJ0IUjjXG4pwDvfpgClUrFX4AuHGkihONxk8b8BHj3YxVAuK8AwUnAHbpwpDGE43GTxgIJcDhdOHTsqHMKHTna+QSn0K53r30gAQnOBSQ4F5DgXKBcLvcKzEbnY\/jlqDI5E4056LDCGndFIt81TpgjcgXzbwAAAABJRU5ErkJggg==",
"c" : "1054465",
"h" : "0",
"implAssembly" : "P10002_BUSINESS_APPLICATION_MOD",
"implClass" : "BusinessApplication",
"description" : "Designer of business application"
},
{
"@ic" : "1",
"k" : "32",
"id" : "DATA_ENTRY_FORM_CLASS",
"n" : "Data entry\/output form",
"vis" : "1",
"implURL" : "http:\/\/localhost\/FP_App_v10.x\/script\/operation.js",
"standardOperations" :
{
"its" :
{
"it" :
[
{
"k" : "0",
"id" : "OPEN",
"n" : "Open",
"vis" : "1"
},
{
"k" : "1",
"id" : "OPENWITHPARAMS",
"n" : "Open with parameters",
"vis" : "1"
},
{
"k" : "2",
"id" : "EDIT",
"n" : "Edit",
"vis" : "1"
},
{
"k" : "3",
"id" : "DELETE",
"n" : "Delete",
"vis" : "1"
},
{
"k" : "4",
"id" : "PASTE",
"n" : "Paste",
"vis" : "1"
}
]
}
},
"operations" :
{
"its" :
{
"it" :
[
{
"k" : "1",
"id" : "CLS32OP1",
"n" : "Edit metadata",
"vis" : "1"
}
]
}
},
"smallImage" : "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8\/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAC2SURBVDhPpY4xDgIhFEQ\/0BgbSg+wiaVHsvAMHsPE1m5L7aysPYCFR9gjWFnjjvkTdpElqC+Z8AO8Afmb5rIO30S1SO5SKapFeEBKs7X2rlqktoCyMaZd7m8B66iglFRm3iW8RNLZOZeVmWLB1MvM6AdpqmRAgWD23ndVMsgV6JEc201ZBixg+gtn7Pu5656nJgxLPmQwlGerxUO3BTKDkqw8BV9HMOt2PdvD7jcR9F+96liByAupdHExS2mxigAAAABJRU5ErkJggg==",
"largeImage" : "iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAEiSURBVFhH7ZKxDcIwEEWTuEkQEiUDRFBSMQ8Fk7ABI6SEBagzAAUjMAIVdci3fCiyLvgcR5aQ\/KQvEaP8d5ckSyQkbM\/3bs6YWjlcSUhMrRyuJCSmVg5XEhJTGw+vAerboZsz6EwDpAEgVdXymed5WxTFQ4vG4EpCgk6ndAhXEhJTm2F7PIlqs3+ZIx660WbKOW3ey5vhN\/BziCki7nxM7hyCCkPiklO00IYr9IlUjv+10IaKbCTnSqkwOZCIhtD5LHJAhT4pd2v9QQXLASdwpS8+4d5Lc2TFiEgOqNRm7Jy2Xy3U832tO24IsRz4DkDbQ04ZDuElBySSxN7eHsJbDjjRWLjtEQyky2JQVuV3+6hiAu8ZQ5jLuPSvoDU\/\/5Us+wAUQvHUfASOygAAAABJRU5ErkJggg==",
"c" : "2103041",
"h" : "0",
"implAssembly" : "ASM_INPUT_FORM_V3_PRESENTERS",
"implClass" : "CustomClassOperationsHandler",
"description" : ""
}
]
}
}
}
}
}
public static GetCustomExtenderResult GetCustomExtender(string moniker)
{
var somClient = new SomPortTypeClient(); // Proxy object for operation execution
// Operation execution parameters
var tGet = new GetCustomExtender()
{
tArg = new GetCustomExtenderArg()
{
pattern = new CustomExtenderMdPattern()
{
classes = ListOperation.Get,
customClass = new CustomClassPattern()
{
CustomOperations = ListOperation.Get
},
largeImages = ListOperation.Get,
smallImages = ListOperation.Get,
resource = true
}
},
tCustomExtender = new CustomObId() { id = moniker }
};
// Get custom class container metadata
var tResult = somClient.GetCustomExtender(tGet);
return tResult;
}
See also: