Hello to everyone
I have some issues with form and form control methods in Finance and Operations (Dynamics 365).
The first one is that when I open the form(DocuView is the form with the attachments) the customer asked to automatically create a new record and the cursor to go directly to Notes field to write without pressing any clicks or buttons.
So I created an extension, I create the record, the record also is on edit mode but the cursor doen't move from the fisrt (DocuRef_Name) field.
I tried many things like:
in init method after next call:
1) myField.setFocus();
2) this.design().controlname(formControlStr(DocuView, MyField)).setFocus();
3) DocuRef_Name.skip(); (just to skip the field) It woks but the cursor doesnt move to the field that I want. It just dissapear (like pressing tab key)
in firstFIeld method also I tried :
1) myField.setFocus();
2) element.design().controlname(formControlStr(DocuView, MyField)).setFocus();
in OnActivated event handler also the same
in Active method of the Datasource also.
NOTHING IS HAPPENING !!
The second issue is the toolTip and mouseEnter methods in a control
I am trying, when you hover your mouse over a form contol which is a checkbox display method
to have a text as the customer asked.
both of them(toolTip and mouseEnter) never start(I tried on the debuger)
If you know anything for each of these issues I will appriciate them a lot.
Thank you an dbest regards.