load( local!pagingInfo:rule!euMobGetPagingInfo(100,"Name"), with( local!folderContent:apply(fn!getdocumentsinfolder(_),rf!fRequestFolderList), /* repllaced the filter nulls with reject(fn!isnull, {pv!list}) */ local!folderdocs: reject(fn!isnull,split(folderContent,";")), a!sectionLayout( label: "Attachments", firstColumnContents: { a!gridField( label:"", totalCount:if(rule!eumobCheckIsNull(local!folderdocs), 1, length(local!folderdocs)), columns: { if(rule!eumobCheckIsNull(local!folderdocs), { a!gridTextColumn( label: "Name" , data:"No items available" , alignment: "LEFT" ), a!gridTextColumn( label: "Last Modified By" , data:" ", alignment: "LEFT" ), a!gridTextColumn( label: "Modified Date" , data:" ", alignment: "LEFT" ) }, { a!gridTextColumn( label: "Name", data: if(rule!eumobCheckIsNull(local!folderdocs),"", apply(rule!euMobGetDocumentNameProperty(_),local!folderdocs)), links: apply(a!documentDownloadLink(_,""),local!folderdocs), alignment: "LEFT" ), a!gridTextColumn( label: "Last Modified By" , data:apply(rule!euMobGetDocumentLatUserToModifyProperty(_),local!folderdocs), alignment: "LEFT" ), a!gridTextColumn( label: "Modified Date", data: apply(rule!euMobGetDocumentCreatedDateProperty(_),local!folderdocs), alignment: "LEFT" ) }) }, value:local!pagingInfo, saveInto:local!pagingInfo ) } ) ) )