Forum Discussion

Syndicate_Admin's avatar
Syndicate_Admin
Administrator
4 years ago
Solved

Error in powerapp code when replacing th existing sharepoint list with new list having same data

I have a working powerapp code in which everything works perfectly. When I delete the sharepoint lists from connectors and connect new list with different name but same data inside, then i face issu...
  • Syndicate_Admin's avatar
    4 years ago

    Hi @SUPRIYAK ,

    Firstly, try this syntax

    ForAll(
       Filter(
          Clc_Befout_list,
          Temp_Status="New"
       ) As aPatch,
       Patch(
          AOA_TPT_Outage_Process_Demo_Response_SK1, 
    	  {ID:aPatch.ID},
          {
             Response:aPatch.Response
             Start_Time: Var_Start_Time,
             End_Time: Now()
          }
       )
    )

    however your issue seems to be with the Response field - is the the original name of the field? Go to your List Settings, select the field and look at the end of the URL at the top to see the actual field name.

     

    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.

    Visit my blog Practical Power Apps

  • Syndicate_Admin's avatar
    Syndicate_Admin
    4 years ago

    @SUPRIYAK ,

    It separates different "commands" or code instructions.