Skip to main content

Pass widget parameters via URL

Written by Inseanq Support Team
Updated over 10 months ago

To enhance the user experience you can pass the parameters for widget via URl to filter the data and show the most relevant results.

The numbers in brackets [0, 1, 2, ...] should increase if objects has been added.

Default Widget State

Vessel added

bti[0]=367 where 0 is the number of object of the same type in URL and 367 is ID of the vessel

Two vessels added

Start date

YYY-MM-DD - start date format

Product

pci[0]=3 where 0 is the number of object of the same type in URL and 3 is ID of the product

Departure port

pid[0]=63 where 0 is the number of object of the same type in URL and 63 is ID of the port

Country

cnr[0]=3904 where 0 is the number of object of the same type in URL and 3904 is ID of the country

Destination

dnn[0]=16 where 0 is the number of object of the same type in URL and 16 is ID of the destination

Did this answer your question?