Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Custom portal Attachment variable values

Rajkumar Bommal
Tera Contributor

Hi This is Rajkumar

am trying to build an application for that i have create a custom portal that user can access and raise a request from the record producer, when adding an attachment in attachment field its not getting saved into that variable and displaying empty.
Please go through the images

RajkumarBommal_1-1756890287001.png

 

RajkumarBommal_0-1756890170268.png

 

 

RajkumarBommal_2-1756890320028.png

 

 

1 REPLY 1

M Iftikhar
Tera Sage

Hi @Rajkumar Bommal ,
Could you share the variable configurations of your catalog item? By the way, ServiceNow already provides an attachment option on record producer out-of-the-box. Instead of trying to bind it directly to a variable, I’d recommend using that OOTB attachment option, marking it as mandatory, and adding a validation to prompt users if they try to submit without uploading a file.

 

Thanks & Regards,
Muhammad Iftikhar
If my response helped, please mark it as the accepted solution so others can benefit as well.

Thanks & Regards,
Muhammad Iftikhar

If my response helped, please mark it as the accepted solution so others can benefit as well.