Skip to main content

Overview

Set up the Subscription Hub by placing its components on your portal pages and configuring each subscription product’s visibility and management controls. The hub and its companions are unmanaged Portal Components — clone a component before changing its code so a package upgrade does not overwrite your edits.

Add the Subscription Hub to a Portal Page

1

Place the hub component

On your subscriptions page, drag and drop the FS Portal - Subscription Hub component (and, if you want a highlighted card, FS Portal - Subscription Hub Featured) onto the page.
The FS Portal - Subscription Hub component placed on a portal page

The Subscription Hub component on a portal page

2

Set the required page URLs

On the FS Portal - Subscription Hub component, set all three page-URL properties. Point each one at the portal page that hosts the matching component.
All three URLs are required and default to /. Manage Page URL left at / sends the member to the site root with no error. Either renew URL left at / makes the hub hide the Renew button for the subscriptions that would route there — members see no way to renew at all.
3

Add the manage and benefits pages

Create a page for managing subscriptions (for example, Manage Subscription) and drop the FS Portal - Manage Subscription, FS Portal - Subscription Card, and FS Portal - Subscription Benefit Allocation Tile components onto it. On the FS Portal - Manage Subscription component, fill out the paths for Cancel Subscription, Renew Subscription, and Renewal Options (renewalOptionsURL) — the Renew Now button inside Manage Subscription routes to the same two destinations the hub does. On the FS Portal - Subscription Benefit Allocation Tile, set Allocate Contacts URL to your Manage Benefits page and choose a field set for Add Contact.
The FS Portal - Manage Subscription component with Cancel and Renew paths set

The Manage Subscription component properties

The FS Portal - Subscription Benefit Allocation Tile with Allocate Contacts URL set

The Subscription Benefit Allocation Tile properties

4

Publish

Click Publish to make your changes live.

Configure Subscriptions for the Hub

On each subscription Product2 record, set the visibility and management controls in the Subscription Configuration section.
Renew X Days Before Expiry and Renew X Days After Expiry can be safely ignored when Renew Anytime is checked.
Together these three fields drive Is Within Renewal Time Frame (FS_PORTAL_Is_Within_Renewal_Time_Frame__c), a formula checkbox on the Purchase Activity that is the single gate on whether the hub offers Renew. It is also false when the subscription is cancelled or its product is flagged Is Not Renewable (FCORE_MEM__Is_Not_Renewable__c).
This portal renewal window is separate from the subscription plan’s Renewal Days (FCORE_MEM__Renewal_Days__c), which governs the nightly renewal batch job. A subscription can be inside one window and outside the other.

Limitations and Common Pitfalls

  • Empty Subscription Visibility hides a subscription entirely — even from the contact who owns it. Set FS_PORTAL_Subscription_Visibility__c on each subscription product, or it never appears in the hub.
  • The three page URLs are required and default to /. Left at /, the Manage link resolves to the site root with no error, and either unset renew URL makes the hub hide the Renew button for the subscriptions that would route to it — set all three to the real pages.
  • Renewal Options is easy to miss on Manage Subscription. Set it there as well as on the hub, or Renew Now vanishes from the Manage Subscription view for subscriptions with no renewal Order yet.
  • Visibility is not management. A contact who can see a subscription still cannot act on it unless their role is in FS_PORTAL_Manage_Subscription__c.
  • Only subscription Purchase Activities appear (FCORE_MEM__Is_Subscription__c = TRUE); non-subscription purchases never show in the hub.