Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Answered

Create a hybrid field that displays either the Owning Business Unit (User) or Owning Business Unit (Team) on an Entity?

Posted on by 1,579

Is there a way to create a hybrid field that displays either the Owning Business Unit (User) or Owning Business Unit (Team) on an Entity? 

If the record is owned by a team, I want to display the owning team's business unit in a view. 

Likewise if the record is owned by a user, I want to display the owning user's business unit in a view.

I know I can add two columns to my view Owning Business Unit (User) and Owning Business Unit (Team). 

However, this creates problems.

I want a single column in all views of all entities that simply says Owning Business Unit and the BU will be there regardless of if the record is owned by a User or a Team. 

The records will always be changing business units and I need to ensure we don't add any extra processes to the platform that would constantly update the record with a new business unit. I simply want to display the current BU in a SINGLE COLUMN in every view for every record as opposed adding TWO columns to each view where one will be blank and. the other will contain data. 

Is there a way to do that without creating a custom field name Business Unit and writing a workflow or custom plugin that determines the BU and inserts it into that field?

  • ACECORP Profile Picture
    ACECORP 1,579 on at
    RE: Create a hybrid field that displays either the Owning Business Unit (User) or Owning Business Unit (Team) on an Entity?

    That will work for us as listed. Thank you!

  • Verified answer
    LuHao Profile Picture
    LuHao 40,872 on at
    RE: Create a hybrid field that displays either the Owning Business Unit (User) or Owning Business Unit (Team) on an Entity?

    Hi Jim,

    Each entity has a field "Owning Business Unit" that show the record owner's Business Unit, however it is not searchable, which means it cannot be added on the view.

    pastedimage1595560220453v1.png

    So, we have to create a lookup field of Business Unit entity, and use workflow to copy the value of "Owning Business Unit" field to the new field. Finally add the new field to the view.

    In this solution, we don't need to judge whether the Owner is a user or a team, we just need to copy the value.

    pastedimage1595560704270v2.png

    pastedimage1595560729443v3.png

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans