How to create a metadata category from the Console?

Topics: General
May 26, 2011 at 12:33 PM

Hi,

Is it not possible to create a new metadata category (Or tab) from the C1 Console? Or do I have to add it programmatically, like on this page: http://docs.composite.net/C1/Data/Defining-Data-IData-types-in-C1-using-C.aspx/Manually-adding-a-new-meta-data-category-tab

Thank you

Coordinator
May 26, 2011 at 12:48 PM

Hello,

You can do it easy from the C1 Console, just go to "Functions" => C# functions => Add inline C# function => create temp function and on the Source tab add function code from the article and then Preview tab will execute your code. After you can delete your temp C# function.

May 26, 2011 at 12:50 PM

Ahh, that's clever, I didn't think of that. Thanks! :-)

May 26, 2011 at 1:45 PM

makes me think that a "Code pad" window could be awesome... where you could write c# code and execute it on the fly to make either dump of data or things like this like basic maintenance of the system from code, from within the console. Basic powershell i guess :)