# Create 2 tag folder in one folder using system.tag.configure

**URL:** <https://forum.inductiveautomation.com/t/create-2-tag-folder-in-one-folder-using-system-tag-configure/103314>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [March 6, 2025, 11:02am UTC](https://forum.inductiveautomation.com/t/create-2-tag-folder-in-one-folder-using-system-tag-configure/103314 "2025-03-06T11:02:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![saurabh1](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@saurabh1](https://forum.inductiveautomation.com/u/saurabh1)\
**Post date:** [March 6, 2025, 11:02am UTC](https://forum.inductiveautomation.com/t/create-2-tag-folder-in-one-folder-using-system-tag-configure/103314/1 "2025-03-06T11:02:38Z")

</div>

Hello team,

I am stuck in sometime which i feel is easy but not working out for me. I am trying to create 2 tag folder using system.tag.configure function but i am unable to. Below is the image how i wanted and script which i tried.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/b/e/bed877ad17b15889c50a4fb0fe81a02025a3aba1.png)  
in the image above i need to have recipe folder as well along with analysis folder.

type or paste code here

```python
tagToBeAdded = "MC1"
siteSelected = "Pune"
areaSelected = "Dept"
lineSelected = "Non-IT"
getEnterprise = "Test1"
typeId_analysisSite = "SiteAnalysisStatus"
typeId_analysisArea = "AreaAnalysisStatus"
typeId_analysisLine = "AreaAnalysisStatus"
typeId_analysisMachine = "OEEAnalysis"
typeId_analysisMachineRecipe = "Recipe"
tagType = "UdtInstance"
print siteSelected
print areaSelected
print lineSelected
print tagToBeAdded
Tags={'tags' : 
		[
        	{
            'name': siteSelected, # This section is to add Site Tag Folder
            'tagType': 'Folder',
            'tags' : [
            			{
            			'name': areaSelected, # This section is to add Site Tag Folder
            			'tagType': 'Folder',
            			'tags': [
            						{
            						'name': lineSelected,
            						'tagType': 'Folder',
            						'tags':[
            								  {
            									'name': tagToBeAdded,
            									'tagType': 'Folder',
            									'tags' : [
        												  {
            												'name': 'Recipe',
            												'tagType': 'Folder',
            												'tags': [{"name": 'udtRecipe',			
            															"typeId" : typeId_analysisMachineRecipe,			
            															"tagType" : tagType}],
            												'name': 'Analysis',
            												'tagType': 'Folder',
                    											'tags': [{"name": 'udtAnalysis',			
            															"typeId" : typeId_analysisMachine,			
            															"tagType" : tagType}]
    														}
    													]	
            								  }
            							   ]
            						}
            					]
            			}
            		  ]

			 }
        ]
 }
system.tag.configure(basePath = getEnterprise,
                    tags = Tags,
                    collisionPolicy = "o"
                )

```

---

<div class="post-metadata">

**Author:** ![Lynn\_Martineau](https://avatars.discourse-cdn.com/v4/letter/l/f1d935/32.png) [@Lynn\_Martineau](https://forum.inductiveautomation.com/u/Lynn_Martineau)\
**Post date:** [March 6, 2025, 3:25pm UTC](https://forum.inductiveautomation.com/t/create-2-tag-folder-in-one-folder-using-system-tag-configure/103314/2 "2025-03-06T15:25:36Z")

</div>

how frequently do you need to create this structure?  
right-click on **MC1** , hover over **New Tag** , select **New Folder** , type **Recipe**  
If you need the same structure on another server or tag provider, right-click on **Test1** , select **Export Tags**. On the other server or in the other tag provider, use **Import Tags**

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [March 6, 2025, 8:17pm UTC](https://forum.inductiveautomation.com/t/create-2-tag-folder-in-one-folder-using-system-tag-configure/103314/3 "2025-03-06T20:17:38Z")

</div>

You're missing the end and open braces for the 2 folders within this folder

 ![Screenshot_20250307_064517_Chrome](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/0/20991dc53ba8db0acdff983cf3be87fa71199915.jpeg)

---

<div class="post-metadata">

**Author:** ![saurabh1](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@saurabh1](https://forum.inductiveautomation.com/u/saurabh1)\
**Post date:** [March 7, 2025, 2:14pm UTC](https://forum.inductiveautomation.com/t/create-2-tag-folder-in-one-folder-using-system-tag-configure/103314/4 "2025-03-07T14:14:50Z")

</div>

that was also an great idea will sure to look into them

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [March 8, 2025, 3:51am UTC](https://forum.inductiveautomation.com/t/create-2-tag-folder-in-one-folder-using-system-tag-configure/103314/5 "2025-03-08T03:51:24Z")

</div>

> [@Lynn\_Martineau](#):
>
> If you need the same structure on another server or tag provider, right-click on **Test1** , select **Export Tags**. On the other server or in the other tag provider, use **Import Tags**

You can also just copy the tag json and paste it on the other server if you're lazy like me. All of my ignition tag tools act on the clipboard cause I can't be bothered saving files and trying to find them 😅
