Other OutSystems sites...
OutSystems Website
About Agility Blog
OutSystems Network
Login
Signup
Forums
Academy
Forge
Ideas
Forums
›
Guides & How-tos
›
Deleting OutSystems Apps Sample Data
Deleting OutSystems Apps Sample Data
Vasco Pessanha
Rank: #290
Posted on 2012-05-24
thumbs_up_ico
5
thumbs_down_ico
0
reply
post_link_ico
Hello,
OutSystems has several applications that can be installed in user sandboxes (or local servers), and that share common data. This shared data is stored in two “special” applications called “CRM Services” and “Internet Services”.
In order to delete an application’s sample data, you have to go to that application’s back office, usually visible in the “import your own data” link, and click in the “Delete All Data” button.
This action not only
deletes the application’s private data
but also
tries to delete the shared data of the common lower-level applications
(CRM Services and Internet Services).
Please note that, since this common data is shared by more than one application, it is possible that it cannot be deleted causing the user to get a warning message:
Therefore, in order to delete shared data such as “Employees” we have to delete the sample data of all (!) applications that use it.
As an example, let’s consider that we install both the “Directory” and “Vacations” applications that share data from “Internet Services”. If we delete the Directory data, local (and private) data such as employee pictures will be deleted but we will not be able to delete shared data because it is being used by the Vacations application. Only when we then decide to delete Vacations sample data, all this shared information (that is finally not being used anywhere) will be permanently deleted.
Please Note
: this process will only work if no application customization is done. If you create a new entity that references these application entities, you will not be able to automatically delete those application’s sample data due to the new DB constraints. Moreover, if additional data attributes are added to the stock applications’ entities, the data in these attributes will also be removed when dropping the sample data.
Best Regards,
Vasco Pessanha
Quick Reply
Notify me by email when someone answers to my post
attachment
Choose File
No file chosen
Submit
Login to reply
Something on your mind?
Login to Start a Discussion
Top Forums Posters
Gonçalo Martins
Davide Marquês
Ricardo Silva
Statler & Waldorf
Charles Colaço
Richard Pearson
Fábio Silva
Justin James
Robert Chanphakeo
Kilian Hekhuis
See leaderboard
Online Training
On-demand video lessons to help you learn at your own pace.
Learn More