@Kamlesh780
If you need an example
Add this AppOnStart
Set(
gblAppGlobalName,
{
ApplicationName: "My Project Software",
ApplicationID: "17718e8c-f2e0-40e1-8be0-f1ab03e73ef7",
SessionID: Text(
Now(),
"ddmmyy-hhmmss"
)
}
);
Reuse gblAppGlobalName example to get app name gblAppGlobalName.ApplicationName

Backend SharePoint


Patch
Set(
gblError,
Patch(
'Error Log',
Defaults('Error Log'),
{
ControlName: "Test",
User: $"{gblCurrentUser.Title}. at{Now()}.",
ApplicationName:gblAppGlobalName.ApplicationName,
ApplicationID:gblAppGlobalName.ApplicationID,
SessionString:gblAppGlobalName.SessionID
}
)
);
If(
IsBlankOrError(gblError),
Error(
{
Message: "Patch failed",
Kind: ErrorKind.GeneratedValue,
Source: "Button25"
}
)
)