2025-07-18 - Frontend url Link Construction
Overview
Way of configuring and building links for ui outputs that link to urls. Search parameters and path components may come from variables.
An example use is in table output records where links might direct to urls that need to include identifier field from the record in the url
example urlConfig
{
baseUrl: "xxx",
pathComponents: [
{
type: "string",
string: "xxx"
},
{
type: "variable",
// not sure how data will be structured
objType: {
//..
},
fieldname: "xxx"
},
// ...
],
searchParams: [
{
type: "string",
string: "xxx"
},
{
type: "variable",
// not sure how data will be structured
objType: {
//..
},
fieldname: "xxx"
},
// ...
],
hash: {
type: "string",
string: "xxx"
}
}