FetchOne(of SumCheck)(createFilterGroup(New QueryFilter(){addFilter("name", "=", "abc")}, Nothing, 0), New PaginationProps(dialog.CustomList.PageStart, dialog.CustomList.PageLimit), Nothing, Nothing, New ExpansionFieldOption(){addExpansionFieldOption("CreatedBy", New String(){"Id","Name"}), addExpansionFieldOption("UpdatedBy", New String(){"Id","Name"})}).name
it gives the field value directly…here field is name and sumCheck is my entity
Hi, @Anil_G Thank you for your help. With the given code, I came across some errors as shown below. Could you please check? FYI, It is Table display being used in the form not the Custom List.
The first one (“Name from the box”) is the one fetched directly from the downdown box.
The second one (empty) is the result from the code, i.e., FetchOne function.
after observation one thign is we can get the values onlyw hen you assign the fetch to a variable and then use as fetch directly is not returnign values
in the above what I have done is ls is a list source type variable and then on page load add an event to set the value to it usign the actual fetch usign qury builder
and then in the log message used the above expression
also dialog.Text.value is a text control on screen and getting calue from it and filtering to get the value