I have employed the Named Formula property on an app with the following definitions:
fxRed = ColorValue("#EA0437");
fxWhite = ColorValue("");
fxBlack = ColorValue("#000000");
fxDarkBlue = ColorValue("#00587C");
fxCyanBlue = ColorValue("#5a7e92");
fxBlue = ColorValue("#0099d8");
fxCyanGreen = ColorValue("#63c7b7");
fxYellow = ColorValue("#ffda00");
fxHeader = Switch(
App.ActiveScreen.Size,
6,
20,
5,
18,
4,
16,
3,
14,
2,
12,
1,
10
);
fxBody = Switch(
App.ActiveScreen.Size,
6,
16,
5,
14,
4,
12,
3,
10,
2,
8,
1,
8
);
fxEnvironment = Text(
//"PROD"
"DEV"
//"UAT"
);
fxAppGUID = Switch(
fxEnvironment,
"PROD",
GUID("*******-****-****-****-5fa8c525548f"),//PROD App
"DEV",
GUID("*******-****-****-****-db7013ca5fd8"),//DEV App
"UAT",
GUID("*******-****-****-****7b8fa40ee46c")//UAT App
);
fxAppURL = Concatenate(
"https://apps.powerapps.com/play/",
fxAppGUID
);
fxAppLinkURL = Concatenate(
fxAppURL,
"?record=",
locCurrentRecord.ID
);
fxUserProfile = Office365Users.MyProfileV2();
fxPermissions = Filter(
E8D_UserPermissions,
Active
);
fxRole = LookUp(
fxPermissions,
'Unique Principal Name' = fxUserProfile.userPrincipalName,
Role.Value
);
fxBugLink = Text("https://kochprod.service-now.com/compass/?id=sc_cat_item&table=sc_cat_item&sys_id=*********************************");
fxBILink = Text("https://app.powerbi.com/groups/me/apps/*******-****-****-****-4e2148916925/reports/*******-****-****-****-bccb3efe1e39/ReportSectionf83595481400197e66d4?ctid=*******-****-****-****-0989b89dfdb4");
fxDataTypes = Table(
{FieldType: "Single"},
{FieldType: "Multiple"},
{FieldType: "Choice"},
{FieldType: "Date"},
{FieldType: "Bit"},
{FieldType: "User"}
);
fxIssueIDBase = Value(2300);
When published the app will not load and only displays a loading spinner. If I regress the Named Formula feature back to disabled, the app will load correctly. Is this a matter of the contents of the Named Formulas property that I have in the sample code, or a problem with the feature in general?