Hey guys, i have multiple object under Flow, and lots of assets that are used in multiple objects.
My hierarchy looks like this :
Flow
- Level1
- Level2
I would like to export all assets that are used in Level1.
I tried something like this
<Group Query="SELECT * FROM Assets WHERE IsDescendantOf($Level1)" />
But it doesnt work, im assuming it is because the assets are not under Level1, but referenced in it.
Also, i tried to just export all existing assets for testing, and i cant get the FilePath of my assets
By doing a Query in my code i can get the name and the technicalName of my assets, but the FilePath is missing in my Asset class that get generated.
my export file looks like this
<Package Name="Level1" Filename="Level1.xml" Type="XML" Version="0">
<Filters>
<Export>ClassTypes</Export>
<Export>TemplateTypes</Export>
<Export>AllObjects</Export>
</Filters>
<Types>
<Using Package="DefaultTypes" />
<Using Package="DefaultTemplates" />
</Types>
<Objects>
<Group Query="SELECT * FROM $Level1TRANSFORM UniqueReferences(Attachments)" />
<Group Query="SELECT * FROM Assets" />
<Group Query="SELECT * FROM Flow WHERE IsDescendantOf($Level1)" />
<Group Query="SELECT * FROM $Level1WHERE ObjectType = DialogueFragment TRANSFORM UniqueReferences(Speaker)" />
</Objects>
</Package>
if anyone can help with my issues that would be helpful. thanks