Label/text only on form
Can we add a label or text field on a form? For instance, we have a UDF on the BPMD form that contains another BP's customer code. We want to create a text field that shows that BP's customer name as a text field and not editable. Is this possible?
you have to create another UDF with the BPs Name and fill it via a optimizer rule (Trigger: BP Code UDF - Event: Value Changed)
What would the code for that look like?
Write the code to a variable, get the Name via LayoutHelper.LD.Querydata("your SQL Query") and write that back to the item.
But thats Basic Optimizer coding.