Announcements
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 will try and will update you.
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)
No.
But try by passing data attribute at the end of url and with below link you can read the data.
Please let me know if it not worked for you.
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?
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>")
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 } );
it looks like I can't mark it on that entity, it's not clickable
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.
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
André Arnaud de Cal... 291,359 Super User 2024 Season 2
Martin Dráb 230,370 Most Valuable Professional
nmaenpaa 101,156