Add Entity to Enity Screen action

Im trying to have a grid of customers so when I add a new customer I want it to be added to this Entity grid.

So how did you setup the Entity grid? Add Entity to Entity Screen action really doesnt make much sense… there is not a widget called Entity…

So explain in more detail what you are doing we can maybe provide some suggestions.

Ok so I have an entiy scren, and on it is an entiy grid. out of my 5k+ entities in my system I only want the entites which have a state called
“Foo” on this grid.

Can some Customer Entities have states other than Foo? I mean would you ever add a customer and it not have state Foo?

No. The only state I have setup is Foo. Pretty much I just want to have a grid of all custoemr accoutns and when an accounts is added onto an entity I add its state to foo

Ok so edit your Customers entity type and set Foo as a default state.

Now whenever you add a Customer Entity it will by default have Foo state.

I only want Foo to be added to the entity if it has an account.

Hmm ok thats not going to be possible to automate easily. I never would have guessed that based on your original request.

Give me a moment let me think this through but you may want to consider an alternate flow.

So just to be clear some customer entities wont have Foo state right? Only customers with Accounts will, Correct?

Pretty much only customers with accounts… but around 99% of customer entites would have this state. At the moment the only way Im able to get this done is by manually adding the entities to the screen

You dont have to manually add them. You can clear display state and state filter and clear out the manually added entities. Use Entity Grid widget and set your filter via its settings.

They will show up on the grid as soon as you set their state to Foo even new created ones.

1 Like

Ok, so where do I set this?

Use custom Entity Screen and use a Entity Grid widget. You set it in that widgets settings.

Could I ask how I could put multiple states in the filter? I have different states to colour the entites depneidng if their balnce is postive negative or netural
Edit: Commas work

Oh Cool this work perfectly thanks!

Quick question, how do I set auto pagination?