Custom New Request Form from the AM Console
If you wish to use a custom SD form when using the New request command above the bulk selection of objects in the AM Console, use the following settings.
- Create a custom form according to the procedure in the SD book.
- Use a custom model to implement a custom form.
- The form must support HTTP POST page display with the [RequireMode ("objects")] attribute.
- Expect the list of selected objects in the POST Data in the Objects parameter which contains the comma-separated IDs of all selected objects in the AM Console.
Example: Objects=54,134,1987,658
- Set the path to the custom form by running a SQL query over your ALVAO database:
exec dbo.spUpdateInsertProperty 'AM.NewTicketFromObjects.CustomFormUrl', '~/Custom/<functionality name>/<form name without the .cshtml suffix>', NULL, NULL, NULL Set the path to the custom form correctly in the query.
Disabling the use of a custom form
To disable the use of a custom form, run a SQL query over your ALVAO database: delete tProperty where sProperty = 'AM.NewTicketFromObjects.CustomFormUrl'
Did not find what you were looking for? Ask our technical support team.
|