# Issue Accessing Name Property from Reference Tag in FactoryStudio

**URL:** <https://forum.tatsoft.com/t/issue-accessing-name-property-from-reference-tag-in-factorystudio/507>\
**Category:** General Discussion\
**Tags:** factorystudio\
**Created:** [August 13, 2024, 2:38pm UTC](https://forum.tatsoft.com/t/issue-accessing-name-property-from-reference-tag-in-factorystudio/507 "2024-08-13T14:38:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aamirahmed](https://forum.tatsoft.com/user_avatar/forum.tatsoft.com/aamirahmed/32/528_2.png) [@aamirahmed](https://forum.tatsoft.com/u/aamirahmed)\
**Post date:** [August 13, 2024, 2:38pm UTC](https://forum.tatsoft.com/t/issue-accessing-name-property-from-reference-tag-in-factorystudio/507/1 "2024-08-13T14:38:59Z")

</div>

Hi everyone,

I’m working on a FactoryStudio project and I’ve run into an issue with accessing the `Name` property from a reference tag. I followed the tutorial for creating tag templates and setting up reference tags as described below:

1. Created `Pump`, `Valve`, and `Tank` tag templates.
2. Created `BrewLine` tag template containing `GristMill`, `MashTun`, `LauterTun`, and `BrewKettle` tanks.
3. Created `RefBrewLine` as a reference tag with `BrewLine` type.

However, I’m only able to retrieve `Tag.refBrewLine.Link`, but not `Tag.refBrewLine.Name`.

Has anyone encountered a similar issue? How can I correctly access the `Name` property from a reference tag?

Thanks in advance for your help!

---

<div class="post-metadata">

**Author:** ![Gabriel\_support](https://forum.tatsoft.com/letter_avatar_proxy/v4/letter/g/ccd318/32.png) [@Gabriel\_support](https://forum.tatsoft.com/u/Gabriel_support)\
**Post date:** [September 18, 2024, 3:39pm UTC](https://forum.tatsoft.com/t/issue-accessing-name-property-from-reference-tag-in-factorystudio/507/3 "2024-09-18T15:39:05Z")

</div>

Hi Aamir,

In the video tutorial, it wasn’t shown when this property was created inside the BrewLine template, but you can create a text type property called “Name” inside the BrewLine template.  
Once you have done that, in Scripts → Tasks → ServerStartup, type the following lines of code:

@Tag.BrewLine1.Name = “Brewery Line 1”;  
@Tag.BrewLine2.Name = “Brewery Line 2”;

Best Regards,  
Gabriel Caetano.
