Need help with Global Datatype

Topics: General
Jan 21, 2011 at 12:51 AM

Composite newb. I created a Global Datatype added some data, how do I get it to display on the page? The documentation is not clear. Please help.

Jan 21, 2011 at 1:25 AM

Welcome - always glad to see new faces :)

You use a C1 Function to turn data into html and you have a number of options - choose the ones that you prefer:

To create a C1 Function using only wizards / visual tools create a "Visual Function" in the Functions perspective. Here is a video showing it: (jump in 05:55). This tool will nog let you get very far, but it is easy to use.

To create a C1 Function using XSLT, create an XSLT Function - documentation galore at

To use ASP.NET Form controls, check

To use ASP.NET MVC 3, check this video and

You can also write raw C# that emit xhtml in a XDocument structure and inject the function via C# Functions.

You can grab data from C# using the DataConnection class (API) - tutorial at

You insert a C1 Function into a page area using Insert | Function. You can also add function calls to markup like template html.

I hope this helps :)

Jan 21, 2011 at 1:35 AM

I figured it out from watching the video.