# After UI migration from v8 to v10, getting framework issue in Angular

**URL:** <https://community.criticalmanufacturing.com/t/after-ui-migration-from-v8-to-v10-getting-framework-issue-in-angular/607>\
**Category:** Extensibility\
**Tags:** ui, v10.2\
**Created:** [March 18, 2026, 11:20am UTC](https://community.criticalmanufacturing.com/t/after-ui-migration-from-v8-to-v10-getting-framework-issue-in-angular/607 "2026-03-18T11:20:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sandip\_dhakane](https://avatars.discourse-cdn.com/v4/letter/s/eb8c5e/32.png) [@sandip\_dhakane](https://community.criticalmanufacturing.com/u/sandip_dhakane)\
**Post date:** [March 18, 2026, 11:20am UTC](https://community.criticalmanufacturing.com/t/after-ui-migration-from-v8-to-v10-getting-framework-issue-in-angular/607/1 "2026-03-18T11:20:51Z")

</div>

Hi Team,

We have migrated our UI code from v8 to v10.2.11.

After migration, we are getting framework error in Angular component. “framework does not exists” error.

Below is the code line from v10 where we are getting an error.

this.framework.metadata.flex.components.get()

Could you please here.

Thanks in Advance.

 ![](https://canada1.discourse-cdn.com/flex050/uploads/community_criticalmanufacturing/original/1X/a0d37c65460eff1cbc163ac9961cb1415a9c7ad2.png)

---

<div class="post-metadata">

**Author:** ![maximilian\_jung](https://avatars.discourse-cdn.com/v4/letter/m/a9a28c/32.png) [@maximilian\_jung](https://community.criticalmanufacturing.com/u/maximilian_jung)\
**Post date:** [March 20, 2026, 7:18am UTC](https://community.criticalmanufacturing.com/t/after-ui-migration-from-v8-to-v10-getting-framework-issue-in-angular/607/2 "2026-03-20T07:18:57Z")

</div>

Hi Sandip,

have you checked the migration information for v10 in the dev portal?

> **[Authentication Portal](https://security.criticalmanufacturing.com/tenant/CustomerPortal/login?client_id=Applications&scope=Applications&redirect_uri=https%3a%2f%2fdeveloper.criticalmanufacturing.com%2fiis%2fauthentication%2fsuccess%3fredirect_uri%3daHR0cHM6Ly9kZXZlbG9wZXIuY3JpdGljYWxtYW51ZmFjdHVyaW5nLmNvbS9leHBsb3JlL2d1aWRlcy9taWdyYXRpb24vdmVyc2lvbi1zcGVjaWZpYy8xMDAw)**

Framework doesn’t exist anymore in v10 - the functionality has been moved to UI Services ([Authentication Portal](https://developer.criticalmanufacturing.com/explore/guides/customizations/presentation/services/#ui-services))

You need to import it:

import {  
inject  
} from ‘@angular/core’;

import {  
ComponentMetadataService  
} from ‘cmf-core’;

Then in your component you need to inject the service (depending on what you are doing you may need to also add the service into the providers in the component decorator) like this:  
protected componentMetadataService = inject(ComponentMetadataService);

and then you can use it as before:

this.componentMetadataService.get(“yourFlexComponentId”)

Similar for all the other services (LBO, Navigation, Util, etc)

All the best,  
Maximilian

---

<div class="post-metadata">

**Author:** ![sandip\_dhakane](https://avatars.discourse-cdn.com/v4/letter/s/eb8c5e/32.png) [@sandip\_dhakane](https://community.criticalmanufacturing.com/u/sandip_dhakane)\
**Post date:** [March 20, 2026, 2:17pm UTC](https://community.criticalmanufacturing.com/t/after-ui-migration-from-v8-to-v10-getting-framework-issue-in-angular/607/3 "2026-03-20T14:17:25Z")

</div>

Thanks, Maximilian, for your suggestion. It helped !We have tried above solution, and we are able to fetch component value with the property [componentMetadataService] provided Instead of framework property.We are using above component value in the function applyCustomization().Inside above function, we have below line of code :const stepComponents = view.\_view.nodes.filter(node =\> node && node.instance && node.instance.type === ‘Component’) as any;Due to upgrade to Angular 15+, we can’t access view.\_view.nodes—as its no longer available. So, the variable step component is used multiple times in the code.Could you please help here if possible with alternate code. Your help would be appreciated.Thanks,Sandip Dhakane
