we are using Service portal for Service Manaer, we want to add new field while user submitting the reqeust (Catalog)
I want to add affected service field with device table link but I am unable to acheive this from user option, even custumize Service portal from service manager option is valid only after submitting the request.
like SMAX, is there is a global form on which we can add/remove fields on new request.
I was unable to find the form name which matched the submit request.
Do you want to make the service available for the user to select? Isn't adding the service in the catalog item enough?
There is a way to update the fields shown on the Portal forms but you will have to change some files for that. Take a look at the restfull services used by the Portal.
Some of these services start with "gw" like this "gwInteraction", the service has the custom action "SM GateWay Service Catalog - Dispatcher" that uses a JacaScript to handle the so-called Restfull of the portal. Basically all calls go through this script "GatewayAPI_Dispatcher.doAction" to decide what to do.
Some of the scripts define which fields will be shown so even if you add the field to the forms within the Service Manager the fields will not appear in the Portal until they are added to the script.
You will find in the script some parts that define which fields appear in the form as shown below:
var fields = ['severity', 'open.time', 'opened.by'
, 'opened.by.uid','affected.item', 'open', 'callback.type'
, 'category', 'priority.code', 'subcategory', 'product.type', 'resolution.code', 'callback.contact'
, 'needed.by.time', 'approval.status', 'cartId'
, 'owner.name', 'callback.type','svc.cost',
Now if you want to add a field in the user options, just follow what was posted by @Matilda