Technical Articles
Check if the Fiori App has used Stable Id’s
While working with custom programs, if we do not define the Id for any component or a control then at the run time the id’s get generated automatically. But for different instantiations of the same program these generated Id’s can be different . Which can cause issues during the UI adaptability . So we need to have stable ids.
To check if a SAP UI5 program has the stable Id’s or not follow the following process :
- Run the Application
- Press Ctrl + Shift +Alt + P , this will open the following dialog box
- Click on the Activate Support Assistant
- It will open the support assistant
- Now in the left table deselect the rules
- Filter the rules with text – stable
- Select the rule
- Click Analyze
- It will show the 3 views – The left most view will show the issue, the middle one will show the issue description and its resolution and the third view is the UI Control tree.If there is no issue the left most view will be blank.
- We can also select the multiple view at a time and analyse them
Or we can select all the rules and click on Click Analyze
By using the above process , we can check the issue for any available rules. But If required additional rules can also be created and tested.
More information can be find out at SAPUI5 Documentation.
Hi Vishal,
Thanks for this blog. It seems though that you did not indicate how to find the stable ID of an app but just checking if there is an issue. How do you find if the app is using a stable ID or not.
Thanks