Skip to main content



      Home
Home » Eclipse Projects » Sirius » Invalid feature as name
Invalid feature as name [message #1851508] Thu, 07 April 2022 03:29 Go to next message
Eclipse UserFriend
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 492 times)
Re: Invalid feature as name [message #1851509 is a reply to message #1851508] Thu, 07 April 2022 03:41 Go to previous messageGo to next message
Eclipse UserFriend
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 03:41] by Moderator

Re: Invalid feature as name [message #1851512 is a reply to message #1851509] Thu, 07 April 2022 04:27 Go to previous message
Eclipse UserFriend
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: Mon Apr 21 05:06:33 EDT 2025

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

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

Back to the top