Aly
04/14/2025, 7:04 PMCeligo AI
04/14/2025, 7:04 PMAI generated answer (using internal Slack threads):Based on the conversations, it is possible to mimic a 'Status' banner on a custom record similar to the one you see on a vendor bill. You can achieve this by using a custom client script or a User Event script. Here is a sample code provided in the conversation using a custom client script:
javascript
jQuery(function () {
jQuery('.uir-record-name')
.parent()
.append(
jQuery('<div>', {
class: 'uir-record-status',
text: 'Custom Status',
})
);
});
In this script, you can add logic to change status values dynamically based on some conditions (value in a hidden field, for instance).
Alternatively, you can use a User Event script with a beforeLoad handler that leverages the addPageInitMessage() method on the Form. This is considered the "official" way to add those banner messages.
However, please note that the native Status fields are not able to be modified. You could create your own "Status" field and display that in a custom field. If you want to display a custom status in the search results, you might need to use a summary search that looks at the applying transactions and have that search setting the field's value.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
04/14/2025, 7:04 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.829830706
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.827206194
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.824200869
Celigo AI
04/14/2025, 7:04 PMAly
04/16/2025, 9:10 AM