The CreatorCon Call for Content is officially open! Get started here.

UI Builder - Lookup a single record Data Resource

Richard Hine
Tera Guru

Hi,

 

I am encountering an issue with the 'Lookup a single record' data resource.

I am using a data binding for the 'Record' parameter from a client state parameter.

Issue I am seeing is that if that client state parameter is empty, a refresh on the data resource just returns the first record it finds in the specified table.

This is leading to inconsistent behaviour. Does anyone know how (or if it is possible) to configure this component such that it does not return a row if the 'Record' parameter is not specified or null?

 

Thanks,

 

Rich

5 REPLIES 5

Hi Aneta 😀

 

What I found was that I had mine bound to a state parameter and when that parameter changed there was an implicit refresh even when I had it set to 'Only when invoked'. I wrote a custom data broker in the end to return how I needed. It was easier to do this than any other approach...

 

Thanks,

 

Rich