web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

Cif framework v2 getEnvironment

(0) ShareShare
ReportReport
Posted on by 5

Hi,

Hello, I have a problem when obtaining the results of the getEnvironment method.

I use this method to know what type of page the user is on and if he is in an entity and even to know the identifier of said entity.

If the Omnichannel user creates a session and is placed, for example, in a contact, if I execute getEnviromnet() I do not receive the following attributes in the result: appid, etn, id, pagetype.

But if I create the session with the createSession() method and then execute getEnviroment() I do receive them and I can know where the user is located.

To say that this behavior only occurs with Omnichannel, if I do the same with version 1 of the Cif framework on the CRM Hub, both when the user browses or if I create the page, the same attributes are always returned.

Please, any help?

Thanks.

I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
11manish Profile Picture

11manish 52

#2
Manoj - ManoVerse Profile Picture

Manoj - ManoVerse 43 Super User 2026 Season 1

#3
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 14 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans