Skip to Content

How to Restore UIcomponent in Cloud Application Studio?

Hi experts,

I deleted an embedded component (EC) from the Project Explorer in Cloud Application Studio by mistake, but I saved the XML code.

Now, my question is, how is it possible to restore the EC, using the saved XML code, to avoid the time consuming process of redoing all configurations/ developments manually. If I paste the XML into the EC-file within the solution copy on my hard drive this file seems to be not considered. Opening the EC in the UIDesigner shows the previous empty EC.

My idea was to paste the XML into the EC-file on the local hard drive and activate this file - but for some reason this file is not opened when clicking in the CAS. I assume either the online version from the cloud is directly opened or there must be an other hidden repository, which is used instead.?

Please tell me how to restore the EC - it would save much time, if it is possible to recreate the EC without doing all steps manually once again.

Best regards,

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Jan 08, 2018 at 05:49 AM

    Hi Patrric,

    There is no option from a Partner side to restore a deleted UI Component. You can create a ticket on AP-RC-BDS-UI with all the details of solution, system and the EC name. We will check in backend if it can be restored or not. Also attach the xml if you can.

    If this can not be done then the last option is to recreate another EC and do the same modeling as stored in the xml which you have.


    Kushal Gupta

    Add comment
    10|10000 characters needed characters exceeded

    • Hello Kushal Gupta,

      I created an incident at SAP and provided all information, including the xml-code of the uicomponent.

      Unfortunately I had to manually recreate everything though, which is time consuming and annoying, especially considering the fact, that I could save the xml representation of the uicomponent. With a proper versioning system it would be even possible to restore the deleted file itself...

      Another disadvantage is, that it is not possible to manually fill in the code into the file in the locally (on the hard disc) stored solution and to activate this file, instead of the one from the online repository. This local one is simply not considered by Cloud Application Studio.

      To make a long story short: Once you need a deleted file again, you have to manually recreate it from scratch :-(

      Best regards,

  • Jan 08, 2018 at 02:34 AM

    Dear Patric,

    Once its deleted, i am not sure you can restore it from XML. However, I am cross checking with our UI experts and checking if any feasible solution still exist.



    Add comment
    10|10000 characters needed characters exceeded

  • Nov 21, 2018 at 10:02 AM

    Hi ,

    I second this question. Is there a way to restore ECs from their XML files? In my case I didn't accidentally deleted them, it was the Cloud studio that crashed and while trying to recover from the onslaught of errors, by doing Refresh/Clean solution, it managed to delete the ECs.

    I have raised a ticket and provided all the information, including the files. Is there anything I can do from my end? I have tried putting these files in the folder structure that the Studio creates but these made no change.

    Thank you very much.

    Kind regards,


    Add comment
    10|10000 characters needed characters exceeded

    • Hi Tiago,

      @SAP unfortunately there is still no proper source code versioning included into Cloud Application Studio (CAS). To me this is a major issue. It cannot be that complicate, as all files are saved as sort of txt or xml, which is easy to manage for current source code versioning tools.

      In the UI Designer you have at least the possibility to switch between formerly saved versions.
      But I did not check yet, if this is also possible after CAS crash...

      Best regards,