2025-07-18 - Frontend url Link Construction
Jump to navigation
Jump to search
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
Another example is building urls in menuConfig.
example urlConfig
{
baseUrl: "xxx", // how to do routes within application?
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"
}
}