Anyone willing to help with calling record data and using Record Action within gridLayout component. This I can implement using gridField, but I have to use editable gridLayout. Thank you in advance
Discussion posts and replies are publicly visible
Did you try to follow one of the grid layout recipes? I think the only "trick" is that you will need to use queryRecordType() to store the data in a local.
a!queryRecordType() Function returns map which is similar to datasubset. The result can be used on gridlayout the same way you may use the datasubset.
Record actions can one of the column(s), sample below:
Please note that the a!recordActionField() is like any other field (a!textField, a!linkField) and can be a field directly on the gridLayout and cannot be inside a!linkfield etc.
Thanks, Stefan, I am trying that now. I ran into some errors , maybe u can also help "Could not display interface. Please check definition and inputs. Interface Definition: Expression evaluation error at function a!integerField [line 146]: Could not cast from Record Field to Number (Integer). Details: CastInvalidCould not cast from Record Field to Number (Integer). Details: CastInvalid".
Thanks once again
Thanks a lot, Shyam, I will try that out. I am grateful
It does not seem to be that straight forward with gridLayout?
Check your other post. You tried to pass the field itself into the integerField but not its value. Check Appian docs for how to access the value of a given record item.
Please can you send a link or url to the section of the docs that you're talking about. Thank you so much
This is covered here
https://docs.appian.com/suite/help/21.2/reference-records.html#referencing-a-record-type
There is not much difference to any other data structure. You use square brackets "[ ]" to drill down. Similar to
https://docs.appian.com/suite/help/21.2/Records_Tutorial.html#configure-the-record-header-background-and-title
but not rv!record but your local variable.