Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Invalid feature as name
Invalid feature as name [message #1851508] Thu, 07 April 2022 07:29 Go to next message
jo ber is currently offline jo berFriend
Messages: 79
Registered: August 2018
Member
Hi

I've defined an *.odesign file with a diagram to contain my own domain objects.
When I place the domain object in the diagram the message 'Invalid feature as name' is displayed:
index.php/fa/41871/0/
I guess, the tool expect my object to have a feature called name. But, I don't want to add this feature in my model. The question is how can I tell the tool to use another feature available in my domain model?

Thank you and kind regards.
  • Attachment: Q1.PNG
    (Size: 123.07KB, Downloaded 75 times)
Re: Invalid feature as name [message #1851509 is a reply to message #1851508] Thu, 07 April 2022 07:41 Go to previous messageGo to next message
Francesco Bedini is currently offline Francesco BediniFriend
Messages: 26
Registered: March 2018
Junior Member
Inside the style of that object, in the label section, you probably have a field containing
feature:name

You can change it to:
feature:your_name_attribute
or, if you need to do some concatenation:
aql:self.your_name_attribute1 + ' ' + self.another_attr

[Updated on: Thu, 07 April 2022 07:41]

Report message to a moderator

Re: Invalid feature as name [message #1851512 is a reply to message #1851509] Thu, 07 April 2022 08:27 Go to previous message
jo ber is currently offline jo berFriend
Messages: 79
Registered: August 2018
Member
Thank you and sorry for this noob question.
Previous Topic:Sirius Web: Error without description when using Create Node tool
Next Topic:Close Sirius Dialog Widget from Java Services
Goto Forum:
  


Current Time: Tue Aug 09 08:14:07 GMT 2022

Powered by FUDForum. Page generated in 0.02286 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top