Good afternoon I am building an app that records in a sharedpoint list but it does not save the record in the list and sends the following error:
This is the formula :
Patch(
BD_2022,
Defaults(BD_2022),
{
SUBDIRECCIÓN: cbosub,
FECHA_DEL_OFICIO: txtfchofi .Text,
FECHA_DE_INGRESO: txtfching .Text,
FOLIO: txtFolio1 .Text,
AREA_DE_PROCEDENCIA: cbopro,
REMITENTE: txtrem .Text,
AREA_DESTINATARIA: cbodes,
DESTINATARIO: txtdes .Text,
FECHA_DE_RESPUESTA: txtfchres .Text,
VIGENCIA: cbovige,
ESTATUS_DE_ATENCION_DEL_OFICIO: cbostatus,
RESPONSABLE: txtresp .Text,
ASUNTO: txtasun .Text
}
);
Helpme Pls.
Thank's
Can you post a screenshot of columns type of your list? probably there is a problem with choose colum (AREA_DE_PROCEDENCIA: cbopro or AREA_DESTINATARIA: cbodes etc)
Clear! .
This is the screen
This is the screen of your app 😁 let me see list of columns of your SharePoint list. PS: Why you use Patch and draw manually every controls instead use Power Apps Form?
probably you're passing "control" instead text properties of you control: try this:
Patch(
BD_2022,
Defaults(BD_2022),
{
SUBDIRECCIÓN: cbosub,
FECHA_DEL_OFICIO: txtfchofi.Text,
FECHA_DE_INGRESO: txtfching.Text,
FOLIO: txtFolio1.Text,
AREA_DE_PROCEDENCIA: cbopro.Text,
REMITENTE: txtrem.Text,
AREA_DESTINATARIA: cbodes.Text,
DESTINATARIO: txtdes.Text,
FECHA_DE_RESPUESTA: txtfchres.Text,
VIGENCIA: cbovige.Text,
ESTATUS_DE_ATENCION_DEL_OFICIO: cbostatus,
RESPONSABLE: txtresp Text,
ASUNTO: txtasun.Text
}
);
it didn't work
all the following are a combo box, from a gallery
SUBDIRECCIÓN: cbosub
AREA_DE_PROCEDENCIA: cbopro
AREA_DESTINATARIA: cbodes
VIGENCIA: cbovige
ESTATUS_DE_ATENCION_DEL_OFICIO: cbostatus
Sorry, try something like this:
ComboboxName.Selected.Value
It didn't work, but now if you register in the label.Text, not in the choise attached screens....
this is the formula
Patch(
BD_2022,
Defaults(BD_2022),
{
SUBDIRECCIÓN: cbosub,
FECHA_DEL_OFICIO: txtfchofi .Text,
FECHA_DE_INGRESO: txtfching .Text,
FOLIO: txtFolio1 .Text,
AREA_DE_PROCEDENCIA: cbopro,
REMITENTE: txtrem .Text,
AREA_DESTINATARIA: cbodes,
DESTINATARIO: txtdes .Text,
FECHA_DE_RESPUESTA: txtfchres .Text,
VIGENCIA: cbovige,
ESTATUS_DE_ATENCION_DEL_OFICIO: cbostatus,
RESPONSABLE: txtresp .Text,
ASUNTO: txtasun .Text
}
);
Navigate(
correcto,
CoverRight
);
Please Help me, I'am very new in PowerApps
Because you're passing your combobox control instead text property of combobox control to patch function.
atch(
BD_2022,
Defaults(BD_2022),
{
SUBDIRECCIÓN: cbosub,
FECHA_DEL_OFICIO: txtfchofi .Text,
FECHA_DE_INGRESO: txtfching .Text,
FOLIO: txtFolio1 .Text,
AREA_DE_PROCEDENCIA: cbopro,
REMITENTE: txtrem .Text,
AREA_DESTINATARIA: cbodes,
DESTINATARIO: txtdes .Text,
FECHA_DE_RESPUESTA: txtfchres .Text,
VIGENCIA: cbovige,
ESTATUS_DE_ATENCION_DEL_OFICIO: cbostatus,
RESPONSABLE: txtresp .Text,
ASUNTO: txtasun .Text
}
);
Navigate(
correcto,
CoverRight
);
These rows, should replaced with: ComboboxName.Selected.Value
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
User | Count |
---|---|
182 | |
52 | |
41 | |
39 | |
33 |
User | Count |
---|---|
247 | |
80 | |
71 | |
70 | |
66 |