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 Apps / Retrieving Power Apps ...
Power Apps
Unanswered

Retrieving Power Apps Modified Date

(1) ShareShare
ReportReport
Posted on by 5,325 Super User 2025 Season 2
I am using the following to pull in the 'current' app version of my Power App into the main screen of the app.

In the history there is also a 'Modified' date column. Is it possible to use a similar formula to pull in the
'Modified' date so I can display it in the 'Published' label on my screen?

Excerpt of 'App version history' -


Formula used at 'OnStart' to retrieve app version number -
 
Set(varAppVersion,
CountRows(PowerAppsforMakers.GetAppVersions(First(
    Filter(
        (PowerAppsforMakers.GetApps()).value,
        properties.displayName = "Invoice_App"
)
).name).value));

Section of App main screen -

Categories:
I have the same question (0)
  • Suggested answer
    CU25060357-0 Profile Picture
    37 on at
    The modified date is within GetAppVersions as well.
     
    Set(
        varAppPublishedDate,
        First(
            Sort(
                PowerAppsforMakers.GetAppVersions(
                    First(
                        Filter(
                            PowerAppsforMakers.GetApps().value,
                            properties.displayName = "Invoice_App"
                        )
                    ).name
                ).value,
                modifiedTime,
                Descending
            )
        ).modifiedTime
    );
     
    And then for your label:
     
    "Published on " & Text(varAppPublishedDate, "[$-en-US]mmmm d, yyyy")
     
    or if you want the time included.
     
    "Published on " & Text(varAppPublishedDate, "[$-en-US]mmmm d, yyyy 'at' h:mm AM/PM")
     
     
  • Phineas Profile Picture
    5,325 Super User 2025 Season 2 on at
    Power Apps 'OnStart' didn't like the formula.

    Got an error.

    Error message is -
    "Name isn't valid. 'modifiedTime' isn't recognized."

    The only options to choose from for 'value' are -
    id
    name
    properties
    tags
    ThisRecord
    type


    The column name in the version section of the app is 'Modified'. However 'Modified' is also not available for
    'value' in the formula.


    The formula used in 'OnStart' to return app details -
    Set(
        varAppPublishedDate,
        First(
            Sort(
                PowerAppsforMakers.GetAppVersions(
                    First(
                        Filter(
                            PowerAppsforMakers.GetApps().value,
                            properties.displayName = "Invoice_App"
                        )
                    ).name
                ).value,
                modifiedTime,
                SortOrder.Descending
            )
        ).modifiedTime
    );
  • ronaldwalcott Profile Picture
    3,847 Super User 2025 Season 2 on at
    Look in the table for the correct name.
  • Phineas Profile Picture
    5,325 Super User 2025 Season 2 on at
    I don't understand.

    You say, "Look in the table for the correct name."

    What table?

    In the varAppVersion formula the only options to choose from that I am given are:
    id
    name
    properties
    tags
    ThisRecord
    type
     
    ...and the .name).value) is what is returning the Version number.
     
    Set(varAppVersion,
    CountRows(PowerAppsforMakers.GetAppVersions(First(
        Filter(
            (PowerAppsforMakers.GetApps()).value,
            properties.displayName = "Invoices_App"
    )
    ).name).value));
     


    When I get to the following spot, in my varPublishDateTime formula, once I enter the period (.) I get a list
    of items including 'lastModifiedTime'.

    However, I don't believe this is the place to acquire this meta data, as I haven't identified the specific app
    as yet.

    How am I to proceed?

    'OnStart' Publish DateTime formula -
    Set(varPublishDateTime,
    First(
          Sort(

              PowerAppsforMakers.GetAppVersions(
                   
    First(
                         
    Filter(
                             PowerAppsforMakers.GetApps()).value,
                             properties.lastModifiedTime...
  • Verified answer
    Phineas Profile Picture
    5,325 Super User 2025 Season 2 on at
    Found my answer.

    Thank you all for your patience.

    'OnStart' formula to get current App Version and Date/Time published -
    Set(
        appVersion,
        CountRows(
            PowerAppsforMakers.GetAppVersions(
                LookUp(
                    PowerAppsforMakers.GetApps().value,
                    properties.displayName = "App Name Here",
                    name
                )
            ).value
        )
    );
    Set(
        appTimeStamp,
        PowerAppsforMakers.GetApp(
            LookUp(
                PowerAppsforMakers.GetApps().value,
                properties.displayName = "App Name Here",
                name
            )
        ).properties.appVersion
    )
  • CA1105 Profile Picture
    545 Super User 2025 Season 2 on at
    Following..

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard