Skip to main content

Notifications

Power Apps - Building Power Apps
Answered

PowerApps Verion (Greater than 100)

Posted on by 69

Hi,

Is it possible to get the app version (> 100) if our app get refreshed more than 100 times. Also, is there a way to push the latest updated app (after refresh) to final users, because some users still use an outdated application which is not compatible with updated business rules and/or does not include new updates / variable / fields or comments.

 

- what if deleting old versions from app settings / Details. Does the versions' deleting harm the app and data ?

 

Please help.

 

gates78

  • Lily_Helen Profile Picture
    Lily_Helen 21 on at
    Re: PowerApps Verion (Greater than 100)

    If I don't use a semicolon I get two new error messages ("invalid number of arguments. received 1, expected 2 or more" and "unexpected sign. The formular contains "error" but it expects "ParenClose". Signs aren't used as expected") (and it also doesn't work)

    The semicolon shouldn't be a problem because I use them in a very similar formular and they work just fine there

  • C_Hansen Profile Picture
    C_Hansen 42 on at
    Re: PowerApps Verion (Greater than 100)

    Try replacing semicolons with commas, and 6 instead of 06.

     

    CountRows(

    Filter(

    PowerAppsforMakers.GetAppVersions(

    LookUp(

    PowerAppsforMakers.GetApps().value,

    properties.displayName = "Appname",

    name

    )

    ).value,

    properties.appVersion > DateTime(

    2023,

    6,

    27,

    10,

    33,

    49

    )

    )

    )+100

  • Lily_Helen Profile Picture
    Lily_Helen 21 on at
    Re: PowerApps Verion (Greater than 100)

    Of course

     

    CountRows(

    Filter(

    PowerAppsforMakers.GetAppVersions(

    LookUp(

    PowerAppsforMakers.GetApps().value;

    properties.displayName = "Appname";

    name

    )

    ).value;

    properties.appVersion > DateTime(

    2023;

    06;

    27;

    10;

    33;

    49

    )

    )

    )+100

  • C_Hansen Profile Picture
    C_Hansen 42 on at
    Re: PowerApps Verion (Greater than 100)

    Can you share the code anyway, there may be a slight discrepancy in the formula.

  • Lily_Helen Profile Picture
    Lily_Helen 21 on at
    Re: PowerApps Verion (Greater than 100)

    Hi,

    it’s me again. I have a second app that is over version 100 and I tried (my fixed) code again. I get the following error:

    “error for “PowerAppsforMakers.GetAppVersions”: The function “GetAppVersions” has an invalide argument for the parameter “app”. An empty value has been passed on at an unexpected place. Make sure to pass on a valid argument.

    (note: I had to translate the error message since I use the German version)

     

    It's the same code that is working for the first app (and of course I've changed the App name etc.)

    Does anyone know why this happens and how to fix it?

    Thank you very much!

  • Lily_Helen Profile Picture
    Lily_Helen 21 on at
    Re: PowerApps Verion (Greater than 100)

    Figured it out: I need to use ";" instead of ","

    Maybe this helps someone 🙂

  • Lily_Helen Profile Picture
    Lily_Helen 21 on at
    Re: PowerApps Verion (Greater than 100)

    Hi,

     

    I use the same code you used but it's still not working. I get an error message saying "invalid number of arguments. received 1, expected 2 or more"
    Does anyone know why this is happening?

    That's my code

     

    CountRows(

    Filter(

    PowerAppsforMakers.GetAppVersions(

    LookUp(

    PowerAppsforMakers.GetApps().value,

    properties.displayName = "Name",

    name

    )

    ).value,

    properties.appVersion > 08/21/2023

    )

    )+100

     

    (I also tried the version from comment 9 but I receive the same error message)

  • Re: PowerApps Verion (Greater than 100)

    That did it.  Thanks so much!

  • C_Hansen Profile Picture
    C_Hansen 42 on at
    Re: PowerApps Verion (Greater than 100)

    I think it could be your date value, I used the DateTime function and included the time. 

     

    C_Hansen_0-1700000533439.png

     

    Set(
    appVersion,
    CountRows(
    Filter(
    PowerAppsforMakers.GetAppVersions(
    LookUp(
    PowerAppsforMakers.GetApps().value,
    properties.displayName = "Construction Portal",
    name
    )
    ).value,
    properties.appVersion > DateTime(
    2023,
    10,
    31,
    06,
    50,
    12
    )
    )
    )+300
    )

  • Re: PowerApps Verion (Greater than 100)

    I am not getting the number I would have thought.  I should be seeing 687, but it is shows 700.

     

    CountRows(
    Filter(
    PowerAppsforMakers.GetAppVersions(
    LookUp(
    PowerAppsforMakers.GetApps().value,
    properties.displayName = "XXXX",
    name
    )
    ).value,
    properties.appVersion > 10/25/2023
    )
    )+ 600

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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,591

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 64,090

Leaderboard