Hello everyone, i hope somebody help me… i have an own form, lets name it WOFom, when this form is called from other form named “ReqItems”, WOForm is setting an automatic tittle (i think that is related with the datasource), i can’t found a way to change this “automatic title”… this is not the “caption” property from the form design, because, when i set a “Caption”, the caption i set is there, but added (at left) to the “automatic title”… any idea? thanks everyone 
Can you please give us a concrete example of what you mean by “automatic title”?
Are you perhaps talking about the title fields?
Check the table you are using as a datasource. In the properties, look for ‘TitleField1’ and ‘TitleField2’. Each refers to one field in the table and provides part of the “automatic title” you are seeing. Usually this would be an Id and a name for the record you are editing or something similar.
What you are showing looks like a dialog. Is it a form or did you built a dialog ?
Yes, you are right. It is a dialog.
And using the following code:
dialog.caption(“Test caption”);
just changes the caption of the dialog, but not the title of the whole form.
How did you build this dialog?
The dialog is built dynamically in X++.
I just created a class which extends RunBaseBatch. Then an instance of Dialog is created and all necessary fields and lookups are added on this dialog.
You need to set the caption on form design.
Something like this, dialog.formRun().design().caption(‘What ever’);
You can have this code in dialogPostRun method.
Cool! It works.
Kranthi, thank you so much.
If so please mark it as resolved (by using This helped me)
