Thank you for replying @v-xida-msft .
The screen language can be english, that is no problem. So the next button is named next and should not translate to norwegian, swedish etc. But two of the "labels" in the OnSelect formula is not working if browser settings is set to another language then English.
This is the whole formula on my Next button:
If(
IsEmpty(OrgData),
Set(
BrregInUse,
false
),
Set(
BrregInUse,
true
)
);
Set(
InputOrganisasjonsnr,
LookUp(
OrgData,
nationalRegistrationNumber <> "",
nationalRegistrationNumber
)
);
Set(
InputKundenavn,
LookUp(
OrgData,
nationalRegistrationNumber <> "",
name
)
);
If(
Not(
IsEmpty(
Filter(
SCADirPartyV2Entities,
'Organization number' = InputOrganisasjonsnr
)
)
),
Navigate(
Screen_CheckDuplicate,
ScreenTransition.Fade
),
If(
IsBlankOrError(
First(
Filter(
SCADirPartyV2Entities,
InputKundenavn in 'Organization name'
)
)
),
Navigate(
Screen_UserInput1,
ScreenTransition.Fade
),
Navigate(
Screen_CheckDuplicate,
ScreenTransition.Fade
)
)
)
//If(IsBlank(Filter(SCADirPartyV2Entities,'Organization number' = InputOrganisasjonsnr )),
//Navigate(Screen_UserInput1, ScreenTransition.Fade),Navigate(Screen_CheckDuplicate,ScreenTransition.Fade))
The labels marked in red are the ones causing me this issue related to language preferences in the browser settings. Perhaps there is a better way to write this code so it understands to look for the english label name regardless of personal language settings?