I have a requirement to Export data to Excel, when I use this with Query Rule ev

I have a requirement to Export data to Excel, when I use this with Query Rule everything works fine, but when I changed the Query rule to Query Entity, is it returning error. Because the Query Entity returns "Datasubset" where as "Query Rule" returns CDT. Please tell how can I convert "Datasubset" value to "CDT".
Thanks

OriginalPostID-153461

OriginalPostID-153461

  Discussion posts and replies are publicly visible

Parents Reply
  • Although I have done --> datasubset: index(local!datasubset, "data", {}), I still get the same error. Any idea why? I am using query entity

    local!datasubset:
      a!queryEntity(
      cons!MAST_dataStoreEntity,
      a!query(selection: a!querySelection(
            columns: {
              a!queryColumn(
                field: "market"
              ),
            a!queryColumn(
                field: "division"
              )
             
            }
           
          ),
          pagingInfo: a!pagingInfo(
            1,
            -1,
            {
             
            }
          )
        )),

Children