When changing an Experience Cloud Site Navigation tab type from Salesforce object to Site Page, an error can be received:
The URL for (Insert Object) requires one or more parameters. Please replace each parameter with the appropriate value.
Under the URL section you may also notice the message:
Please replace the parameters in the url of the page you selected. Parameters start with ":" and point to specific data. For example, :recordId.
This error appears in Experience Builder when the Navigation menu item's URL still contains colon-prefixed parameter placeholders (such as :recordId), which were auto-populated when the tab type was a Salesforce object. When switching to a Site Page tab type, these dynamic parameter placeholders must be replaced with static values or removed entirely.
This error occurs because the Experience Cloud Navigation menu tab is pointing to a URL that contains colon-prefixed parameters (such as :recordId), which are placeholders that require actual data values to be substituted at runtime. When you switch the tab type from a Salesforce object to a Site Page, these parameter placeholders are no longer valid and must be removed or replaced with a static URL path.
To resolve the error, remove the colon symbol from the URL and replace it with a valid static path, then republish the site.
Example — Before (causes error):/profile/:recordId
Example — After (resolves error):/profile/home
Additional valid static URL examples:
profile/home — directs to the user's profile home pagedetail/0060o00001DQvs2AAD — directs to a specific record detail page (replace the ID with a real record ID from your org)After updating the URL, click Publish in Experience Builder to apply the change. The error message will no longer display once the colon symbols have been removed from the URL.
Visit the Experience Cloud Trailblazer Community here to see more examples and to post your URL issue.
000387082

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.