GeneralUtilities/RequestedUserName errors after upgrading the Cmf.Common.CustomActionUtilities package to v11

Hi Team,

We have upgraded our package Cmf.Common.CustomActionUtilities to v11.

we are getting below errors after upgrade.

Please help us. Your help is Appreciated.

Thanks,

Sandip Dhakane


Hi Sandip,

you can just use the Config Utilities from Cmf.Foundation.Configuration.

bool configExists = Config.TryGetConfig(configPath, out IConfig config);

For the UserName, the solution is already in your screenshot. Just use

ApplicationContext.CallContext.RequestUser.UserAccount

to get the account name.

Best regards,
Maximilian

Thanks a lot Maximilian!. Above mentioned solution worked. We deeply appreciate your consistent assistance during challenging periods.