We work in a virtual environment where the DynamoSettings.xml file is copied to users machines either at first boot or periodically throuhghout the day/week. This has worked really well for us while transfering packages to a new loaction, setting up colour groups etc
During this migration I managed to setup a default Dynamo player location (in addition to the default) by editing the xml, I’m trying to do the same again for a second folder. I know I can set this by adding a folder, however I lose this when I restart the virtual machine, this was also the reason for editing the xml initially.
Now however, I can figure out how to add the second folder, below is the relevant section in the config Iḿ hoping someone can help with this?
<DynamoPlayerFolderGroups>
<DynamoPlayerFolderGroup>
<EntryPoint>dplayer</EntryPoint>
<Folders>
<DynamoPlayerFolder>
<Path>F:\Applic\Dynamo\Gebruiker\02_Dynamo Player\Revit 2024_Dynamo 2.19</Path>
<DisplayName>snip company name snip</DisplayName>
<Id>1727942500499</Id>
<IsRemovable>false</IsRemovable>
<Order>1</Order>
<IsValid>true</IsValid>
<IsDefault>true</IsDefault>
<Path>F:\Applic\Dynamo\Ontwikkeling\05_Scripts WIP\Revit 2024_Dynamo 2.19</Path>
<DisplayName>WORK IN PROGRESS</DisplayName>
<Id>1727942500500</Id>
<IsRemovable>false</IsRemovable>
<Order>2</Order>
<IsValid>true</IsValid>
<IsDefault>false</IsDefault>
</DynamoPlayerFolder>
</Folders>
</DynamoPlayerFolderGroup>
</DynamoPlayerFolderGroups>
I found a mention that the Id should be a random number, I don recal where I go this for the fist folder, I think it came through the player itself.
— EDIT—
Offcourse, as soon as I make a post I find the solution. In the code I have to open and close with a , see edited code below for anyone searching for the same
<DynamoPlayerFolderGroups>
<DynamoPlayerFolderGroup>
<EntryPoint>dplayer</EntryPoint>
<Folders>
<DynamoPlayerFolder>
<Path>F:\Applic\Dynamo\Gebruiker\02_Dynamo Player\Revit 2024_Dynamo 2.19</Path>
<DisplayName>snip company name snip</DisplayName>
<Id>1727942500499</Id>
<IsRemovable>false</IsRemovable>
<Order>1</Order>
<IsValid>true</IsValid>
<IsDefault>true</IsDefault>
<Path>F:\Applic\Dynamo\Ontwikkeling\05_Scripts WIP\Revit 2024_Dynamo 2.19</Path>
</DynamoPlayerFolder>
<DynamoPlayerFolder>
<DisplayName>WORK IN PROGRESS</DisplayName>
<Id>1727942500500</Id>
<IsRemovable>false</IsRemovable>
<Order>2</Order>
<IsValid>true</IsValid>
<IsDefault>false</IsDefault>
</DynamoPlayerFolder>
</Folders>
</DynamoPlayerFolderGroup>
</DynamoPlayerFolderGroups>