It allow to populate content into a folder (both documents and subfolders). This method also controls the order of the folder children to be inserted into FOLDER_ITEM table. This method doesn’t upload new content and supposes that the content already exists in the library. DST must be provided.


libraryeDOCS libraryString
userUser nameString
passwordUser passwordString
dbSchemaDatabase schema. By default is set to “DOCSADM” if an empty string is passed.String
childFolderDocument number of the child document or folder.String
parentFolderDocument number of the parent folder.String
docOrFolder“D” must be used if the “childFolder” is a document and “F” if it is a folder. Only these two values are allowed. The method doesn’t control coherence between childFolder and docOrFolder fields so both values must be independently verified.String
clientOptional parameter for the client codeString
projectOptional parameter for the project codeString

Rest Invoke

  • http://localhost:port/GSService/xml/ or http://localhost:port/GSService/json/
  • UriTemplate:
    • “/ParentChildFolderRelation/?library={library}&user={user}&password={password}&dbSchema={dbSchema}&childFolder={childFolder}&parentFolder={parentFolder}&docOrFolder={docOrFolder}&client={client}&project={project}”
    • “/ParentChildFolderRelationDST/?library={library}&user={user}&dst={dst}&dbSchema={dbSchema}&childFolder={childFolder}&parentFolder={parentFolder}&docOrFolder={docOrFolder}&client={client}&project={project}”



The method returns a string with the System_ID of the new record that has been created in the FOLDER_ITEM DM table, which manages document relations.

DST Example



As this method returns an integer, detailed errors can be found in the error log. See Appendix D for more information about the edocs.log file.