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
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
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
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
Can you share the code anyway, there may be a slight discrepancy in the formula.
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!
Figured it out: I need to use ";" instead of ","
Maybe this helps someone 🙂
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)
That did it. Thanks so much!
I think it could be your date value, I used the DateTime function and included the time.
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
)
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
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.