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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Invoice Processing Aut...
Power Automate
Unanswered

Invoice Processing Automation Starter Kit / Can I add columns to power App?

(0) ShareShare
ReportReport
Posted on by 169

Hello,

 

I am wondering if the power app of the starter kit is customizable so that I can add more columns to the invoices list:

 

Iro__0-1632208311543.png

 

I need to add columns such as "Date", "Bill To", "Tax" etc (in order for the user to be able to see all the invoice fields without having to open each invoice).

 

Thank you in advance.

Categories:
I have the same question (0)
  • Verified answer
    CedrickB Profile Picture
    Moderator on at

    Hi,

    Here is a procedure

    1. Edit the "Document Automation Application" that you can find in the Apps menu of Power Apps

    2. In the editor go to "OnSelect" property of the "Refresh Button" in the "Document List Screen"

    CedrickB_0-1632325788061.png

    3. Replace this code

    ClearCollect(
      DocumentsToDisplay,
      Sort(
        'Document Automation Processings',
        'Created On',
        SortOrder.Descending
      )
    );

    By this code

    ClearCollect(
    DocumentsToDisplayTemp,
    AddColumns(
    Sort(
    'Document Automation Processings',
    'Created On',
    SortOrder.Descending
    ) As DocProcessing,
    "FileName",
    DocProcessing.'File Name',
    "CreateOn",
    DocProcessing.'Created On',
    "ProcessingStatus",
    DocProcessing.'Processing Status',
    "ExtractedData",
    LookUp(
    [@'Document Automation Data'],
    'Document Automation Processing'.Name = DocProcessing.Name
    )
    )
    );
    ClearCollect(
    DocumentsToDisplay,
    AddColumns(
    DocumentsToDisplayTemp,
    "Data1",
    ExtractedData.Data1,
    "Data2",
    ExtractedData.Data2,
    "Data3",
    ExtractedData.Data3
    )
    );

    4. Rename the "Data1", "Data2", "Data3", etc... to the proper label

    5. Save and close your app to force the cache to be refreshed

    6. Edit the app again and click on the "ProcessedDocumentsDataTable"

    CedrickB_1-1632326071699.png

    7. In the right pane, click on "Edit Fields"

    CedrickB_2-1632326123257.png

    You should be able to pick the new "Data1"... fields previously added.

    8. Save, publish and close your app

     

    NOTE that Performance may be less optimal with these new fields.

    Let me know if you are encountering issues.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard