Hello and thanks for a tip. I read many things about patching, but this patch in my powerapp is verry slow, maybe it can be faster...
It patches a collection to a sharepoint list...is there a way to do it faster...for 30 items it takes one minute and more.
Thank you verry much and greatings
Jim
ForAll(Filter(BesArtCollection; id = -1) As BAC;
// new bestellartikel
UpdateIf(BesArtCollection;
i = BAC[@i];
{id:
Patch(BestellArtikel; Defaults(BestellArtikel);
{//ArtikelID: Utils.Querverweis(LookUp(Artikelsammlung; Title = BAC[@Title]).ID);
ArtikelID: LookUp(Choices(BestellArtikel.ArtikelID); Id=LookUp(Artikelsammlung; Title = BAC[@Title]).ID);
//BestellID: Utils.Querverweis(OrderID);
BestellID: LookUp(Choices(BestellArtikel.BestellID); Id=OrderID);
Menge: BAC[@Menge];
BesArt_Preis: BAC[@Preis];
Notizen: BAC[@Notizen]}
).ID
}
)
);;