Document Set Form and Files

I have a Document Set Library set up and I can update the content type form, however, I am not seeing how I can show the Files in that document set on the form...is that possible?

Hello @jktodd007,

Do you mean to display files only under specific Document Set?

You can set the root folder for Document Set. Please find the instruction here:
https://plumsail.com/docs/forms-sp/how-to/root-folder.html?highlight=root#set-root-folder-for-document-set

Yes I do want to do that however following those instructions I am getting List does not exist.
Below is screen shots. and the code I have

function filterBranch(Region) {
    var RegionId =  Region && Region.LookupId || Region || null;
    fd.field('Branch').filter = 'Region/Id eq ' + RegionId;
    fd.field('Branch').widget.dataSource.read();
}

fd.spRendered(function() {
    fd.field('Branch').ready().then(function() {
        //filter Branch when Region changes
        fd.field('Region').$on('change', function(value){
            filterBranch(value);
            fd.field('Branch').value = null;
        });

        //filter Branch when form opens
        fd.field('Region').ready().then(function(field) {
            filterBranch(field.value);
        });
    });
});
function filterRegion(Territory) {
    var TerritoryId =  Territory && Territory.LookupId || Territory || null;
    fd.field('Region').filter = 'Territory/Id eq ' + TerritoryId;
    fd.field('Region').widget.dataSource.read();
}

fd.spRendered(function() {
    fd.field('Region').ready().then(function() {
        //filter Region when Territory changes
        fd.field('Territory').$on('change', function(value){
            filterRegion(value);
            fd.field('Region').value = null;
        });

        //filter Region when form opens
        fd.field('Territory').ready().then(function(field) {
            filterRegion(field.value);
        });
    });
});
fd.spRendered(function() {
    var dt = fd.control('SPDataTable1');
    if (dt.widget) {
        setRootFolder();
    } else {
        dt.$on('ready', function() {
            setRootFolder();
        });
    }

    function setRootFolder(){
        //set base root folder to the current item's ID:
        dt.baseRootFolder = String(fd.itemId);
        //set current folder to the current item's ID:
        dt.rootFolder = String(fd.itemId);
    }
});

@jktodd007,

There are two ways to set the root folder:

  1. to change SETTINGS → RootFolder in the Designer
    image

  2. with JavaScript.

You are using two methods at once. Please choose one.

If you want to use the first method, please note that you need to specify the folder name. For example:
image

And if you decide to use JavaScript, the 'fd.itemId' should be replaced with the form set name also.