Becci No Comments

GoldMine – Adding the Read Only User

So you’ve successfully upgraded GoldMine to the lastest 2018 version.  Everything is working except you are getting an error when trying to run a filter or query and possibly the Contact Search Center.  This is because the new versions require a read only user be added for querying the database.

Don’t worry though.  You can quickly add it to GoldMine and filters/queries will work.

To add the read only user to GoldMine:

  1. You must be logged in as a user with Master rights
  2. Navigate to Tools -> Databases -> Alias Manager
  3. Select the database you are using from the list and click Edit Alias

  1. Check the Enable SQL Queries checkbox
  2. Type “ReadOnlyUser” into the Read-Only User box
  3. Type in a password for the user. It is suggested using the same password as the SQL sa account

  1. Click OK to save
  2. GoldMine will close. Log in.
  3. Go to Filters and preview a filter to ensure it works
Becci No Comments

GoldMine – Add Holidays to the Calendar

Tired of manually adding Holidays on the GoldMine Calendar?  Maybe you would like to add employee birthdays. You can add them to the Calendar settings so they display automatically.

To add Holidays to the Calendar:

  1. Navigate to Tools -> Options
  2. Click on the Calendar tab and then click Holidays

  1. You may be asked to import a predefined set of holidays. If so, click Yes
  2. The Calendar Options dialog box opens with the Holiday tab active.
  3. From the Holiday Categories list, select the type of holidays to display. Holidays for the selected categories display in the Holidays list.

  1. Navigate to the calendar as you will see the Holidays on the date

To create a new Holiday Category:

  1. Click New in the Holiday Categories section
  2. Enter the name in the Add a Holiday Category window.
  3. Click OK. The new category adds to the list.

  1. To remove a holiday category, click on the Remove button
  2. To edit a holiday category, click on the Edit button

To add a holiday to a Category:

  1. Click New in the Holiday Section
  2. Enter the name of the holiday in the Holiday textbox
  3. Select how often the holiday repeats in the Every: x year(s)
  4. Select the number of days the holiday lasts in the # Days: field.
  5. Enter a specific date for the holiday or select the week, the day of the week, and the month in the drop-down lists.
  6. Click OK.

  1. To remove a holiday, click on the Remove button
  2. To edit a holiday, click on the Edit button
Becci No Comments

Salesforce – Viewing Data in the Developer Console

There may be times when you want to see data in its raw form and be able to query on specific criteria.  The Query Editor in the Developer Console allows you to write and execute a SOQL query on the data in your organization. The History pane displays your last 10 queries for quick reuse. Results are displayed in a Query Results grid, in which you can open, create, and update records.

To open the Developer Console from Salesforce Classic:

  1. Click Your Name.
  2. Select Developer Console.

To open the Developer Console from Lightning Experience:

  1. Click the Gear Icon.
  2. Select Developer Console.

  1. Enter a SOQL query in the Editor box or navigate to File –> Open Resource. The Open Resource window displays.
  2. Search for the object by typing in the Select an item to open box. Select the object and click the Open  For this example we will query on Account.

**BE SURE TO SELECT THE OBJECT WITH THE “.obj” EXTENTION

  1. All of the object’s fields display. Select the fields you would like displayed in the result list.  Select multiple fields by holding down the Control
  2. Click the Query button to create and add the SOQL query to the editor.
  3. Click the Execute button to run the query and see the results.

  1. Add a where clause, include more fields, etc. to the SOQL query at any time.
  2. Click on the Create New (add new record for the type of object in the query), Open Detail Page (open record in read mode), or Edit Page (open record in edit mode) to perform quick actions.

  1. To refresh the result list click the Refresh Grid
  2. To execute the SOQL query after making changes, click the Execute
Becci No Comments

Salesforce – Salesforce Lightning Object Manager

The Object Manager is the place to go to manage your standard and custom object such as custom fields, page layouts, and validation rules. If an object is included in a managed package or is for Salesforce systems, you may not be able to access those.

