This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DEVELOPERS FORUM - How to add a new property of type boolean to an item?

flo - Monday, January 25, 2016 11:49 AM:

How can I add a new property of type boolean and name "test" to an existing item in a server-side C# method? The property should not be created in the itemType editor before the method is called. Once the property is created, how do I make it visible in the grid, when the item gets found? I am using Aras Innovator 11.0 Build 6073.



rneuber1 - Monday, February 1, 2016 6:52 AM:

Maybe you could describe a little bit more what you are trying to achieve?

Sounds a bit weird, although it should be easy to add an ItemType in a server-side method.

 

Ralf

 



flo - Monday, February 1, 2016 9:08 AM:

The OnAfterGet event of my ItemType calls a server-side C# method. In that method I want to add a new property to the item in order to display a value calculated by that method in the grid of search results. However, I don't want to add that property to the Itemtype of the item permanently.



DavidSpackman - Monday, February 1, 2016 9:21 PM:

Hi Flo,

 

Have you looked into properties of type federated? No data is stored in the database for these types of properties.

This wiki page might help you http://www.aras.comhttp://www.aras.com/Community/wikis/kb/how-to-use-federation.aspx

 

Regards, David