PureEngage On-Premises

 View Only

Sign Up

  • 1.  Cannot create CfgFolder via PlatformSDK

    Posted 08-12-2014 13:59
    Hi there,

    I try to create a CfgFolder via Platform -SDK:

    IConfService confService = configurationServerConnector.getConfService();
           
    CfgFolder cfgFolder = new CfgFolder(confService);
    cfgFolder.setOwnerID(new CfgOwnerID(confService, tenant.getCfgObject()));
    cfgFolder.setProperty("parentID", new CfgParentID(confService, parentObject));
    cfgFolder.setType(CfgObjectType.CFGPerson);
    cfgFolder.setFolderClass(CfgFolderClass.CFGFCDefault);

    I try to create a subfolder as you can see. The same error occures when trying only to create a simple folder with a name and ownderId set.

    I got always the following error:

    No permissions to create an object under this Folder


    The user Im connecting to the configuration-server has the role "Super Administrators". I checked  in the configserver. Furthermore the folder Im trying to create the subfolder has also the correct rights.. (full Access to "Super Administrators")

    Any ideas ?


  • 2.  RE: Cannot create CfgFolder via PlatformSDK

    Posted 08-14-2014 17:01

    Hi,

    Can you please clarify the set rights (Read\Write\Execute) for the Super Administrators group for the mentioned parent folder?

    Roman T



  • 3.  RE: Cannot create CfgFolder via PlatformSDK

    Posted 08-14-2014 19:39
    I have looked in the Genesys Administrator. Our user is in the "SuperAdministrator" access group of the Environment Tenant. This access group has full control on the parent folder. Also when I give the user itself with full control on this parent folder it doesn't work.

    As error I get this:
    com.genesyslab.platform.applicationblocks.com.ConfigServerException: No permissions to create an object under this Folder (ErrorType=CFGUniquenessViolation, ObjectType=CFGFolder, ObjectProperty=CFGDBID)

    Why I get an CFGUniquenessViolation exception?