Jump to content

Component Directories: Difference between revisions

From Flowcode Help
No edit summary
No edit summary
 
Line 2: Line 2:




To store a component in a way that any user can access your component then you can simply export the component to a folder on your hard drive and then manually copy that file into the Flowcode components directory. Flowcode may not be able to directly write to the components directory if Flowcode is installed in the default location as the Program Files directory is protected by the UAC system in Windows.
To store a component in a way that any user can access your component then you can simply export the component to a folder on your hard drive and then manually copy that file into the Flowcode components directory. For Flowcode v11, this location is "%PROGRAMDATA%\MatrixTSL\FlowcodeV11\Components".  However, note that this location will be overwritten when Flowcode is updated and so personal components are best stored in an alternative custom location.




To store a component into a custom folder you can use the paths available in the Locations tab of the [[Global_Options|global Settings]]  > Locations tab, window. Component files present in folders specified will be added to the lists of components on the components toolbar.
To store a component into a custom folder you can use the paths available in the Locations tab of the [[Global_Options|Global Settings]]  window. Component files present in folders specified will be added to the lists of components on the components toolbar. Multiple locations can be added here.




Here I have directories setup to allow components to be pulled in from the shared network resources allowing multiple PCs to reference the same component files.
If a component with the same GUID is found in multiple locations (including the common folder in %PROGRAMDATA%) then the component file with the latest version number will be used.
 
 
Choose a suitable location by clicking the "..." next to the "Look for components in" field, or type directly into it. The image below shows directories on a shared network drive, allowing multiple PCs to reference the same component files:


[[File:CompPaths.jpg]]
[[File:CompPaths.jpg]]

Latest revision as of 08:37, 4 August 2026

When creating and exporting components in Flowcode you may want the components to be available to everyone who uses your PC or only be available to yourself. The exported component appears as a *.FCPX file which can no longer be opened as a Flowcode project and edited. This means you have to manually keep track of the Flowcode component source file to be able to make any future modifications.


To store a component in a way that any user can access your component then you can simply export the component to a folder on your hard drive and then manually copy that file into the Flowcode components directory. For Flowcode v11, this location is "%PROGRAMDATA%\MatrixTSL\FlowcodeV11\Components". However, note that this location will be overwritten when Flowcode is updated and so personal components are best stored in an alternative custom location.


To store a component into a custom folder you can use the paths available in the Locations tab of the Global Settings window. Component files present in folders specified will be added to the lists of components on the components toolbar. Multiple locations can be added here.


If a component with the same GUID is found in multiple locations (including the common folder in %PROGRAMDATA%) then the component file with the latest version number will be used.


Choose a suitable location by clicking the "..." next to the "Look for components in" field, or type directly into it. The image below shows directories on a shared network drive, allowing multiple PCs to reference the same component files: