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.
Writing comments is only allowed to registered users, registration is free and does not require an email address and can be done quickly here.
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?
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.
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 :(
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.
You can get more information here for the unmanaged implementation.
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.
Default value for a parameter
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:
I would appreciate any hint on this.
In any case, thanks again for the good content!
Kind regards, Javier Ruiz
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:
Greetings Björn