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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / PATCH ESTÁ DUPLICANDO ...
Power Apps
Answered

PATCH ESTÁ DUPLICANDO OS REGISTROS

(0) ShareShare
ReportReport
Posted on by 18

Fiz um Patch porém ele está duplicando os registros mesmo inserindo a fórmula remove.

 

Como posso ajustar para não duplicar?

I have the same question (0)
  • lbendlin Profile Picture
    8,726 Super User 2026 Season 1 on at
    Are you patching an actual row, or "Default" ?
  • Thamara Profile Picture
    18 on at

    I INSERTED THE REMOVE BUT IT STILL DIDN'T WORK

     

    If(IsBlank(Label4.Text); ForAll(
    Filter(
    GaleriaADP_2.AllItems;
    Selectadp_1_1.Value = true
    );
    Patch(
    DadosADP;
    Defaults(DadosADP);
    {
    Ordem: Ordem;
    Denominação: Denominação;
    'Texto breve': 'Texto breve';
    Oper: Oper;
    'Sub Oper': 'Sub Oper';
    'TxtDesc/Oper/': 'TxtDesc/Oper/';
    'Parar Equip': 'Parar Equip';
    IF6: IF6;
    SO: SO;
    'GPM Oper.': 'GPM Oper.';
    CenTrabOperacao: CenTrabOperacao;
    CenTrabRespons: CenTrabRespons;
    Executantes: Executantes;
    'HH Oper': 'HH Oper';
    'HH Total': 'HH Total';
    'Data Início': 'Data Início';
    'Hora Início': 'Hora Início';
    'Data fim': 'Data fim';
    'Tipo ativid/PM': 'Tipo ativid/PM';
    Nota: Nota;
    'Plano Manut': 'Plano Manut';
    'AR Nível': 'AR Nível';
    'Núm AR': 'Núm AR';
    'Risco Libra': 'Risco Libra';
    'Matriz LIBRA': 'Matriz LIBRA';
    'Identif. ARO': 'Identif. ARO';
    'Área Operacional': 'Área Operacional';
    'COMENTÁRIOS PLANEJAMENTO': 'COMENTÁRIOS PLANEJAMENTO';
    'LIBERADO SUPERVISÃO MI': 'LIBERADO SUPERVISÃO MI';
    'COMENTÁRIOS SUPERVISOR MI': 'COMENTÁRIOS SUPERVISOR MI';
    'LIBERADO LIDERMAN': 'LIBERADO LIDERMAN';
    'COMENTÁRIOS LIDERMAN': 'COMENTÁRIOS LIDERMAN';
    'LIBERADO SUPERVISÃO OP': 'LIBERADO SUPERVISÃO OP';
    'COMENTÁRIOS SUPERVISOR OP': 'COMENTÁRIOS SUPERVISOR OP';
    'LIBERADO UOTOP': 'LIBERADO UOTOP';
    'COMENTÁRIOS UOTOP': 'COMENTÁRIOS UOTOP';
    'LIBERADO COORDENADOR OP': 'LIBERADO COORDENADOR OP';
    'COMENTÁRIOS COORDENAÇÃO': 'COMENTÁRIOS COORDENAÇÃO';
    'LIBERADO CONSOLIDAÇÃO': 'LIBERADO CONSOLIDAÇÃO';
    'COMENTÁRIOS CONSOLIDAÇÃO': 'COMENTÁRIOS CONSOLIDAÇÃO';
    'CONSIDERAÇÃO FINAL': 'CONSIDERAÇÃO FINAL';
    'Histórico de comentários': 'Histórico de comentários';
    ESPECIALIDADE: ESPECIALIDADE;
    LIBERAÇÃO: LIBERAÇÃO;
    ValidaçãoComentario: ValidaçãoComentario;
    'Ajuste de Data': Dropdown1.Selected.Value;
    'Ajuste de Hora':Dropdown2.Selected.Value;
    'Tipo de PT':Dropdown3.Selected.Value;
    COR: Dropdown4.Selected.Value;
    'À quente':Checkbox2.Text;
    RAS: Checkbox1.Text;
    'Espaço Conf.':Checkbox4.Text;
    'Trab. Altura': Checkbox3.Text;
    PBS: DataCardValue12.Text;
    'Executante/Encarregado':DataCardValue13.Text;
    Observação:DataCardValue16.Text;
    'Cod. PT': 'Cod. PT';
    'Emitiu a PT?':"Não";
    SEMANA: SEMANA;
    ANO: ANO;
    LOG: Concatenate(
    User().FullName;
    " ";
    Now()
    )
    }
    )
    );Notify("Preencha os campos destacados";NotificationType.Information;300))

  • lbendlin Profile Picture
    8,726 Super User 2026 Season 1 on at
    You don't specify the row id, instead you use Defaults. That will always create a new row.
  • Thamara Profile Picture
    18 on at

    Got it, can you help me?

    Thank's

  • lbendlin Profile Picture
    8,726 Super User 2026 Season 1 on at

    Can you identify the id of the record you are trying to patch?

  • Thamara Profile Picture
    18 on at

    It only has the ID that generates automatic

  • lbendlin Profile Picture
    8,726 Super User 2026 Season 1 on at

    you need to re-use that for patching.

  • Verified answer
    Thamara Profile Picture
    18 on at

    Thank's

     That worked

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 400 Most Valuable Professional

#2
11manish Profile Picture

11manish 141 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 109 Super User 2026 Season 2

Last 30 days Overall leaderboard