web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Error al usar la patch...
Power Apps
Answered

Error al usar la patch function

(0) ShareShare
ReportReport
Posted on by 7

Hola comunidad¡

 

Estoy desarrollando un sistema en Power Apps que va en un 90% para terminar y ando haciendo pruebas de funcionalidad del sistema. Y en un apartado tengo un etiqueta que realiza la siguiente ejecuciĂ³n: 

UpdateContext({confirmacionVisible:true});
UpdateContext({visibleSpinner:true});
SubmitForm(FormSAMA);

// Obtener el Ăºltimo SAMA registrado
ClearCollect(SAMASOrdenados, SAMASListadoAct);
UpdateContext({ nuevoSAMA: Last(SAMASOrdenados).ID });

Set(visibleAltaSAMA,false);
Set(textoMsjConfirmacion, "El SAMA nĂºmero " & nuevoSAMA & " ha sido registrado exitosamente. En breve recibirĂ¡ un correo con los detalles del registro.");

 

El problema es que al dar click para que se guarde la informaciĂ³n seleccionada en los combos y lo que se redacto me lanza el mensaje: Error de red al usar la funciĂ³n Patch: El campo "DesarrolladorAsignado" es obligatorio.

 

 

 

Al editar el error me lo marca en la siguiente linea: SubmitForm(FormSAMA);

 

Alguien me podrĂ­a ayudar a entender el error y ver como lo puedo solucionar.

 

Saludos.¡

 

Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    153,084 Most Valuable Professional on at

    @Slafco ,

    It is telling you that the field DesarrolladorAsignado in your data source must contain information. Either it is not on your Form, or the user has not completed it. The requirement is probably on your Data Source (I assume SharePoint), but may be on the Required field of the Data Card if this is on the Form.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • Slafco Profile Picture
    7 on at

    Es correcto lo que comentas de que la tarjeta: DesarrolladorAsignado esta como requerida y que la fuente de datos es una lista de SharePoitn: SAMASListadoAct.

    Revisando en power apps en la vista de Ă¡rbol de dicha tarjeta no forma parte de la forma donde se encuentra el botĂ³n GUARDAR que realiza todo el proceso del cĂ³digo que compartĂ­, sino mĂ¡s bien se encuentra en otra forma de nombre: FormDesarrollodorSAMA y tambiĂ©n revise la tarjeta DesarrolladorAsignado es un campo requerido, hice el cambio a no requerido y aun asĂ­ no persiste el error. 

    Pantallas adjuntas.

  • WarrenBelz Profile Picture
    153,084 Most Valuable Professional on at

    @Slafco ,

    Have you looked in your data source - the error is saying the field is required.

  • Slafco Profile Picture
    7 on at

    WarrenBelz!

    es correcto el error claro se soluciono desde la lista de SharePoint donde el campo estaba como obligatorio. 
    por ahora quite esa opcion y lo mantuve como requerido en power apps y funciono. 
    Aun asi revisare si eso es posible tener configurado de esa manera.

     

    Gracias amigo!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard