split a return from an a!queryRecordType

Certified Associate Developer

Good day, I am trying to split a return from a query and display the first two items from the array, 

Here is the query

a!queryRecordType(
   recordType: 'recordType!{e408fa22-7df7-4073-ac43-add3091357ab}AIM Asset',
   fields: {
   'recordType!{e408fa22-7df7-4073-ac43-add3091357ab}AIM Asset.fields.{af99cf34-7d26-4a14-b291-4cfff81e3500}name'
},
   pagingInfo: a!pagingInfo(
   startIndex: ri!assetID,
   batchSize: 1
)
).data

Which returns: List of AIM Asset - 1 item

    • AIM Asset
        • id4(Number (Integer))
            • name"ThinkPad P16s 16” Intel Mobile Workstation"(Text)

          I would like to return from the query: ThinkPad P16s

          I think I can use the split() function and concat() but I have never done this within a query before.

          The other option I have is to take the return and manipulate it in the display field of the summary interface richtext field.

          Can someone help me figure out the best way to do this please?

            Discussion posts and replies are publicly visible