Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Add customview control for lookup in Dynamics 365 UCI?

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi ,

I am using below code to build custom view in dynamics 365 web client. It is working fine, But same code is not working in UCI. 

I can able to bind the view but "disableviewpicker" is not working. IS ther any alternate way to set disable view picker in UCI. 

Xrm.Page.getControl("new_resource").addCustomView(viewId, entName, vwName, resourceFetch, resourceLayoutXml, true);
document.getElementById("new_resource").attributes.disableviewpicker.value = "1";

Regards,

Sravan. j

*This post is locked for comments

  • Jadyn Profile Picture
    Jadyn 10 on at
    RE: Add customview control for lookup in Dynamics 365 UCI?

    I have the same problem.

    disableViewPicker can not use in UCI.We want to prevent users from selecting other views

    Do you have any relevant methods? 

    Thanks

  • Suggested answer
    Kalpavruksh D365 CoE Profile Picture
    Kalpavruksh D365 CoE 2,545 on at
    RE: Add customview control for lookup in Dynamics 365 UCI?

    Hi Sravan,

    UCI does not support addCustomView functionality. Microsoft is aware of the same and checking this error internally.

    community.dynamics.com/.../312345

    If found useful, please mark this answer as verified.

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,489 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans