Welcome to the #dominoforever Product Ideas Forum! The place where you can submit product ideas and enhancement request. We encourage you to participate by voting on, commenting on, and creating new ideas. All new ideas will be evaluated by HCL Product Management & Engineering teams, and the next steps will be communicated. While not all submitted ideas will be executed upon, community feedback will play a key role in influencing which ideas are and when they will be implemented.
For more information and upcoming events around #dominoforever, please visit our Destination Domino Page
In some cases, it would be helpfull to be able to evaluate a Notes @-formula against an existing Document and get the value of the formula back. i would love to able to use this functionality in domino-db like so:
const back_from_eval = await document.evaluate('@If(ContentDataType = \'DP\';\'Detailseite\';ContentDataType != \'KP\';ContentDataType;PageTitle)');
The idea is to use this feature e.g. to"simulate" the calculation of a view column with a given Document in a collection by mapping through the document collection and generating values that are not stored in fields..
Actually, it can use an arbitrary form: https://doc.cwpcollaboration.com/appdevpack/docs/en/domino-db-advanced.html#compute-with-form
So you can do what you want today, just make a form with all your formulas in it :)
Attachments Open full size
You can compute with form on a document read. It uses the form listed on the document but that should evaluate fields that are for display. If this is not working for you, can you please raise a support ticket?
Attachments Open full size
I think tgere is lots of classes that needs to be added to this not only evaluate to make this an alternative devpath.
Attachments Open full size