Skip to main content
16-Pearl
June 29, 2022
Solved

Getting my infotable to my stream

  • June 29, 2022
  • 1 reply
  • 1625 views

Hello everyone

 

I have a stream that has a property infotable.

I want to write a service inside of that stream, I want this service to get each row ID inside of my infotable and store these IDs within an array.

 

I have tried using the queryinfotableproperty history service.

This does not seem to work.

 

Kindly suggest how I can go about fixing this?

 

Thank you so much.

Best answer by nmilleson

@Janicen ,

 

Thanks for the code sample.  The service you are using above is used on properties of that Stream thing, not for columns that are actually in the stream.  To access stream entries, you would use the service QueryStreamEntriesWithData.  That will give you the metadata (i.e. the Id of the stream entry) as well as the data columns in each row.

 

Thanks,

Nick

1 reply

17-Peridot
June 29, 2022

@Janicen ,

 

Is this a Stream thing or a Value Stream? Also, could you share some of the code you're using?

 

Nick

Janicen16-PearlAuthor
16-Pearl
June 29, 2022

Hi Nick

 

This is a stream Thing.

I have attached a screenshot below.

 

Screenshot (80).png

nmilleson17-PeridotAnswer
17-Peridot
June 29, 2022

@Janicen ,

 

Thanks for the code sample.  The service you are using above is used on properties of that Stream thing, not for columns that are actually in the stream.  To access stream entries, you would use the service QueryStreamEntriesWithData.  That will give you the metadata (i.e. the Id of the stream entry) as well as the data columns in each row.

 

Thanks,

Nick