Power Apps - Organize SharePoint Form Fields in Tabs using PowerApps Modern Control-TabList

Поділитися
Вставка
  • Опубліковано 10 січ 2025

КОМЕНТАРІ •

  • @pawanmishra6549
    @pawanmishra6549 Рік тому +2

    Excellent!

  • @ishdoss7207
    @ishdoss7207 8 місяців тому

    Thanks for sharing this. Is it possible to make the tab 2 visible only if a field value in tab 1 is "FA"? How to show/hide tabs?

  • @nikkijoy226
    @nikkijoy226 Рік тому +1

    Thank you very much

  • @prashantmittal9772
    @prashantmittal9772 Рік тому

    Hi
    It is very helpful tutorial and I followed the same.
    I'm facing an issue when I'm previewing the app, it is not showing attributes on tab change but when I;m closing the preview, it shows tab content in editable canvas mode.
    Can you help me with this?
    Thanks

  • @NatashaGondiProfessional
    @NatashaGondiProfessional Рік тому +1

    Hi, Nice post.
    I followed this video and created tabs, I am able to create a new item and using view I saw data in all tabs.
    But the issue is: When I edit, Modify and save the data, it is creating a new item in SharePoint instead of modifying the current record.
    Kindly help. Thank you so much!

    • @m365techhelp
      @m365techhelp  Рік тому

      Let me check

    • @091vigneshbabu
      @091vigneshbabu Рік тому

      Even i did face the same issue..

    • @NoName2023PL
      @NoName2023PL 5 місяців тому

      I have the same problem when I edit existing item it creates new one

    • @rickifyful
      @rickifyful 5 місяців тому +2

      I solved this by using a switch statement to detect the formMode of the default form and using different patch statements in each case:
      Switch(
      Form1_SharePointForm.Mode,

      FormMode.Edit,
      Patch(SharePointList, SharePointIntegration.Selected, Form1_SharePointForm.Updates, Form2_SharePointForm.Updates);

      FormMode.New,
      Patch(SharePointList, Defaults(SharePointList), Form1_SharePointForm.Updates, Form2_SharePointForm.Updates)
      );
      ResetForm(Form1_SharePointForm);
      ResetForm(Form2_SharePointForm);
      RequestHide();

    • @NatashaGondiProfessional
      @NatashaGondiProfessional 4 місяці тому

      @@rickifyful I will try this and see, Thanks!

  • @duncanjones3656
    @duncanjones3656 22 дні тому

    Thank you for posting this video. However, when using the default option within patch you are creating a new record. This meant for me the form only worked to create a new record and not edit an existing record. In order to fix this I replaced the OnSave code with something in the following shape.
    If(IsBlankOrError(Value(DataCardValue[X].Text)),
    Patch('[List Name]',Defaults('[List Name]'),MainSharePointForm.Updates,...),
    Patch('[List Name]',LookUp('[List Name]',ID = Value(DataCardValue[X].Text)),MainSharePointForm.Updates,...)
    );
    RequestHide()
    Where DataCardValue[X] was a view only instance of my lists ID which I added to the first form.