Link Data Field

The Link Data Field is a field which generates a button that links to another bloc. It also passes data to this other bloc through the url. This is a useful way of loading blocs straight from the data results and passing in data to the bloc you are about to load.

This might be used in a situation where you want to load information about a certain company. By passing in the company name, and setting the Filtered Field parameter, the data in the destination bloc will load just that companies data.

The button can appear either in the form, or in the results. The resulting url may look like the following: https://example.blocworx.com/module/odm-app/bloc/1234?urlFieldSlugData={"company_name":"Blocworx"} (note that this may appear as the following in the url bar: https://example.blocworx.com/module/odm-app/bloc/1234?urlFieldSlugData=%7B%22company_name%22%3A%22Blocworx%22%7D but is still correct)

In the above example the value of a field called Company Name is being passed into the url.

The resulting url may also be a custom url with normal parameters being added, e.g. https://www.example.com?company_name=Blocworx

Again in that example the field calledd Company Name is being passed in.

Initial Field Parameters

Last updated