Standard objects such as Account or Contact come with all Salesforce organizations. A custom object is something you have created or added to manage additional items.

Here are some of the ways you can manage objects:

To open the Object Manager:

  1. Click on the Gear Icon at the top of the page and choose Setup.
  2. Click on the Object Manager The standard and custom objects are displayed in a list.

  1. Select the object you want to manage. For this example we will use the Account object.  The options for what is manageable are on the left and details will display on the right.

To manage a field in the object:

  1. Click on Fields & Relationships. All of the fields that store data for the object will be displayed.
  2. Click the New button to create a new field.
  3. Click on the Field Name to open its properties and make changes.
  4. To remove the field, select Delete from the drop-down at the end of the line.

To manage how the fields are displayed on the screen:

  1. Click on Page Layouts. All of the page layouts that have been configured are displayed.
  2. Click on the layout you want to manage.
  3. From here you can move fields around the screen, add/remove sections and related lists and much more.

To manage how your Search pages look and what functions to include:

  1. Click on Search Layouts. All of the search screens used will be displayed.
  2. Click on the drop down at the end of the row of the layout you want to manage and choose Edit.

  1. From the Edit Search Layout page you can choose what fields will be displayed in the search result list.

Becci No Comments

Salesforce – Delete Records in Mass

There are times when you may need to delete records in mass.  Maybe an import was done or a mass update and you want to remove any records created.  This is also helpful during migrations.

The record types you can mass-delete include cases, solutions, accounts, contacts, leads, products, and activities.

Here are some ways that mass delete is handy.

  • You’ve identified multiple reports that are no longer used and you want to unclutter the list of reports on the Reports tab.
  • You imported your leads incorrectly and you want to start over.
  • You want to clean up web-generated leads that were created incorrectly or delete accounts and contacts with which you no longer do business.

To Mass Delete Records:

Make sure you have a backup of your data or do a quick export before performing the mass delete.

Run a SOQL query in Developer Console or a Report to view the records you will be deleting and get a record count.

  1. From Setup, enter Mass Delete Records in the Quick Find box, and then select Mass Delete Records.

  1. Click on the link for the type of record to delete. For this example we will use Activities.
  2. In Step 3 of the Mass Delete screen, add the criteria for the records to remove. For example:  Activities created today, Accounts in Texas, Open cases older than 2 years.  The below image shows we are deleting activities that were created by ‘bgear’ AND created Today AND is a Task.

  1. To find records that match the filter, click the Search The result list will display at the bottom of the page.
  2. Review the items to be sure you recognize them and that the filter is correct. If there are more than 250 records, you will be alerted that there are more records in the results.
  3. Check the box next to the items you want to delete. To select all currently displayed items, check the box in the Column Header.
  4. To permanently delete records, select Permanently delete the selected records.

** SELECTING THIS OPTION PREVENTS YOU FROM RECOVERING THE SELECTED RECORDS FROM THE RECYCLE BIN.

  1. Click the Delete button. If you did not select Permanently delete the selected records, deleted items are moved to the Recycle Bin.
  2. If you have deleted all of the records in the list, it will be blank. If you have more records to delete, repeat steps 7 – 10 until all records are removed.

 

 

 

Becci No Comments

GoldMine – Restoring the GoldMine Database

As the GoldMine Administrator you may need to restore the GoldMine database after making changes, running updates, etc.

To Restore a SQL Database:

  1. Open SQL Server Management Studio.
  2. Connect to SQL Server.

The server name should be the LOCALMACHINENAME\INSTANCENAME

Authentication:  SQL Server Authentication

Login: sa username

