Skip to main content
Solved

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

  • December 5, 2023
  • 4 replies
  • 57 views

Forum|alt.badge.img

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.

 

 

 

Best answer by Chris Kuip

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.

4 replies

Chris Kuip
AIMMSian
Forum|alt.badge.img+7
  • AIMMSian
  • 125 replies
  • Answer
  • December 5, 2023

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.


Forum|alt.badge.img
  • Author
  • Enthusiast
  • 2 replies
  • December 5, 2023

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)?


Chris Kuip
AIMMSian
Forum|alt.badge.img+7
  • AIMMSian
  • 125 replies
  • December 5, 2023

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.


Forum|alt.badge.img
  • Author
  • Enthusiast
  • 2 replies
  • December 5, 2023

Thank you Chris for the clarification.

Best regards,

Vicky Rathee



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

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