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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

Company range option on UI Builder class

(0) ShareShare
ReportReport
Posted on by 1,235

Hi All,

Currently we have 2 customization reports that both able to select company range during report generation with the filter function. However, we noticed that in 1 of the report if the user is restricted to certain organizations, the company range list will be blank like below, while another reports doesn't encounter such issue.

blank-company.jpg

After comparison on both customization, we found that 1 of the customization is using UI Builder class while another customization didn't use UI Builder class. Is that additional code required to add in Ul Builder class in order to solve this?

Thanks.

Regards,

Teh

I have the same question (0)
  • Martin Dráb Profile Picture
    237,976 Most Valuable Professional on at

    What exactly do you want to solve? The fact that the user gets a list of companies choose form in the other report, despite the fact that it doesn't have permissions to access any but the active one? Or that the "Company range" tab is shown, although it doesn't contain any companies? Or do you want the user run the report even for companies that (s)he isn't allowed to access? Or something else?

  • GirishS Profile Picture
    27,827 Moderator on at

    Hi YA TEH,

    I don't think this may be due to UI builder class.

    Does both report have same security role or separate role for each reports?

    Thanks

    Girish S.

  • Venedict Profile Picture
    1,235 on at

    Hi Martin,

    By right the Company range list should appear only the company that is have permission for the users. The issues now is the Company range is empty and the customized reports was shown as blank.

    Thanks.

    Regards,
    Teh

  • Venedict Profile Picture
    1,235 on at

    Hi Girish,

    it is separate role for each reports because it was access by different group of users.

    Thanks.

    Regards,

    Teh

  • GirishS Profile Picture
    27,827 Moderator on at

    Compare both security roles. Also check the assign organization is given correctly to each security role.

    Is these scenario working in system administrator role?

    Thanks,

    Girish S.

  • Alex VN Profile Picture
    1,994 on at

    Hi,

    I would recommend to check for security access of the 2 users instead. And if the security access are the same and both user can access cross company data then we will look further into the code

  • Venedict Profile Picture
    1,235 on at

    Hi Girish,

    This issue was found out by my colleague. Will verify with my colleague.

    Thanks.

    Regards,

    Teh

  • Venedict Profile Picture
    1,235 on at

    Hi Alex,

    Ok thanks for advice. Will get my colleague to check again.

    Thanks.

    Regards,

    Teh

  • Venedict Profile Picture
    1,235 on at

    Hi Girish,

    My colleague has checked the security roles. The organization is assigned correctly. It seem when the user is restricted to certain organization, then the Company Range will be blank.

    In System Administrator role, we cannot limit the access to certain organization. With Administrator role, the Company range will show full list of organization.

    Thanks.

    Regards,

    Teh

  • GirishS Profile Picture
    27,827 Moderator on at

    Hi YA TEH,

    I think this is a standard functionality, If the user has a role and that role has some organization assigned - Company range will be empty on the query filter I guess.

    Other report works fine because it doesn't have organization assigned to the role.

    This is my suggestion.

    Thanks,

    Girish S.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 449 Super User 2025 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 422 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans