cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Problemas con el campo de búsqueda y el conector CDS

Tengo una CanvasApp de prueba sencilla, donde traigo una entidad (Llamada de Telefono) con algunos datos incluyendo un campo de búsqueda. 

El problema es que no se puede hacer submit al formulario si el campo de búsqueda esta vacio, tampoco se puede hacer ni patch ni Update, con el campo de búsqueda vacío pues da el siguiente error:


error1.PNG

Esto sucede desde que tengo activa la opción "improve data source experience and common data service views", que ya viene activa por defecto cuando creas una nueva CanvasApp

 

¿Alguien me puede comentar que pasa? 

Gracias

 

 

8 REPLIES 8
Highlighted
Community Support
Community Support

Re: Problemas con el campo de búsqueda y el conector CDS

Hi @Yruiz ,

Do you mean that you can not update with blank value successfully?

If so, please turn this setting on:

12241.PNG

 If you turn this setting on, your blank value will be updated successfully.

By default this setting is off, then when you update, powerapps will check whether your data type meet the data type in the data source.Blank value is not qualified. So you could not update it in your issue.

 

 

 

Best regards,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Frequent Visitor

Re: Problemas con el campo de búsqueda y el conector CDS

Hello and thanks for your reply,

 

I have this option active and it keeps giving me the same error:

error1-1.PNGerror1-2.PNG

 

if we were talking about an application in production, i think it wold not be good practice to activate an option that is marked as "Experimental".

 

So, is it in current error that have the CDS connector?

 

Highlighted
Community Support
Community Support

Re: Problemas con el campo de búsqueda y el conector CDS

Hi @Yruiz ,

I've made a similar test and not met the same problem.

Even I turn that setting on, I could update CDS with blank value successfully and not met the error message as yours.

12251.PNG

 

12252.PNG

 

So I think this problem should not be about this setting.

Please check your connection.

Try to refresh or recreate connection. 

If the problem still exists, please check your formulas about updating, which will lead to this problem too.

 

 

 

Best regards,

 

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Frequent Visitor

Re: Problemas con el campo de búsqueda y el conector CDS

Hello and happy holidays,

 

I have seen in your example, that your form does not have any search type field (lookup), it is with the only types that give error, the custom lookup.

 

However i created a new canvas:

example1.PNG

 

I have activated the corresponding option:

 

example2.PNG

 

I have added as a data source to the entity "Llamadas de teléfono" of my CDS:

example3.PNG

 

Add an edit form connect it to my data source, and add my custom lookup field. In the items i put the first call:

example4.PNG

 

Additionally i add a button, and in the onselect i put the submit formula:


example5.PNG

 

Note that my lookup filed points to the users entity of my CDS.

When i select on the added button, and leave the "Asesor" ,  is my custom lookup filed, if is empty it gives the same error:


example6.PNG

Highlighted
Community Support
Community Support

Re: Problemas con el campo de búsqueda y el conector CDS

Hi @Yruiz ,

I've made a similar test and found that I could update lookup field with blank value too.

Please check whether you set this field required.

Here's my test:

2020124.PNG

 2020125.PNG

 

2020126.PNG

 

 

Best regards,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Frequent Visitor

Re: Problemas con el campo de búsqueda y el conector CDS

hi @v-yutliu-msft ,

 

I Have realized that you are testing in a custom entity. I have created the same test as you and it does not give any error.

 

numero1.PNG

 

The issue is that ir still gives the error exactly in the entity of "Phone calls" that of the system entity. 

 

numero2.PNGnumero3.PNG

 

the same error for any search field added to this specific entity.

 

Highlighted
Community Support
Community Support

Re: Problemas con el campo de búsqueda y el conector CDS

Hi @Yruiz ,

I've made a similar test in system entity and still not met this problem.

And I could update currency field with blank value successfully with the solution that I provided.

202013.PNG

 

2020131.PNG

 So that should not be system entity 's problem...

Please make sure that this field not required.

If the problem still exists, I suggest you ask for help here:

https://powerapps.microsoft.com/en-us/support/pro/ticket/

 

 

 

Best regards,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Frequent Visitor

Re: Problemas con el campo de búsqueda y el conector CDS

hi @v-yutliu-msft 

 

Sorry, the problem is only in the system entity (phone call), I have tried it in different environments, trials, etc.

 

I have created 5 differents searchf field how i show you in the previous example and not, not is requerid the field. 

Helpful resources

Announcements
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Users online (8,460)