As one of the quick ways to do so, you can add a tree definition that will add a button on the toolbar.
When implemented, you will need to select a file in the media archive and click the button. The window will pop up that will show you the GUID. You'll be able to copy it from the window.
When implemented, you will need to select a file in the media archive and click the button. The window will pop up that will show you the GUID. You'll be able to copy it from the window.
-
In ~\App_Data\Composite\TreeDefinitions\, create an empty XML file.
-
Add this markup to the file and save it:
<ElementStructure xmlns="http://www.composite.net/ns/management/trees/treemarkup/1.0" xmlns:f="http://www.composite.net/ns/function/1.0">
<ElementStructure.AutoAttachments>
<DataType Type="Composite.Data.Types.IMediaFile" />
</ElementStructure.AutoAttachments>
<ElementRoot>
<Actions>
<MessageBoxAction Label="GUID" MessageBoxTitle="${C1:Data:Composite.Data.Types.IMediaFile:FileName}" MessageBoxMessage="${C1:Data:Composite.Data.Types.IMediaFile:Id}" />
</Actions>
</ElementRoot>
</ElementStructure>