Password: sa password

  1. Click the Connect
  2. Right-click the Databases section and choose Restore Databases. The Restore Database – GoldMine window opens.

  1. Select Device and click on the Browse button (…).
  2. Navigate to the folder location of the backup file. (e.g., C:\GoldMIne\Backup) on the left and select the .bak file to restore on the right.

  1. Click OK.
  2. Select the backup file and then click OK
  3. The Restore Database window will load the files names and locations.
  4. CHANGE THE DATABASE name to GoldMine_Restore.
    1. If you do not change the name it will overwrite your current data

  1. The location/file path will display in the list. Click on it to select.
  2. Click the OK button at the bottom of the window. The restore will begin.  If the OK button is not enabled, click on the Verify Backup Media.  The OK button will then be enabled.
  3. Progress will be displayed at the top of the window.
  4. When the backup is done a message will display.

  1. Click OK and the windows will close.
  2. The database name (e.g, GoldMine) will be added to the Databases list on the left. The data files are now connected from the SQL Server and can used in applications and queries.
  3. If you don’t see the database name in the list and you did not receive an error, right-click on the Databases section and choose Refresh.
Becci No Comments

GoldMine – Detach and Attach the GoldMine Database

As the GoldMine Administrator there may be times when you need to detach and/or attach the GoldMine database.  Some examples would be to move or copy the files, remove or add a restored database or when connecting other databased to the SQL Server.

To Detach a SQL Database:

  1. EVERYONE MUST BE LOGGED OUT OF GOLDMINE.
  2. Open SQL Server Management Studio.
  3. Connect to SQL Server.

The server name should be the LOCALMACHINENAME\INSTANCENAME

Authentication:  SQL Server Authentication

Login: sa username

Password: sa password

  1. Click the Connect
  2. Expand the Databases section in the Object Explorer on the left.
  3. Right-click on the database to detach and choose Tasks –> Detach. The Detach Database window opens.

  1. If there is a message that there are still active connections, check the box under Drop Connections.

  1. Click OK to detach the database.
  2. The database name (e.g, GoldMine) will be removed from the Databases list on the left. The data files are now disconnected from the SQL Server and can me moved, copied, etc.

To Attach a SQL Database:

  1. Open SQL Server Management Studio.
  2. Connect to SQL Server.

The server name should be the LOCALMACHINENAME\INSTANCENAME

Authentication:  SQL Server Authentication

Login: sa username

Password: sa password

  1. Click the Connect
  2. Right-click on the Databases section in the Object Explorer on the left and choose Attach. The Detach Database window will open.

  1. Click the Add The Locate Database Files window opens.
  2. Navigate to the folder the backup is in on the left and select the actual backup file on the right.

  1. The database will display under Databases to attach and the file details will display in the lower section. Click OK to attach the database.
  2. The database name (e.g, GoldMine) will be added to the Databases list on the left. The data files are now connected from the SQL Server and can used in applications and queries.
  3. If you don’t see the database name in the list and you did not receive an error, right-click on the Databases section and choose Refresh.
Becci No Comments

GoldMine – Backing Up the GoldMine Database

Before you make changes to the GoldMine database such as importing records, doing multiple merge purge actions, or global replaces, a quick backup of the can be a life saver.  Backing up the database will also be needed if you are moving the server or saving archives.

To back up the GoldMine database:

  1. Open SQL Server Management Studio.
  2. Connect to SQL Server.

The server name should be the LOCALMACHINENAME\INSTANCENAME

Authentication:  SQL Server Authentication

Login: sa username

Password: sa password

  1. Click the Connect
  2. Expand Databases on the left and right click on GoldMine. Choose Tasks –> Back Up.  The Back Up Database – GoldMine window opens.

Database:  GoldMine

Recovery Model:  SIMPLE

Backup Type:  Full

Backup component:  Database

Back up to:  Disk

If a database location is displayed, select it and click the Remove button.

Click the Add Button and then click the Browse (…) button to navigate to the location you want to store the backup file. (e.g., C:\GoldMIne\Backup).

Enter a File name:  e.g., GoldMineBackup5-8-19.bak

  1. Click
  2. The location/file path will display in the list. Click on it to select.
  3. Click the OK button at the bottom of the window. The backup will begin.
  4. Progress will be displayed in the bottom left of the window under Progress.
  5. When the backup is done a message will display.

  1. Click OK and the windows will close.