BCL icon

BCL

Consume BCL Payment API

Form → Update Homepage Display

AI-generated

Overview

This node operation updates the homepage display setting of a specific form in the BCL system. It allows users to specify whether a form should be shown on the homepage by toggling the 'Show On Homepage' boolean property. This is useful for managing the visibility of forms on the homepage dynamically, such as promoting certain forms or hiding others based on business needs.

Use Case Examples

  1. A marketing team wants to feature a new promotional form on the homepage. They use this node to set 'Show On Homepage' to true for that form.
  2. An admin wants to temporarily hide a form from the homepage without deleting it. They set 'Show On Homepage' to false using this node.

Properties

Name Meaning
Form ID The unique identifier of the form to update. This is required to specify which form's homepage display setting will be changed.
Show On Homepage A boolean flag indicating whether the form should be displayed on the homepage. True means the form will be shown; false means it will be hidden.

Output

JSON

  • json - The JSON response from the BCL API after updating the form's homepage display setting, typically containing the updated form data or status confirmation.

Dependencies

  • Requires an API token credential for the BCL API to authenticate requests.

Troubleshooting

  • Authentication errors may occur if the API token is invalid or expired. Verify and update the API token in the node credentials.
  • Validation errors can happen if the Form ID is missing or invalid, or if the 'Show On Homepage' value is not properly set. Ensure all required fields are correctly provided.
  • API errors such as 400 (Bad Request), 403 (Forbidden), 404 (Not Found), or 500 (Server Error) may be returned by the BCL API. Review the error message for details and check the API documentation or server status.

Discussion