2

It seems that SitecoreUTSessionBuilder make async calls, and controller rendering can't have async calls in them. Am I misunderstanding something? Is there a way to use the SDK from Sitecore? Thank you

  • Why do you need to use UT in sitecore? Could you provide more details? You can use XConnectClient directly to trigger events or what do you need. Anyway, if you really need it in controller rendering you can use it like "var eventResponse = session.TrackEventAsync(eventRequest).Result; " or use ConfigureAwait method. – x3mxray Apr 30 '19 at 16:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.