Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Info |
---|
When creating a Sandbox (this goes for all Sandboxes, except Full Sandbox) from a Production environment that has Booker25 installed, it is likely that Booker25 will not function correctly on this Sandbox. This is due to the fact that Booker25 uses Salesforce records to store its configuration and Resource (Type) tree, which do not get copied when creating a Sandbox other than Full Sandbox. When this happens you can use two Global Booker25 methods to first remove all Booker25 records that may have been created on the Sandbox (in case of Partial Sandbox for example) and then perform the setup that runs when Booker25 is first installed. |
Considerations
Warning |
---|
This process will delete all records of Booker25 objects! Only perform this operation if you don't have any data in Booker25 objects that you want to preserve. The list of objects that will be deleted:
|
Steps to perform
- Create a Booker25 System Setting with the name 'removeAllBooker25Data' and String value Go to Setup > Custom Settings
- Click Manage next to System Setting with B25 in the Namespace Prefix column
- Click New
- Fill in Name field as follows: 'removeAllBooker25Data'
- Fill in the String Value as follows 'Yes, I want to remove all Booker25 data'Call the global method
- Click Save
- Click on the wheel in the top right and then Developer Console
Image Added - In the new window, click Debug in the menu bar
- Click Open Execute Anonymous Window
- Copy and remove any existing text that may be there and save it somewhere, so it can be accessed again later if required
- Paste B25.Util_SandboxSetup.removeAllBooker25Data();Call the global method and press the Execute button
- Remove the previous line, paste B25.Util_PostInstall.doFreshInstall(); and press Execute
- You have now successfully performed a fresh Booker25 install
Related articles
Filter by label (Content by label) | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Page Properties | ||
---|---|---|
| ||
|
Panel | ||
---|---|---|
| ||
|