how can i assign value ($entity/name) to a lable and same in text widget?

1
Hi Everyone, i am bit new to mendix and wanted to check if i can assign values to a lable instead of just constant string also i wanted to try out assign value to text widget to (just to achieve dynamic values) like in Single Case page i could put a headline ( Case Details for : + $entity/caseid)  and it could rendered like “Case Details for 123” in heading. right now i can only use text boxes to assign such values.   any pointer regarding this ?   
asked
2 answers
1

Yes you can give parameters to the text widget. See details in the documentation here: https://docs.mendix.com/refguide/text#parameters

For label, see this https://docs.mendix.com/refguide/common-widget-properties#label

Its same in both cases and pretty simple. Just write your text with placeholders for values e.g.,
This is first value: {1}, this is second value: {2}
You can specify attributes for the {1} and {2} placeholders so when you open the page you will see these placeholders in text being replaced by dynamic values from the attributes of entity

answered
1

as per Umar and me too. Hope this screenshot will make your work easy. 

answered