This is a test message to test the length of the message box.
Login
|

Write a comment

Writing comments is only allowed to registered users, registration is free and does not require an email address and can be done quickly here.

Default value for a parameter

JavierRuizGualda - 07/14/2026 - 12:45

Hello,

First of all, thanks for the great content! I read your articles and I find them very useful!

I have implemented a RAP app with custom entities, and then I wanted to do something very easy (default some values in the parameters) but I am struggling to get it, I have tried with @UI.defaultValue, @Consumption.defaultValue, AI, ... but no success.

Is there really no way to accomplish this? Maybe I give you an idea for the next blog ;)

I have thought on:

  • Develop it via BAS. I really need to default easy constant parameters.
  • Just set a variant as default (not ideal as I also struggled to define a date as first day of the year)

I would appreciate any hint on this.

In any case, thanks again for the good content!

Kind regards, Javier Ruiz


Xexer - 07/14/2026 - 16:28

Hello Javier Ruiz,

thank you for reaching out. Do you mean default parameters in actions or in the filter bar of an app? There are some ways to get this done depends of the requirement:

  • Default in popup (Link)
  • Multiple filters (Link)

Greetings Björn


Custom Entity Action After Refresh List Data

greenday - 06/26/2025 - 14:23

I want to add an action button to a Custom Entity and update the field in the list. Is there any content or example for this topic?


Xexer - 06/26/2025 - 15:03

Hello greenday,

so it's a more standard thing. To refresh the data after the action, use the $self at the end. More infos here.


greenday - 06/27/2025 - 16:03

I am grateful for your feedback.

My question is; How can I use action in a Custom Entity example? I could not find any example about this.

For example, Read READ ENTITIES OF and MODIFY ENTITIES OF do not work.

I want to update the value on the screen after clicking the button, I could not do this :(


Xexer - 06/27/2025 - 18:59

In an Unmanaged scenario the READ is triggering the ready method and CREATE the create. So you have to handle all actions and the buffer for your self. If you set a breakpoint you can check which filter you get.

The actions you can use like in the managed scenario. When you call the read entity, you have to implement it first.

I can check if I can implement a scenario in the YouTube series or an article.


Xexer - 06/27/2025 - 19:02

You can get more information here for the unmanaged implementation.


greenday - 06/28/2025 - 09:45

Thank you very much. I will examine the RAP - Unmanaged (Local) example you shared. I would be very happy if you could make an example about this and share it.