ID Property
Last updated
Last updated
The ID Property gives an ID to the block if you wish to give it a specific name in order to target it more easily (for example to connect it to a modal).
By default the Block ID is indexed relative to the number of blocks on the page.
Open the Components Properties modal by clicking the "+" icon in the Block Inspector.
Select the ID Property you wish to configure.
The ID Property needs to be connected for it to be applied to the canvas.
You need to select "Modify" in the Toolbar or Block Inspector for the blocks that make up a particular component to be visible.
Select the Component to which you want to connect the ID Property.
Select "Modify" in the toolbar or the Block Inspector.
The blocks contained in the component are now visible in the navigator.
Find and select the block to which you wish to connect an ID Component Property.
In the Components tab of the Primary tab, find ID.
Click the ID Content field to open the Component Properties modal.
Select the ID property you wish to connect.
Click the Connect button.
The ID Property will be visible in green in the Block Inspector.
To customise the ID Property, make sure that Customise is selected in the Tool Bar.
Select required Component in the navigator.
In the Block Inspector, input a suitable name in the ID field
Allows you to label the selected ID property.
Open the Component Properties modal.
Select required ID property.
Input suitable label to Name field.
Ensures that suitable alternative text appears in the ID field of the block inspector if the ID field has been cleared or is empty.
Open the Components Properties.
Select required ID property.
Open Settings tab.
Input suitable text to Placeholder field such as "Enter ID".
The Placeholder text will now appear in the ID field of the Block Inspector.
The Auto Generate property, when enabled, will automatically choose a name for your ID.
In the Components Properties modal, Toggle on/off Auto Generate as required.
The Auto Generated ID will now be visible in the Block Inspector ID field.
If the Auto Generated ID is not acceptable, click the Reset button to the left of the ID label. This will Auto Generate a new ID.
With the required component selected, n the Block Inspector, find the ID and click the Reset button to generate a new ID.
The Simple Type property allows you to input static data.
Open the Components Properties.
Select required ID property.
Open Settings tab.
Select Simple as Type.
The simple (static) data will now look something like this.
The Advanced Type property allows you to input dynamic or static data as required.
Open the Components Properties modal.
Select required ID property.
Open Settings tab.
Select Advanced as Type.
Make sure you are in Customise.
In the Block Inspector, click the Dynamic icon next to ID label.
This opens the Dynamic modal.
Fill in the dynamic data fields.