context.signUrl(url, args) - Accepts a URL (relative or absolute) and prepares this URL (by adding necessary values to the URL hash) to initialize it when opening an iframe.
| argument | Type | Description |
|---|---|---|
| urlrequired | string | String to prepare |
| args | object | This object will be passed to the iframe, and the values of this object can be obtained from the iframe using the function "iframe.arg(key)" |
Return value - String
Example :
'card_body_section': (bodySectionContext) => {
return [{
title: '📝 Timer logs',
content: {
type: 'iframe',
url: bodySectionContext.signUrl('./timeLogs.html'),
height: 200,
}
}]
},