Skip to Content

Smart Variant Management - example of Component-changes.json

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Feb 24 at 03:34 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 24 at 02:18 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded