Genesys CTI User Forum > Genesys-related Development
Create a new DID Group & Resource Groups using Platform SDK
cavagnaro:
Why would you do that? Just curious. Seems you wanna replace GA? How often does one need to deploy a MCP into an existing environment?
genesyslearner:
Hey Cavagnaro,
this is the requirement given to us by our client which is to check whether we are able to get each and every configuration of CME through Platform SDK.
Kubig:
LRGP is just a CfgFolder type, so you have to create folder and configure options related to the LRGP configuration.
genesyslearner:
Hi All,
Here is the code to make a folder at Tenant level:-
CfgTenantQuery ctq = new CfgTenantQuery();
ctq.setDbid(1);
CfgTenant cfgFolderParent = ctq.executeSingleResult();
folderId = cfgFolderParent.getDBID();
ownerId = new CfgOwnerID(confService,null);
ownerId.setDBID(cfgFolderParent.getDBID());
ownerId.setType(cfgFolderParent.getObjectType());
CfgFolder folder = new CfgFolder(confService);
folder.setName("test");
folder.setOwnerID(ownerId);
folder.setType(CfgObjectType.CFGFolder);
folder.setFolderClass(CfgFolderClass.CFGFCDefault);
folder.setCustomType(0);
folder.save();
Navigation
[0] Message Index
[*] Previous page
Go to full version