cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Caroline
Level: Powered On

AllowedValues and DataSourceInfo

I have just uploaded an app into a new environment so that I can use entities that are in the CDS for Apps, however datacards seem to have an issue with data that has been selected from an option set. This wasn't an issue with the original app where picklists inthe CDS V1 were used.

The error I get is:

 

The columns produced by this rule are all nested tables and/or records, however the property expects at least some columns of simple values.

 

I think it is the AllowedValues that is causing the error:

 

DataSourceInfo('Learner details', DataSourceInfo.AllowedValues, 'Work & Income Site Value')

 

Does anyone have any ideas on how to fix this?

 

Cheers

2 REPLIES 2
Community Support Team
Community Support Team

Re: AllowedValues and DataSourceInfo

Hi @Caroline,

 

First of all, I'd like to confirm that if 'Learner details'  is the CDS entity name. Then what is the DataType of Work & Income Site Value' field? Please share the detailed configuration of this entity.

Is it a local or glabol option set? 

Which property did you put this formula?

 

Regards,

Mona

 

 

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Caroline
Level: Powered On

Re: AllowedValues and DataSourceInfo

@v-monli-msftYes, 'Learner Details' is the entity name. The option sets were created some time ago, before there was the option of having global or local ones, so I would assume that they are all global.

'Work & Income Site Value' should probably by 'work & Income Site', as that is the column name.

This is in the Allowed Values property of the data card.