Hi All,
I have a strange problem, when I run my application I get the error:
However my application / code is running fine and doing everything what I expect. I also only receive this error when I Play the application (not play modus via the editor).
When I go into my logs (In dev) I only receive the following logs
As you can see I do not receive a lot of information from this...
However when I do the same in production:
For the simplicity for solving this problem, I have focused on OC_FP_F_B_F_Type. The code used in this control:
SortByColumns(
RenameColumns(
Filter(
'Contract types',
Status = 'Status (Contract types)'.Active And (!OC_FP_F_B_F_Category.HasOutput || Category.'Contract category' = GUID(OC_FP_F_B_F_Category.Output.Key))
),
'Contract type',Key,
Name,Value
),
"Value",SortOrder.Ascending
)
The problem is occuring on the GUID(OC_FP_F_B_F_Category.Output.key) since thats the only part within this control that has the GUID function.
OC_FP_F_B_F_Category is a custom component that I have created, the HasOutPut checks if there is output this is a boolean, the Output.Key retrieves the selected item his GUID (in string format, this is why I have to put GUID around it).
I hope someone could help me?