The BFCC_Container and BFCC_ContainerInteractive custom functions will generate the full link to place in a web viewer and power interaction with Cloud Container. The only parameter for the custom functions is an id to identify the container file. We imagine the typical installation have a table of documents similar to what is in the sample file, with the primary key for the table being passed to the function.
In the example file these are placed in calculation fields and the calculation fields are placed in the webviewer calculations with no other data. The custom functions can also be placed directly in the web viewer, or in a set web viewer script step.