softshipper
softshipper

Reputation: 34099

Static factory action doesn’t appear on the table toolbar

I have defined a static factory action in the behavior definition as follows: enter image description here

In the behavior projection, it is also enabled: enter image description here

Here is how the static factory action is annotated in the meta extension enter image description here

However, the action button does not appear at all on the app. Normally, it should appear in the Table Toolbar. enter image description here

I also checked the metadata, and it seems to be correct: enter image description here enter image description here

I would greatly appreciate any assistance.

Upvotes: 1

Views: 118

Answers (1)

Zero
Zero

Reputation: 1646

I'm looking at the following guide. The only thing that stands out is you put your action annotations in the same array line/object as field annotations, while the guide has them in separate lines/objects.

In other words

  • You have: [{position: 10, type: #FOR_ACTION....}]
  • You should have: [{position: 10}, {type: #FOR_ACTION, ....}]

Upvotes: 0

Related Questions