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
421

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

~~

Pathik
Product and Topic Expert
Product and Topic Expert
0 Kudos
Hi, it's possible that this is not supported. This may not have been tried before. Can you provide some details as to what you are trying to override inside the fragment?
daniyal_dolare
Explorer
0 Kudos

Hey @Pathik , I am overriding queryoptions. I checked properly then I found that my path was incorrect for the new rule I added in overriden fragment. Now I am able to see the changes in my app. But still that error message is there in cim file. My verdict is that fragments are supported and sap need to resolve that error message.

View Entire Topic
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.