cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Default values via annotation for V4 action input parameters

tobias_bock
Explorer
1,443

Hello,

is there a possibility to set default values for action input parameters via RAP annotations (for odata V4)?

Accepted Solutions (1)

Accepted Solutions (1)

j_pavan_kumar
Product and Topic Expert
Product and Topic Expert

Hi Tobias,

Yes, it is possible. Please use the below annotation to default the value.

@UI.defaultValue

Thanks,

Pavan

AnmolBhatHD
Explorer
0 Kudos

Hi Pavan,

 

Is is possible to pass determined value as default value in Odata V4. 

Like value is coming from another CDS view etc.

I do not have possibility to use default function option which is only available in public cloud right now.

Answers (1)

Answers (1)

tobias_bock
Explorer
0 Kudos

OMG, thanks a lot! 🙂