Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
InfoWhen 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

Overview

If you have created or refreshed a sandbox based on your production environment where Booker25 is installed, the configuration will probably not have copied over correctly. This goes for all sandboxes except Full Copy sandboxes. This article explains the steps you need to take in order to reset configuration to the defaults, as if Booker25 was just installed.

Considerations

Warning

This process will delete all records of Booker25 objects! Only perform this operation if you don't the org does not have any data in Booker25 objects that you want to preserve.

The list of objects that will be deleted:

  • B25__Reservation__c
  • B25__ReservationContact__c
  • B25__Service_Reservation__c
  • B25__Recurring_Reservation__c
  • B25__Service_Type__c
  • B25__Service__c
  • B25__Service_Availability__c
  • B25__Reservation_Color__c
  • B25__Reservation_Type__c
  • B25__Dimension_Junction_display_Setting__c
  • B25__Calendar__c
  • B25__Calendar_View__c
  • B25__Reservation_Type__c
  • B25__Filterable_Field__c
  • B25__User_Setting__c
  • B25__View__c
  • B25__Time_Header__c
  • B25__Dimension__c
  • B25__Dimension_Field__c
  • B25__Dimension_junction__c
  • B25__Reservation_Display_Context__c
  • B25__Hover_Field__c
  • B25__Related_List_Field__c
  • B25__Related_List__c
  • B25__Reservation_Display__c
  • B25__Reservation_Title__c
  • B25__Reservation_Title_Group__c
  • B25__Availability__c
  • B25__Group_Membership__c
  • B25__Group__c
  • B25__Staff__c
  • B25__Resource_Grouping__c
  • B25__Timeframe__c
  • B25__Resource__c
  • B25__ResourceLayouts__c
  • B25__Resource_Type__c
  • B25__Abr_Queue_Item__c
  • B25__FieldAssignment__c
  • B25__AutomatedBookingRule__c
  • B25__ABRLocations__c
  • B25__Reservation_Status__c
  • B25__Custom_Buttons__c
  • B25__System_Setting__c
  • B25__Booker25_Settings__c
  • Any custom objects that you may have created, and that are details of any of the above objects in a Master-Detail relationship

Steps to perform

  1. Go to Setup > Custom Settings
  2. Click Manage next to System Setting with B25 in the Namespace Prefix column
  3. Click New
  4. Fill in Name field as follows: 'removeAllBooker25Data'
  5. Fill in the String Value as follows 'Yes, I want to remove all Booker25 data'
  6. Click Save
  7. Click on the wheel in the top right and then Developer Console



  8. In the new window, click Debug in the menu bar
  9. Click Open Execute Anonymous Window
  10. Copy and remove any existing text that may be there and save it somewhere, so it can be accessed again later if required
  11. Paste B25.Util_SandboxSetup.removeAllBooker25Data(); and press the Execute button
  12. Remove the previous line, paste B25.Util_PostInstall.doFreshInstall(); and press Execute
  13. You have now successfully performed a fresh Booker25 install

Related articles

Filter by label (Content by label)
showLabelsfalse
max5
spacescom.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@101b6
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel = "kb-how-to-article" and type = "page" and space = "BPD"
labelskb-how-to-article

Page Properties
hiddentrue


Related issues




Panel
titleOn this page

Table of Contents