cancel
Showing results for 
Search instead for 
Did you mean: 

How can the manifest be dynamically provided in Component.js?

Ajit_K_Panda
Product and Topic Expert
Product and Topic Expert
0 Kudos
224

Is it possible to modify manifest or provide a new manifest dynamically in component.js?
Any example or reference is available?

Or any hooks available to change manifest dyanmically?

Note: Want to change routes pattern and targets.

RaminS
Active Participant
0 Kudos

Good question. I don't think it's possible, but would be interested to hear from experts. I never liked the decision to shift control to a json property file instead of JS programming. The problem with json files is that they are static, you can't use programming logic.

I felt that this was the same mistake SAP made with Web Dynpro, they took away the ability for developers to write Javascript logic, by making the framework to it for you. In the long run, that strategy does not work.

View Entire Topic
marcel_schork
Explorer
0 Kudos

Hi, 

yes it is. Follow the thread here to find pros and cons about providing the manifest.json dynamically. 

https://community.sap.com/t5/technology-q-a/solutions-for-supporting-dynamic-odata-annotation-url-fo...

Best regards,

Marcel