Apex
CloudFiles Client

Add To Dataroom

in this article, we will see how to add content to a dataroom using apex global static void addtodataroom( list\<types adddataroomchildreninput> childreninputs, string runas ) parameters childreninputs list of types adddataroomchildreninput docid\ drlhxg9xblk5qmozhpmay runas email id of the user on whom behalf the function should run if you want to run the action as automation user, supply integrationuser return type none example list\<cldfs types dataroomchild> children = new list\<cldfs types dataroomchild> { new cldfs types dataroomchild('67a09ad4e249057a78212c17', 'file', 'sharepoint', 'b!njbtpq z5uejtfrj f24xeqqlpud8vtfsg7gbcrxjepiun9bkb 7qbdptqhvd cp') }; list\<cldfs types adddataroomchildreninput>childreninputs = new list\<cldfs types adddataroomchildreninput> { new cldfs types adddataroomchildreninput('67a09ad4e249057a78212c16', children) }; cldfs client addtodataroom(childreninputs, 'integrationuser');