cancel
Showing results for 
Search instead for 
Did you mean: 

Duplicate ID error while working with Adaptation project

SamAriekela
Explorer
0 Kudos
209

I have extended a standard Fiori application using Adaptation project. I extended the view and added a new section(fragment) and deployed to FLP.   How to avoid/clear duplicate ID error while navigating back from FLP and getting back into the app?

boghyon
Product and Topic Expert
Product and Topic Expert
0 Kudos

"Duplicate id" is not always caused by one specific issue. When it comes to fragments: it depends on how the fragment is created, where it's included, and whether the application follows best practices. Please share the relevant code.

View Entire Topic
SamAriekela
Explorer
0 Kudos

Thanks for the response. I am talking specifically for adaptation(extension) projects.  For example, to add a button to an object page, a fragment file is created and button control is added with stable id's . From my understanding, the fragments are loaded when the app ( variant)  is loaded . Now, how can I destroy these fragments onExit is my question I guess. I just gave an example for a button but there can be number of controls which are added as fragments. Hope I am asking it correctly.