hello, i want to add a checkbox on a factbox, but it is always showing a yes/no values . I want to show the checkbox as it is so that I can check or uncheck it from the factbox.
any suggestions ?
I think you are trying to use a factbox for something that was not designed to do.
If you go on the MSDN side it says
A FactBox displays additional information to the user in a pane located on the right of the main page display area.
This means that factbox only shows information, it was not designed to be used to insert or edit/change.
The option to hide/remove a Factbox is available by default, on every factbox.
On top of it you can use customisation so that every user can select if he/she wants to see it or not.
In other words if you want to edit something please create a subpage or similar do not use a factbox
As a matter of fact you can enhance the factbox by creating a ControlAddIn that will provide this functionality.
You can create a dll in Visual studio that you can use as ControlAddIn (See properties on a page in NAV), that will allow you this.
In the DLL you will have to connect to the database and process the checkbox changes but this should not be too difficult.
Also on the positive side this would be an addin that you can reuse or share.
Answers
I think you are trying to use a factbox for something that was not designed to do.
If you go on the MSDN side it says
This means that factbox only shows information, it was not designed to be used to insert or edit/change.
The option to hide/remove a Factbox is available by default, on every factbox.
On top of it you can use customisation so that every user can select if he/she wants to see it or not.
In other words if you want to edit something please create a subpage or similar do not use a factbox
I hope this helps.
As a matter of fact you can enhance the factbox by creating a ControlAddIn that will provide this functionality.
You can create a dll in Visual studio that you can use as ControlAddIn (See properties on a page in NAV), that will allow you this.
In the DLL you will have to connect to the database and process the checkbox changes but this should not be too difficult.
Also on the positive side this would be an addin that you can reuse or share.
I hope this helps.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!