Skip to Content
0

Smart Variant Management - example of Component-changes.json

Feb 24 at 01:54 PM

324

avatar image

Hi All,

Could somebody send me sample Component-changes.json? SmartFilterBar would be the best.

I am trying to implement smart variant management for app not being run on launchpad and going crazy. I am able to store variants in backend but after application refresh nothing is loaded. Component-changes.json is not updated also.

Thanks in advance,

Krzysiek

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Szymak Krzysztof Feb 24 at 03:34 PM
0

Hi Vaibhav,

Variant are storing in backend, I could debug Lrep service and it creates files and entries in tables. Just they are not loaded at initial of SmartBarFilter. I can't find aby palce in persistant object where it calls Lrep. Maybe I should load them in different way, different object?

Application is stand alone SAPUI5.

BR,

Krzysiek

Share
10 |10000 characters needed characters left characters exceeded
Vaibhav Maheshwari Feb 24 at 02:18 PM
0

I don't think your issue has anything to do with Component-changes.json file.

Where are you running the app(if not launchpad) and how did you confirmed that variants are being stored in back-end ?

Componet-changes.json must be created in the same folder as your index.html.

Add an opening and closing curly bracket { } in the file.

Share
10 |10000 characters needed characters left characters exceeded