# Template info?

**URL:** <https://casparcgforum.org/t/template-info/790>\
**Category:** General\
**Created:** [September 17, 2018, 7:03am UTC](https://casparcgforum.org/t/template-info/790 "2018-09-17T07:03:34Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![tue](https://casparcgforum.org/letter_avatar_proxy/v4/letter/t/4491bb/32.png) [@tue](https://casparcgforum.org/u/tue)\
**Post date:** [September 17, 2018, 7:03am UTC](https://casparcgforum.org/t/template-info/790/1 "2018-09-17T07:03:34Z")

</div>

If I want to find out how many fields and ther names (f0, f1 etc.), I presume that I have to use an ACMP command, but wich?  
I don’t seem to get these informations.

---

<div class="post-metadata">

**Author:** ![didikunz](https://casparcgforum.org/user_avatar/casparcgforum.org/didikunz/32/7_2.png) [@didikunz](https://casparcgforum.org/u/didikunz)\
**Post date:** [September 17, 2018, 7:21am UTC](https://casparcgforum.org/t/template-info/790/2 "2018-09-17T07:21:10Z")

</div>

It’s all in the Wiki [here](https://github.com/CasparCG/help/wiki/AMCP-Protocol#info-template)

---

<div class="post-metadata">

**Author:** ![tue](https://casparcgforum.org/letter_avatar_proxy/v4/letter/t/4491bb/32.png) [@tue](https://casparcgforum.org/u/tue)\
**Post date:** [September 17, 2018, 7:48am UTC](https://casparcgforum.org/t/template-info/790/3 "2018-09-17T07:48:51Z")

</div>

I have tried to use the INFO TEMPLATE but is’nt that correct?

---

<div class="post-metadata">

**Author:** ![vimlesh1975](https://casparcgforum.org/user_avatar/casparcgforum.org/vimlesh1975/32/1608_2.png) [@vimlesh1975](https://casparcgforum.org/u/vimlesh1975)\
**Post date:** [September 17, 2018, 8:09am UTC](https://casparcgforum.org/t/template-info/790/4 "2018-09-17T08:09:05Z")

</div>

It is like this in server 2.1 beta2

 ![Info_template](https://casparcgforum.org/uploads/default/original/1X/d0c5f5ee29baedbe65af594018a1d5a37ea62892.png)

---

<div class="post-metadata">

**Author:** ![didikunz](https://casparcgforum.org/user_avatar/casparcgforum.org/didikunz/32/7_2.png) [@didikunz](https://casparcgforum.org/u/didikunz)\
**Post date:** [September 17, 2018, 9:14am UTC](https://casparcgforum.org/t/template-info/790/5 "2018-09-17T09:14:47Z")

</div>

> [@tue](#):
>
> I have tried to use the INFO TEMPLATE but is’nt that correct?

What does it say? By the way: It only works with Flash templates ☹

---

<div class="post-metadata">

**Author:** ![tue](https://casparcgforum.org/letter_avatar_proxy/v4/letter/t/4491bb/32.png) [@tue](https://casparcgforum.org/u/tue)\
**Post date:** [September 17, 2018, 11:54pm UTC](https://casparcgforum.org/t/template-info/790/6 "2018-09-17T23:54:53Z")

</div>

It is flash templates…  
Only gives me this:

 ![Udklip](https://casparcgforum.org/uploads/default/original/1X/6dd1b5f3be01857fab2ddef2502c59efcf7ed4f0.PNG)

---

<div class="post-metadata">

**Author:** ![tue](https://casparcgforum.org/letter_avatar_proxy/v4/letter/t/4491bb/32.png) [@tue](https://casparcgforum.org/u/tue)\
**Post date:** [September 18, 2018, 8:16am UTC](https://casparcgforum.org/t/template-info/790/7 "2018-09-18T08:16:43Z")

</div>

Now I’ve tested with another template without problems.  
But it looks to me it’s when I export the template from flash.  
In one template, I get the instances with, but in the other I do’nt?

---

<div class="post-metadata">

**Author:** ![didikunz](https://casparcgforum.org/user_avatar/casparcgforum.org/didikunz/32/7_2.png) [@didikunz](https://casparcgforum.org/u/didikunz)\
**Post date:** [September 18, 2018, 9:49am UTC](https://casparcgforum.org/t/template-info/790/8 "2018-09-18T09:49:29Z")

</div>

Automatically you only get a list of dynamic textfields, that are changed to CasparTextfields by the Template Generator. If you set stuff up by code, they will not be exported automatically, you need to define a XML constant to make them available see [here](https://github.com/CasparCG/help/wiki/Guide%3A-Creating-Advanced-Flash-Templates#custom-parameters)

---

<div class="post-metadata">

**Author:** ![tue](https://casparcgforum.org/letter_avatar_proxy/v4/letter/t/4491bb/32.png) [@tue](https://casparcgforum.org/u/tue)\
**Post date:** [September 18, 2018, 12:20pm UTC](https://casparcgforum.org/t/template-info/790/9 "2018-09-18T12:20:11Z")

</div>

But where is the difference between these 2 template’s where one of them works?  
[2 different credit templates](https://www.dropbox.com/s/wc1jxz1uy43bvnc/credits.zip?dl=0)

---

<div class="post-metadata">

**Author:** ![didikunz](https://casparcgforum.org/user_avatar/casparcgforum.org/didikunz/32/7_2.png) [@didikunz](https://casparcgforum.org/u/didikunz)\
**Post date:** [September 18, 2018, 2:10pm UTC](https://casparcgforum.org/t/template-info/790/10 "2018-09-18T14:10:05Z")

</div>

It does not work in the “mappe2” folder right? These are TLF Text fields and AFAIK they will not be found be TemplateGenerator.

And by the way:

```
	if (element.@id == "f0")
	{
		page1_mc.f0.text = element.data.@value;
	}

	...
	
	page1_mc.f0.text = page1_mc.f0.text.toUpperCase();

```

Could be refractored to:

```
	if (element.@id == "f0")
	{
		page1_mc.f0.text = element.data.@value.toString().toUpperCase();
	}
```

---

<div class="post-metadata">

**Author:** ![tue](https://casparcgforum.org/letter_avatar_proxy/v4/letter/t/4491bb/32.png) [@tue](https://casparcgforum.org/u/tue)\
**Post date:** [September 18, 2018, 2:39pm UTC](https://casparcgforum.org/t/template-info/790/11 "2018-09-18T14:39:36Z")

</div>

Yes @didikunz you are absolutely right.  
But I need TLF Text fields in order to be able to embed the font that I need.

All I want, was in my own client, find out wich field there is in the template and only give the user opportunity to fill out these fields.

But affraid It won’t be possible on alle templates, so user have to fill in fields by them self and add to the sequenze list

Thank you for you help anyway @didikunz and @vimlesh1975.

---

<div class="post-metadata">

**Author:** ![didikunz](https://casparcgforum.org/user_avatar/casparcgforum.org/didikunz/32/7_2.png) [@didikunz](https://casparcgforum.org/u/didikunz)\
**Post date:** [September 18, 2018, 4:08pm UTC](https://casparcgforum.org/t/template-info/790/12 "2018-09-18T16:08:28Z")

</div>

> [@tue](#):
>
> But affraid It won’t be possible on alle templates, so user have to fill in fields by them self and add to the sequenze list

It is see here:

> [@didikunz](#):
>
> you need to define a XML constant to make them available see [here](https://github.com/CasparCG/help/wiki/Guide%3A-Creating-Advanced-Flash-Templates#custom-parameters)

---

<div class="post-metadata">

**Author:** ![tue](https://casparcgforum.org/letter_avatar_proxy/v4/letter/t/4491bb/32.png) [@tue](https://casparcgforum.org/u/tue)\
**Post date:** [September 18, 2018, 6:10pm UTC](https://casparcgforum.org/t/template-info/790/13 "2018-09-18T18:10:21Z")

</div>

But still it, won’t give me the fields, even though I have defined a XML constant.

---

<div class="post-metadata">

**Author:** ![didikunz](https://casparcgforum.org/user_avatar/casparcgforum.org/didikunz/32/7_2.png) [@didikunz](https://casparcgforum.org/u/didikunz)\
**Post date:** [September 19, 2018, 4:53am UTC](https://casparcgforum.org/t/template-info/790/14 "2018-09-19T04:53:12Z")

</div>

Werid, that works for me. Can you post the constant here?

---

<div class="post-metadata">

**Author:** ![tue](https://casparcgforum.org/letter_avatar_proxy/v4/letter/t/4491bb/32.png) [@tue](https://casparcgforum.org/u/tue)\
**Post date:** [September 19, 2018, 10:06am UTC](https://casparcgforum.org/t/template-info/790/15 "2018-09-19T10:06:39Z")

</div>

Here is link for the files:  
[Link](https://www.dropbox.com/s/44ap0y6z2my69od/Credit.zip?dl=0)

---

<div class="post-metadata">

**Author:** ![didikunz](https://casparcgforum.org/user_avatar/casparcgforum.org/didikunz/32/7_2.png) [@didikunz](https://casparcgforum.org/u/didikunz)\
**Post date:** [September 19, 2018, 11:30am UTC](https://casparcgforum.org/t/template-info/790/16 "2018-09-19T11:30:23Z")

</div>

![Grab1](https://casparcgforum.org/uploads/default/original/1X/4b3287747145d2699b4ddcb8737a940f3009330c.png)

I don’t think that the xml type works, as the field should receive a string just replace with:

`type="string"`

---

<div class="post-metadata">

**Author:** ![tue](https://casparcgforum.org/letter_avatar_proxy/v4/letter/t/4491bb/32.png) [@tue](https://casparcgforum.org/u/tue)\
**Post date:** [September 19, 2018, 12:24pm UTC](https://casparcgforum.org/t/template-info/790/17 "2018-09-19T12:24:22Z")

</div>

It changes nothing.  
When I export it from flash it just says:

 ![Udklip](https://casparcgforum.org/uploads/default/original/1X/8fb3b01be0a4cd42c846adae29c52d09947412d4.PNG)

That’s excatly what I get when I use the INFO TEMPLATE in CasparCG

---

<div class="post-metadata">

**Author:** ![didikunz](https://casparcgforum.org/user_avatar/casparcgforum.org/didikunz/32/7_2.png) [@didikunz](https://casparcgforum.org/u/didikunz)\
**Post date:** [September 19, 2018, 12:57pm UTC](https://casparcgforum.org/t/template-info/790/18 "2018-09-19T12:57:11Z")

</div>

Hm, what version of the Template Generator do you use? In the top right corner it says it very very small. What version of Flash / Animate? Because, if I remeber right that did not work in older template Generators, around CS6 or so.

And by the way: The framerate should be set to 50 for 1080i50 otherways it will flicker.

---

<div class="post-metadata">

**Author:** ![tue](https://casparcgforum.org/letter_avatar_proxy/v4/letter/t/4491bb/32.png) [@tue](https://casparcgforum.org/u/tue)\
**Post date:** [September 19, 2018, 3:12pm UTC](https://casparcgforum.org/t/template-info/790/19 "2018-09-19T15:12:06Z")

</div>

I use Flash CS6 and template generator 2.1.2 CC  
But you mentioned earlier that it’s not possible with TLF text.  
Now I’ve just tested with anotger template, that worked, and when I turn fields to TLF text it. does’nt work.  
But to embed the fonts, and make sure that the template uses the font, I need to use TLF text, is’nt that right?  
Then it might not be possible?

---

<div class="post-metadata">

**Author:** ![didikunz](https://casparcgforum.org/user_avatar/casparcgforum.org/didikunz/32/7_2.png) [@didikunz](https://casparcgforum.org/u/didikunz)\
**Post date:** [September 19, 2018, 3:37pm UTC](https://casparcgforum.org/t/template-info/790/20 "2018-09-19T15:37:36Z")

</div>

No, you only need TLF text for Arabic. For the normal languages you can use the normal dynamic textfields and also the newest Flash / Animater CC and TemplateGenerator versions. The dynamic text can also use the embedded fonts: Add the font to the library and name it. While you selected your textfield, scroll the font dropdown until you find the font with your name. It is normally on top of the list so you have to scroll upwards.

[Next page](https://casparcgforum.org/t/template-info/790.md?page=2)
