Newer Version Available

This content describes an older version of this product. View Latest

ObjectRelatedUrl (Pilot)

Represents a URL slug for a Product or Category page on a B2B Commerce or B2B2C Commerce LWR site. This object is available in API version 57.0 and later.

This feature is not generally available and is being piloted with certain Customers subject to additional terms and conditions. It is not part of your purchased Services. This feature is subject to change, may be discontinued with no notice at any time in SFDC’s sole discretion, and SFDC may never make this feature generally available. Make your purchase decisions only on the basis of generally available products and features. This feature is made available on an AS IS basis and use of this feature is at your sole risk.

Note

Supported Calls

create(), delete(), describeSObjects(), getDeleted(), getUpdated(), query(), undelete(), update(), upsert()

Special Access Rules

To access this object, contact Salesforce to participate in the pilot program. Your org must have B2B Commerce or B2B2C Commerce license enabled. ObjectRelatedUrl is available for Product2 and ProductCategory records.

Fields

Field Details
LanguageCode
Type
string
Properties
Create, Filter, Group, Sort, Update
Description
Required. The combined language and locale ISO code, which controls the language of the object-related URL. The maximum length is 8 characters.
Name
Type
string
Properties
Autonumber, Defaulted on create, Filter, idLookup, Sort
Description
The name of the object-related URL. This field isn’t editable.
ParentId
Type
reference
Properties
Create, Filter, Group, Sort, Update
Description
Required. The ID of the parent record that the UrlName refers to. ParentId can point only to Product2 and ProductCategory records, which are enabled for your org with the required permissions as part of the pilot program.
This field is a polymorphic relationship field.
Relationship Name
Parent
Relationship Type
Lookup
Refers To
Product2, ProductCategory
Scope
Type
string
Properties
Create, Filter, Group, Sort, Update
Description
Required. Helps ensure uniqueness of the UrlName field across all records with the same Scope and LanguageCode values. The maximum length is 18 characters.
UniqueIndex
Type
string
Properties
Filter, idLookup, Nillable, Sort
Description
Ensures uniqueness for each record within your org and creates an index for lookup. This field isn’t editable.
This field is a calculated field.
UrlName
Type
string
Properties
Create, Filter, Group, Sort, Update
Description
Required. The URL slug for the record.