--- title: "Get Export Data For Folder" slug: "get-export-data-for-folder" tags: ["export", "Folders"] updated: 2023-01-13T21:38:38Z published: 2023-01-13T21:38:38Z canonical: "documentation.decisions.com/get-export-data-for-folder" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt > Use this file to discover all available pages before exploring further. # Get Export Data For Folder | ## Step Details | | --- | | **Introduced in Version** | 4.0.0 | | **Last Modified in Version** | 5.12.0 | | **Location** | System > Advanced > Import - Export | The Get Export Data For Folder step reads a Folder Id and its associated, if any, Module Name. It then exports the folder's export data as a list. Dependencies, subfolders, history folders, and hidden items may/may not be included by toggling their respective checkboxes. --- ## Properties #### Inputs | Property | Description | Data Type | | --- | --- | --- | | Exclude Hidden Items | Determines whether hidden items are excluded | Boolean | | Exclude History Folders | Determines whether history folders are excluded | Boolean | | Folder Id | The desired Id of the Folder | String | | Include Dependencies | Determines whether dependencies are included | Boolean | | Include Sub Folders | Determines whether subfolders are included | Boolean | | Module Name | Allows the user set the module name | String | | Only Unattached | Determines whether to include objects that are not attached to the project | Boolean | #### Outputs | Property | Description | Data Type | | --- | --- | --- | | Output | Export data for the folder | List of ExportModuleData | --- ## Example Inputs and Outputs | Folder Id | Module Name | Output | | --- | --- | --- | | 08da6352-eda5-c25f-1f24-222260017f93 | ProjectA | List of Export Data | | Null | Empty | EXCEPTION MESSAGE | | Empty | 08da6352-eda5-c25f-1f24-222260017f93 | EXCEPTION MESSAGE | #### ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1673645172300.png) --- ## Common Errors ### Object reference not set to an instance of an object An error will occur if the Folder Id or Module Name fields do not have a value. To correct this, ensure that the fields are mapped or entered correctly. #### Exception Message: ```csharp Exception Stack Trace: DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Get Export Data For Folder 1[GetExportDataForFolder] in flow [Flow 1]: Exception invoking method GetExportDataForFolder on class ImportExportSteps ---> DecisionsFramework.LoggedException: Exception invoking method GetExportDataForFolder on class ImportExportSteps ---> System.NullReferenceException: Object reference not set to an instance of an object. at DecisionsFramework.ServiceLayer.Services.ImportExport.ImportExportSteps.GetExportDataForFolder(String folderId, String moduleName, Boolean includeSubFolders, Boolean excludeHistoryFolders, Boolean excludeHiddenItems, Boolean includeDependencies, Boolean onlyUnattached) --- End of inner exception stack trace --- at DecisionsFramework.Design.Flow.StepImplementations.InvokeMethodStep.Run(StepStartData data at DecisionsFramework.Design.Flow.FlowStep.RunStepInternal(String flowTrackingID, String stepTrackingID, KeyValuePairDataStructure[] stepRunDataValues, AbstractFlowTrackingData trackingData at DecisionsFramework.Design.Flow.FlowStep.Start(String flowTrackingID, String stepTrackingID, FlowStateData data, AbstractFlowTrackingData trackingData, RunningStepData currentStepData) --- End of inner exception stack trace --- ``` ## Related - [Export Module For Entity](/export-module-for-entity.md) - [Export Single Object Step](/export-single-object-step.md) - [Get Export Module For Entity](/get-export-module-for-entity.md) - [Attach to Module](/attach-to-module.md) - [Add File Data To Current Import Session](/add-file-data-to-current-import-session.md)