Posted: 7 Mar 2018 19:24 EST Last activity: 8 Mar 2018 11:39 EST
Browse and read the file
I am trying to implement below requirement.
When an activity is run manually. it displays a the simple harness where user browse the file and click submit button. on click of submit button, i should read the file that user browsed and parse that xml file.
I am trying to use File path control and on click of the submit button i am calling an activity to read the file from pyFileUpload property on pxRequestor.
But nothing gets set in the pyFileUpload property.
Please advise on how to achieve this requirement. This is not part of any work object flow. User runs the activity that displays harness. user will browse and hot the submit button.
***Updated by moderator: Lochan to update Categories***
It is not Excel file. it is xml file where user runs the activity and activity displays the harness, user will browse the xml file and hit submit. on submit i need to call activity in which it should parse the given xml . I have hard time in finding the uploaded file path in pyFileUpload.
Detailed explanation link you have shared, that is part of work object. But i am trying to achieve that out of work object context.