Skip to main content

Migrate to the new Collaborator Portal

This step-by-step guide supports organizations moving from the legacy portal to the Salesforce Experience Cloud Collaborator Portal in Scientific Publications Cloud. It covers how to set up Experience Builder, configure the site’s password page, and configure correct Apex access for guest users so that login and password reset work smoothly from start to finish.

Implementation checklist

Follow the steps given below:

1. Set up the home page (Experience Builder)

  1. In SetupAll Sites, open the Builder for the SPC Collaborator Portal. All Sites

  2. In Experience Builder, open the Home page. Home page

2. Publish the site

  1. In Experience Builder, Publish the experience. Publish site This makes sure that administration changes and login settings apply to the live site.

3. Set the Change Password page (Site Details)

  1. In Setup, → All Sites, open Workspaces for the SPC Collaborator Portal. Workspaces

  2. Open Administration. Administration

  3. Navigate to PagesAdvanced Customization and click Go to Force.com to open Site Details for the site behind the experience. Force Page

  4. Click Edit.

  5. In the Change Password Page, select PP_SetPassword (or the namespaced equivalent mvn.PP_SetPassword, if your org uses a managed package namespace). Change Password Page

  6. Save.

4. Enable Visualforce page access for the site

  1. Still under Site Details for the SPC Collaborator Portal, navigate to Enable Visualforce Page Access (or Site Visualforce Pages, depending on UI labels). Site Visualforce Pages

  2. Click Edit and add PP_SetPassword. SetPassword

  3. Save.

5. Guest user profile: Apex class access (and optional debug logging)

  1. In Setup, go to Debug Logs → New. Debug Logs

  2. Configure the following settings: New Trace Flag

    • Traced Entity Type: "User"
    • Traced Entity Name: "SPC Collaborator Portal Site Guest User" (or the equivalent site guest user for your portal)
    • Debug Level: Choose any
    • Save
  3. In the Debug Logs list (or from the user lookup), open the site guest user record (for example, the record with Name: Site Guest User, SPC Collaborator Portal). Debug Logs List

  4. Open the Profile: SPC Collaborator Portal Profile assigned to that guest user. SPC Collaborator Portal Profile

  5. Under Enabled Apex Class Access, enable: Enabled Apex Class Access

    • PP_PortalSetPasswordController
    • PP_PortalForgotPasswordController
    • mvn.PP_PortalLoginController
    • PP_Application
    • PP_PortalAuthenticationService

    Remove or adjust the debug log when you are finished troubleshooting, if you no longer need tracing.

6. Login & Registration (after the portal is published)

  1. In Setup, → All Sites, open Workspaces for the SPC Collaborator Portal. Workspaces

  2. Open Administration. Administration

  3. Navigate to Login & Registration and configure the following settings: Login & Registration

    • Login Page Type: Experience Builder Pagelogin
    • Forgot Password: Experience Builder PageForgot Password
    • Reset Password: Visualforce PagePP_SetPassword
    • Save.

7. Verify end to end

In a sandbox (recommended):

  1. Run the full forgot password flow and open the link from the email. Confirm that it loads the PP_SetPassword Visualforce experience.

  2. Confirm that any password requirements banner matches the org policy; when Salesforce surfaces policy text for your site.

  3. Save the new password and confirm that the user can log in.

8. Configure URL path for the new portal

After verifying the new SPC Collaborator Portal works correctly, you need to decide how users will access it. Choose one of the following approaches based on your organization's needs:

If you're fully retiring the legacy portal, the simplest approach is to have the new portal take over the root path:

  1. Deactivate the old portal:

    1. In Setup, → All Sites, find your legacy portal (currently at /) and open Workspaces. Amplify workspace

    2. Open Administration. CP - Administration

    3. Click Deactivate it make it Inactive. Deactivate

  2. Update the new portal's URL path:

    1. In Setup, → All Sites, open Workspaces for the SPC Collaborator Portal. Workspaces

    2. Open Administration. Administration

    3. Navigate to PagesAdvanced Customizations and click Go to Force.com to open Site Details. Force Page

    4. Navigate to Custom URLs. Click Edit next to the available custom URL. Change the Path from spc to / (root). Custom URLs

    5. Save and re-publish the experience.

Users accessing your domain will now land directly on the new SPC portal without any redirects.

Option B: Add a redirect from the old portal to the new one

If you need to maintain the old portal URL temporarily (for bookmarks, communications already sent, etc.):

  1. Create a redirect Visualforce page:

    1. In SetupVisualforce Pages, click New. New Visualforce page

    2. Configure the following:

      • Name: RedirectToSPC

      • In Visualforce Markup, paste the following code:

        <apex:page showHeader="false" sidebar="false" standardStylesheets="false">
        <script>window.location.replace('/spc');</script>
        <meta http-equiv="refresh" content="0; url=/spc" />
        <noscript>
        <p>Redirecting to the new portal... <a href="/spc">Click here if you are not redirected automatically</a></p>
        </noscript>
        </apex:page>
    3. Save.

  2. Configure the legacy site at / to use the redirect page:

    1. In Setup, → All Sites, open Workspaces for the legacy Experience site whose path is / (often the retiring Amplify-bridge site). Amplify workspace

    2. Open Administration. Administration

    3. Navigate to PagesAdvanced Customizations and click Go to Force.com to open Site Details. Force Page

    4. Set Active Site Home Page to RedirectToSPC and Save. Active Site Home Page

  3. Enable Visualforce access:

    1. On the same Site Details page, open Public Access Settings Public Access Settings

    2. Navigate to Enabled Visualforce Page Access. Add RedirectToSPC and Save. Enabled Visualforce Page Access

Now anyone accessing / will be automatically redirected to /spc.

Option C: Create your own custom domain in Salesforce

important

As part of this migration, Amplify will no longer host \*.pubs.komodohealth.com domains that redirect to your portal. You will need to create and manage your own custom domain.

  1. Set up a custom domain in Salesforce:

    1. In SetupCustom URLs, click New Custom URL to create a custom domain.
      New Custom URL

    2. Follow Salesforce's domain verification process (add DNS records and verify ownership).

    3. Associate the domain with your SPC Collaborator Portal site.

  2. Update DNS records:

    1. Configure your DNS provider to point your custom domain to Salesforce.

    2. Follow the specific DNS values provided during the Salesforce domain setup.

  3. Update communications:

    • Replace all references to your old \*.pubs.komodohealth.com URL with your new custom domain.
note

Custom domains cannot be created in scratch orgs, but this functionality is available in production orgs and full sandboxes.

Option D: Amplify-managed redirect (transitional support)

During the migration period, Amplify can configure redirect rules from your existing \*.pubs.komodohealth.com domain to your new custom domain. This ensures a smooth transition for users with bookmarked links or saved URLs.