cancel
Showing results for 
Search instead for 
Did you mean: 

Fragment not supported in CIM(Component Integration Metadata) for SAP Service and Asset Manager

daniyal_dolare
Explorer
0 Kudos
800

Hi Experts,

I am extending SAP Service and Asset Manager using CIM (Component Integration Metadata).

Till now I was able to override pages, rules, actions, i18n, global files, but now I have a requirement in which I have to override and make some changes in a fragment. But when I add fragment in cim file, it gives error "String does not match the pattern of "(^/.+/Actions/).*(.+\.action)$|(^Actions/).*(.+\.action)$".Schema" 

Looking at this I understand that fragments are not supported in cim file, so how can I make customizations in any fragment.

I even checked in documentation of cim, I cannot see fragments support in integration points. CIM - Mobile Development Kit References (sap.com)

Need your help in this!

daniyal_dolare_0-1721652385322.png

~~

Accepted Solutions (1)

Accepted Solutions (1)

Arunachalam
Product and Topic Expert
Product and Topic Expert
0 Kudos

@daniyal_dolare 
Include _SchemaVersion to 23.12 in your base application.app

daniyal_dolare
Explorer
0 Kudos

Hi @Arunachalam ,

After updating _SchemaVersion to 23.12, the error message has gone. What all does it affect in my app after updating the schema version can you help with that?

And thanks for the solution.

Arunachalam
Product and Topic Expert
Product and Topic Expert
0 Kudos
Arunachalam
Product and Topic Expert
Product and Topic Expert
0 Kudos
Schema validation and code completion are based on _SchemaVersion.

Answers (2)

Answers (2)

bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Kudos

Fragment overriding is currently supported in CIM files.  It does look like we missed updating the docs so I will get that corrected.

Regarding the validation errors in your screenshot, I am unable to reproduce that and do not see any validation errors when I add fragments into my .cim file.  Can you let me know what environment you are using where you see the validation error?

daniyal_dolare
Explorer
0 Kudos

Hey @Pathik 

I am trying to override query options in the fragment.