Skip to main content
11-Garnet
March 20, 2025
Question

how to read file from browser file type from ui

  • March 20, 2025
  • 2 replies
  • 656 views

I have given file browse option in wizard page and i want to get this file in java code. But i am unable get this file in request. Is there way to get that file. 

SB_10904295_0-1742461647900.png

 

2 replies

Catalina
Community Moderator
March 20, 2025

Hi @SB_10904295 

 

Thank you for your question! 

 

I’d like to recommend to bring more details and context to your initial inquiry. For example:

  • Can you describe the current implementation of your file browse option in the wizard page? How is the file input element set up in your HTML or JSP?
  • Are you encountering any specific error messages or issues when trying to retrieve the file in your Java code?

Please add screenshot(s) to better understand what you are trying to do in your process. 

 

Please refer to this guideline to make your questions more likely to receive a quick and useful answer. 

This will increase your chances to receive meaningful help from other Community members. 

 

Thank you for your participation and please let me know if you need further assistance! 

 

Best regards,

Catalina | PTC Community Moderator
11-Garnet
March 20, 2025

this is how my jsp page for file browse looks like

SB_10904295_0-1742464693190.png

 

Catalina
Community Moderator
March 26, 2025

Hi @SB_10904295 

Thank you for your question. 

Your post appears well documented but has not yet received any response. I am replying to raise awareness. Hopefully, another community member will be able to help.

Also, feel free to add any additional information you think might be relevant.

 

Best regards,

Catalina | PTC Community Moderator
joe_morton
18-Opal
18-Opal
March 27, 2025

If you use a business object like a Document, you can upload Primary Content as well as additional Attachments. There is API to work with those once they are uploaded.