VIEWENTRIES_BY_CATEGORY Strategy
Use VIEWENTRIES_BY_CATEGORY or VIEWENTRIES_BY_CATEGORY_PAGED
Route VIEWENTRIES_BY_CATEGORY_PAGED
router.GET('myentries' ) {
strategy(VIEWENTRIES_BY_CATEGORY_PAGED) {
viewName('byAuthorCanonical')
calculateKey { context ->
context.getUserName();
}
}
mapJson 'UNID', json:'unid', type:'STRING', isformula:true, formula:'@Text(@DocumentUniqueID)'
mapJson 'Form', json:'form', type:'STRING'
}