Solved

why the webui cannot access the identifiers and procedures from the model except for the webui procedyres?

  • 5 December 2023
  • 4 replies
  • 34 views

Badge

I have created a basic model to read and write excel files. I have created procedure to do that in my model. But when I am creating the download widget in the webui, I cannot access the procedure to download the excel file. And for the matter, I cannot access any of the identifiers as well in any other widget.

 

 

 

icon

Best answer by Chris Kuip 5 December 2023, 09:58

View original

4 replies

Userlevel 5
Badge +7

Hi Vicky,

 

The arguments of the procedure need to be named FileLocation, statusCode, and statusDescription, whereby

  • fileLocation is a string parameter with property Output,
  • statusCode is a numeric parameter with property output, 
  • statusDescription is a string parameter with property output.

Hope this helps.

With kind regards,

 

Chris.

Badge

Hi Chris,

Thanks for the prompt reply.

Can’t we give any other names to these identifiers? Or does it have to be strictly (FileLocation, statusCode, and statusDescription)?

Userlevel 5
Badge +7

Hi Vicky,

 

The argument names for the procedures used with both the upload and the download widget have indeed to be strictly FileLocation, statusCode, and statusDescription.

 

With kind regards,

 

Chris.

Badge

Thank you Chris for the clarification.

Best regards,

Vicky Rathee

Reply


Didn't find what you were looking for? Try searching on our documentation pages:

AIMMS Developer & PRO | AIMMS How-To | AIMMS SC Navigator