Skip to main content

Hi All,

Do you know how I could create a custom field type that can be reused in multiple places.

Giving you my example. I have to create a single select (enum) “Protocol” field with values like FTP, HTTP, RMI, etc. Obviously I want to use the same field in many places for instance on both ways of an Interface.

Thank you

Przemek

Hello ​@Przemek Malirz,

I am facing the same problem. There is no way without programming. It may be worth to try it with the API (https://YOURWORKSPACE.leanix.net/services/pathfinder/v1/models/dataModel)

Best regards,

Carsten


Thanks for the response ​@Carsten 

That’s a pity, sound like a very basic need, faced in my first days of work with LeanIX. I will explore the idea you have shared. If I find any other way or confirm your’s proposition I will share it here.

Thank you

Przemek


Hi ​@Przemek Malirz , 

Could you please give me a bit more context? What do you mean by “appearing in both ways of an interface”? Do you mean in the Consumer and Provider sections, or at the Application level?
Basically, when a field is created on the relation between two Fact Sheets, it appears on both sides of that relation. Is this what you’re looking for? 


Hello ​@Wiam El Fatihi ,
I think it’s a combination: ​@Przemek Malirz meant above that you can create a list of dropdown values template which can be reused in the same or other fact sheets. E.g. you create a list item named myYesNoList with the values Yes and No in the Applicationfactsheet. Noe you want to re-use it in the Interface Factsheet, but entering the name myYesNoList does not help, you have to create it there from scratch (with all its translations, coloring etc.). Or if you want to re-use it in an other section of the application factsheet, you have the same problem. Copying of an existing one is also not possible. Something like that would be great.
Best regards,
Carsten


Reply