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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

How to open form from UCI as UI

(0) ShareShare
ReportReport
Posted on by 120

My situation is, I work in 365 on-premise UCI I have a vanilla entity which is not supported in UCI Service/Activity there for if I try to open a new entity form with Xrm.Navigation.openForm I get an error - Non-UCI entity detected. How can I fix it? or is there a way to open the form as simple UI from UCI?

I have the same question (0)
  • Suggested answer
    Naveen Ganeshe Profile Picture
    3,397 User Group Leader on at

    Hi damka ,

    Make sure you have enabled the entity definition: customization -> entities-> select the entity and check it's definition-> check option 'Enable for mobile '.

    Take a look at this thread: community.dynamics.com/.../selected-entity-is-not-valid-for-this-client-non-uci-entity-detected-when-closing-an-opportunity

  • Suggested answer
    Pradeep Rai Profile Picture
    5,489 Moderator on at

    Hi,

    Please check below link:

    https://blog.magnetismsolutions.com/blog/harshaniperera/2019/09/23/quickly-switch-between-the-classic-mode-and-the-unified-interface-in-dynamics-365

    You can use above logic to open form in classic mode.

  • damka Profile Picture
    120 on at

    it looks like I can't mark it on that entity, it's not clickable
    8231.uci.PNG

  • damka Profile Picture
    120 on at

    I tried to do this, but still got an error:

     var pageInput = {
            pageType: "custom",
            name: "https://organization/CRMDEV/main.aspx?forceCLASSIC=1&etc=4214&pagetype=entityrecord&extraqs=?etc=4214&newWindow=true&histKey=130120890#5625895"
        };
        Xrm.Navigation.navigateTo(pageInput).then(
            function success() {
                // Run code on success
            },
            function error() {
                // Handle errors
            }
        );

  • Verified answer
    Pradeep Rai Profile Picture
    5,489 Moderator on at

    Hi,

    I tried the below url with window.open and it worked.

    https://yourorgname.crm.dynamics.com/main.aspx?forceClassic=1&pagetype=entityrecord&etn=<entitylogicalname>&id=<recordguid>

    Also this method worked.

    Xrm.Navigation.openUrl("<add your url as specified above>")

  • damka Profile Picture
    120 on at

    thanks it works' I can't pass params in any way I tried :|
    
    one way:
    
    var features = "";
    
       var extraqs = "&entt="   sourceEntityTypeName   "&entID="   Xrm.Page.data.entity.getId();
    
       window.open("organization/.../main.aspx  
    
           encodeURIComponent(extraqs), "_blank", features, false);  
    
    second way :
    
    "organization/.../main.aspx   "&entt="   sourceEntityTypeName   "&entID="   Xrm.Page.data.entity.getId();
    
    the form is open but no data is passed did you try to pass params?

  • Suggested answer
    Pradeep Rai Profile Picture
    5,489 Moderator on at

    No.

    But try by passing data attribute at the end of url and with below link you can read the data.

    https://learn.microsoft.com/en-us/previous-versions/dynamicscrm-2016/developers-guide/gg334511(v=crm.8)?redirectedfrom=MSDN#getquerystringparameters

    Please let me know if it not worked for you.

  • damka Profile Picture
    120 on at

    on the page onload event I tried to use this:

    Xrm.Page.context.getQueryStringParameters() and location.search.slice(1).split('&');

    and I get only  : etc: "4214"

    pagemode: "iframe"

    No matter what I do I get only that data (2 -key value)

  • Pradeep Rai Profile Picture
    5,489 Moderator on at

    I will try and will update you.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 189 Super User 2026 Season 1

#2
CU11031447-0 Profile Picture

CU11031447-0 100

#3
NeerajPawar Profile Picture

NeerajPawar 66

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans