Dynamic Folders and Tokens

Hi,
I’m trying to test dynamic folders.
In the parent folder, I put custom fields that I propagate throughout my tree structure.
I’m trying to use these custom fields in ComputerName field but no success.
Moreover, the $EffectiveUsername$ token simply disappears when loading.
Could you help me correct my file?

The file :slight_smile:

{
    "Objects": [
        {
            "Type": "Folder",
            "Name": "Folder Level 1",
            "Properties": {
                "CustomField1": "abc"
            },
            "Objects": [
                {
                    "Type": "Folder",
                    "Name": "Folder Level 2",
                    "Properties": {
                        "CustomField1FromParent": true
                    },
                    "Objects": [
                        {
                            "Type": "Folder",
                            "Name": "Folder Level 3",
                            "Properties": {
                                "CustomField1FromParent": true,
                                "CustomField2": "def"
                            },
                            "Objects": [
                                {
                                    "Type": "Folder",
                                    "Name": "Folder Level 4",
                                    "IconName" : "Database",
                                    "Properties": {
                                        "CustomField1FromParent": true,
                                        "CustomField2FromParent": true
                                    },
                                    "Objects": [
                                        {
                                            "Type": "Folder",
                                            "Name": "Folder Level 5",
                                            "Color" : "#3C925C",
                                            "Properties": {
                                                "CustomField1FromParent": true,
                                                "CustomField2FromParent": true,
                                                "CustomField3": "gh"
                                            },
                                            "Objects": [
                                                {
                                                    "Type": "TerminalConnection",
                                                    "TerminalConnectionType": "SSH",
                                                    "Name": "[$CustomField1$$CustomField2$$CustomField3$@] - PostGre - vm01(ssh)",
                                                    "ComputerName": "$EffectiveUsername$@$CustomField1$$CustomField2$$CustomField3$@vm01@host",
                                                    "Properties": {
                                                        "KeepAliveInterval" : "60",
                                                        "SOKeepAliveOption" : true,
                                                        "PuttyLogFileFlushFrequently": true,
                                                        "PuttyLogging" : "1",
                                                        "RecordCreateSubDir": true,
                                                        "RecorderOutputPath" : "C://Local//Logs",
                                                        "RecordStartOnConnect" : true,
                                                        "CustomField1FromParent": true,
                                                        "CustomField2FromParent": true,
                                                        "CustomField3FromParent": true
                                                    }
                                                }
                                            ]
                                        }
                                    ]
                                }
                            ]
                        }
                    ]
                }
            ]
        }
    ]
}

Hi Yann,

could you please open a ticket regarding this issue? You can do so via the following link: Open Ticket | My Royal Apps

Thanks!

Done ! :slight_smile: