Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I am using below API to pass a value in field
app.field('reporting_year').selectMatch(String(new Date().getFullYear()), true)
Is it possible ,if user has already selected a value in "reporting_year" field than pass user selected year else current year (2022)
Using this but its not working in mashup
if(GetSelectedCount('reporting_year')=0,app.field('reporting_year').selectMatch(String(new Date().getFullYear()), true));
solution - Hyper cube or getContent method( use getselectedcount () in variable and use that variable in this API)
solution - Hyper cube or getContent method( use getselectedcount () in variable and use that variable in this API)