Added API support for  assign collection inside the folder